Skip to content

Commit e59b6e3

Browse files
committed
init
0 parents  commit e59b6e3

File tree

142 files changed

+23641
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+23641
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.svn/
2+
build/
3+
dist/
4+
support/
5+
.settings/
6+
.project
7+
.classpath
8+
*~

build.xml

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project basedir="." default="bindist" name="iox-ili">
3+
4+
<!-- set global properties for this build -->
5+
<property name="src" value="${basedir}/src/main/java"/>
6+
<property name="build" value="${basedir}/build"/>
7+
<property name="dist" value="${basedir}/dist"/>
8+
9+
<target name="init">
10+
<!-- Create the time stamp -->
11+
<tstamp/>
12+
<property name="projectjar" value="${build}/jar/${ant.project.name}.jar"/>
13+
<property name="versionfile" value="${src}/ch/interlis/iox_j/Version.properties"/>
14+
<!-- Create the build directory structure used by compile -->
15+
<mkdir dir="${build}"/>
16+
<mkdir dir="${build}/jar"/>
17+
<mkdir dir="${build}/javadoc"/>
18+
<mkdir dir="${dist}"/>
19+
</target>
20+
21+
<target depends="init" name="compile">
22+
<!-- Compile the java code from ${src} into ${build}/classes -->
23+
<mkdir dir="${build}/classes"/>
24+
<javac destdir="${build}/classes" includes="**/*.java" excludes="**/bak~/*.java" debug="true" source="1.6" target="1.6">
25+
<classpath>
26+
<pathelement location="lib/ili2c.jar"/>
27+
<pathelement location="lib/jts-1.13.jar"/>
28+
<pathelement location="lib/jdbm-2.4.jar"/>
29+
<pathelement location="lib/iox-api.jar"/>
30+
<!-- pathelement location="lib/stax-api-1.0.jar"/>
31+
<pathelement location="lib/wstx-asl-3.2.8.jar"/ -->
32+
</classpath>
33+
<src path="${src}" />
34+
<src path="${basedir}/src/main/gen-java" />
35+
<src path="${basedir}/jtsext/src/main/java" />
36+
<!-- <src path="${build}/src"/> -->
37+
</javac>
38+
</target>
39+
40+
41+
<target depends="init" name="javadocs">
42+
<mkdir dir="${build}/javadoc"/>
43+
<javadoc Public="true" Windowtitle="${ant.project.name}" destdir="${build}/javadoc" packagenames="ch.interlis.*">
44+
<classpath>
45+
<pathelement location="lib/ili2c.jar"/>
46+
<pathelement location="lib/jts-1.13.jar"/>
47+
<pathelement location="lib/jdbm-2.4.jar"/>
48+
<!-- pathelement location="lib/stax-api-1.0.jar"/>
49+
<pathelement location="lib/wstx-asl-3.2.8.jar"/-->
50+
</classpath>
51+
<sourcepath path="${src}"/>
52+
<sourcepath path="${basedir}/src/main/gen-java" />
53+
<sourcepath path="${basedir}/jtsext/src/main/java" />
54+
<sourcepath path="../../iox-api/trunk/src"/>
55+
</javadoc>
56+
</target>
57+
58+
<target depends="init,compile" name="jar">
59+
<propertyfile file="${versionfile}">
60+
<entry key="versionDate" type="date" value="now" pattern="yyyyMMdd"/>
61+
</propertyfile>
62+
63+
<delete file="${projectjar}" quiet="true"/>
64+
65+
<jar jarfile="${projectjar}" manifest="${basedir}/src/main/config/manifest">
66+
<fileset dir="${build}/classes" excludes="**/Test.class" includes="**/*.class"/>
67+
<fileset dir="${src}" includes="**/*.properties"/>
68+
<fileset dir="${src}" includes="**/*.gif"/>
69+
<!-- zipfileset src="lib/stax-api-1.0.jar"/>
70+
<zipfileset src="lib/wstx-asl-3.2.8.jar"/ -->
71+
</jar>
72+
</target>
73+
74+
75+
<target depends="init" name="buildnr">
76+
<property file="${versionfile}" prefix="buildnr."/>
77+
<property name="buildnr" value="${buildnr.versionMajor}.${buildnr.versionMinor}.${buildnr.versionMicro}"/>
78+
<!-- <property name="buildnr" value="${DSTAMP}"/> -->
79+
</target>
80+
81+
<target depends="init,buildnr" name="bindist">
82+
<delete file="${dist}/${ant.project.name}-${buildnr}.zip" quiet="true"/>
83+
<zip zipfile="${dist}/${ant.project.name}-${buildnr}.zip">
84+
<zipfileset dir="." includes="build/jar/${ant.project.name}.jar" fullpath="${ant.project.name}-${buildnr}/${ant.project.name}.jar"/>
85+
<zipfileset dir="." prefix="${ant.project.name}-${buildnr}">
86+
<patternset includes="doc/CHANGES.txt"/>
87+
<patternset includes="doc/README.txt"/>
88+
<patternset includes="lib/ili2c.jar"/>
89+
<patternset includes="lib/jts-1.13.jar"/>
90+
<patternset includes="lib/jdbm-2.4.jar"/>
91+
<patternset includes="lib/iox-api.jar"/>
92+
</zipfileset>
93+
<zipfileset dir="build/javadoc" prefix="${ant.project.name}-${buildnr}/doc/api">
94+
<patternset includes="**/*"/>
95+
</zipfileset>
96+
<zipfileset dir="doc" prefix="${ant.project.name}-${buildnr}">
97+
<patternset includes="LICENSE.*"/>
98+
</zipfileset>
99+
</zip>
100+
</target>
101+
102+
<target depends="init,buildnr" name="srcdist">
103+
<delete file="${dist}/${ant.project.name}-${buildnr}.src.zip" quiet="true"/>
104+
<zip zipfile="${dist}/${ant.project.name}-${buildnr}.src.zip">
105+
<zipfileset dir="." prefix="${ant.project.name}-${buildnr}">
106+
<patternset includes="src/**" excludes="**/CVS/*;**/bak~/*"/>
107+
<patternset includes="${basedir}/jtsext/src/**"/>
108+
<patternset includes="build.xml"/>
109+
<patternset includes="lib/**"/>
110+
<patternset includes="doc/**"/>
111+
<patternset includes="model/**"/>
112+
</zipfileset>
113+
</zip>
114+
</target>
115+
116+
<target name="clean">
117+
<delete dir="${build}"/>
118+
</target>
119+
120+
<target depends="init,jar" name="geovalid">
121+
<propertyfile file="${src}/ch/ehi/geovalid/Version.properties">
122+
<entry key="versionDate" type="date" value="now" pattern="yyyyMMdd"/>
123+
</propertyfile>
124+
<property file="${src}/ch/ehi/geovalid/Version.properties" prefix="buildnr."/>
125+
<property name="buildnr" value="${buildnr.versionMajor}.${buildnr.versionMinor}.${buildnr.versionMicro}"/>
126+
127+
<delete file="${build}/jar/geovalid.jar" quiet="true"/>
128+
129+
<jar jarfile="${build}/jar/geovalid.jar">
130+
<manifest>
131+
<attribute name="Main-Class"
132+
value="ch.ehi.geovalid.GeovalidTool"/>
133+
</manifest>
134+
<zipfileset src="lib/iox-api.jar"/>
135+
<zipfileset src="lib/ili2c.jar"/>
136+
<zipfileset src="lib/jts-1.13.jar"/>
137+
<zipfileset src="lib/jdbm-2.4.jar"/>
138+
<zipfileset src="${projectjar}"/>
139+
</jar>
140+
<delete file="${dist}/geovalid-${buildnr}.zip" quiet="true"/>
141+
<zip zipfile="${dist}/geovalid-${buildnr}.zip">
142+
<zipfileset dir="." includes="build/jar/geovalid.jar" fullpath="geovalid.jar"/>
143+
</zip>
144+
</target>
145+
146+
</project>

doc/CHANGES.txt

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
ideas/open issues
2+
----------------------------
3+
- add xml validation
4+
- add checker
5+
6+
iox-ili 1.10.6 (2015-09-04)
7+
-----------------------------
8+
- ItfReader2: fixed eye handling in Arc/Arc overlap remover
9+
10+
iox-ili 1.10.5 (2015-08-14)
11+
-----------------------------
12+
- ItfReader2: Arc/Arc overlap remover added
13+
14+
iox-ili 1.10.4 (2015-06-15)
15+
-----------------------------
16+
- ItfReader2: Arc/Straight overlap remover added
17+
18+
iox-ili 1.10.3 (2015-06-15)
19+
-----------------------------
20+
- ItfWriter2 added
21+
- use CompoundCurveNoder to detect intersections
22+
23+
iox-ili 1.10.2 (2015-06-03)
24+
-----------------------------
25+
- improved repository access logging
26+
- fixed NullPointerException if wrong/missing schemaLanguage in ilimodels.xml
27+
28+
iox-ili 1.10.0 (2014-12-30)
29+
-----------------------------
30+
- added XTF24 BETA
31+
- removed XRF
32+
- fixed leading zero error in calc of MD5
33+
- read also modelnames from XTF header
34+
35+
iox-ili 1.9.0 (2013-11-29)
36+
-----------------------------
37+
- XtfWriter: don't trim attribute values
38+
39+
iox-ili 1.8.0 (2013-04-12)
40+
-----------------------------
41+
- added XRF BETA
42+
43+
iox-ili 1.7.1 (2012-11-20)
44+
-----------------------------
45+
- bug: ItfReader failed to read polyline
46+
47+
iox-ili 1.7.0 (2012-11-15)
48+
-----------------------------
49+
- ItfWriter: improved error msg in case of trying to write non numeric values as a numbers
50+
- added generics
51+
- added annotations Deprecated, Override
52+
- API changes include minor incompatibilities
53+
54+
iox-ili 1.6.9 (2012-10-26)
55+
-----------------------------
56+
- iox-api 1.0.2 (2012-10-26)
57+
58+
iox-ili 1.6.8 (2012-08-31)
59+
-----------------------------
60+
- bug: XtfReader failed to skip element content of OIDType
61+
62+
iox-ili 1.6.7 (2012-07-23)
63+
-----------------------------
64+
- bug: XtfWriter failed to write OIDType with XML-attribute
65+
66+
iox-ili 1.6.6 (2012-06-28)
67+
-----------------------------
68+
- bug: ItfWriter didn't round numeric values
69+
- added DbUtility.getInt(), DbUtility.getDouble()
70+
71+
iox-ili 1.6.5 (2012-06-06)
72+
-----------------------------
73+
- bug: write OIDSPACES
74+
75+
iox-ili 1.6.4 (2012-05-01)
76+
-----------------------------
77+
- bug: tries to find model INTERLIS
78+
79+
iox-ili 1.6.3 (2012-02-20)
80+
-----------------------------
81+
- MakeIliModelsXml: java.lang.NullPointerException if no existing ilimodels.xml
82+
83+
iox-ili 1.6.2 (2011-12-22)
84+
-----------------------------
85+
- added resolver to customize repository access
86+
- ili2c-4.4.2
87+
88+
iox-ili 1.6.1 (2011-09-05)
89+
-----------------------------
90+
- skip empty dependencies in ilimodels.xml
91+
- new MakeIliModelsXml that can update existing file and reads meta attributes (precursorVersion, tags, furtherInformation, furtherMetadata, Original, IDGeoIV, technicalContact)
92+
93+
iox-ili 1.6.0 (2011-08-19)
94+
-----------------------------
95+
- switched from wstx to jre StaX
96+
97+
iox-ili 1.5.5 (2011-04-14)
98+
-----------------------------
99+
- added XtfStartTransferEvent to better support XTF header
100+
- bug: Attribute URI missing in OIDSPACE
101+
102+
iox-ili 1.5.4 (2011-01-26)
103+
-----------------------------
104+
- ili2c-4.3.4
105+
- java.lang.NoSuchMethodError: ch.interlis.ili2c.metamodel.Constant$Numeric.getValue()D
106+
- add java.io.Serializable to Iom_jObject
107+
108+
iox-ili 1.5.3 (2010-12-02)
109+
-----------------------------
110+
- bug itf reader: skip space after 'CONT'
111+
112+
iox-ili 1.5.2 (2010-11-16)
113+
-----------------------------
114+
- itf reader: skip/ignore missing 3rd value of a coord
115+
- renamed iox.jar to iox-ili.jar
116+
117+
iox-ili 1.5.0 (2009-12-03)
118+
-----------------------------
119+
- initial public version

doc/LICENSE.mitx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2006 Eisenhut Informatik AG
2+
Permission is hereby granted, free of charge, to any person obtaining a
3+
copy of this software and associated documentation files (the "Software"),
4+
to deal in the Software without restriction, including without limitation
5+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
6+
and/or sell copies of the Software, and to permit persons to whom the
7+
Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included
10+
in all copies or substantial portions of the Software.
11+
12+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
13+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18+
DEALINGS IN THE SOFTWARE.
19+

doc/README.src.txt

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
iox-ili - implementation of iox API
2+
3+
Features
4+
- INTERLIS 2 reader/writer (2.2+2.3)
5+
- INTERLIS 1 reader/writer
6+
- ILIGML writer
7+
- model repository manager
8+
9+
Status
10+
Development
11+
12+
How to use it?
13+
- see javadocs
14+
15+
License
16+
iox-ili is licensed under the MIT/X License.
17+
18+
Latest Version
19+
The current version of iox-ili can be found at
20+
http://www.eisenhutinformatik.ch/iox-ili/
21+
22+
System Configuration
23+
In order to compile iox-ili, a JAVA software development kit (JDK) version 1.6.0 or a more recent version must be installed on your system.
24+
A free version of the JAVA software development kit (JDK) is available at the website http://java.sun.com/j2se/.
25+
Also required is the build tool ant. Download it from http://ant.apache.org and install it as documented there.
26+
27+
How to compile it?
28+
To compile the iox-ili, change to the newly created directory and enter the following command at the commandline prompt
29+
30+
ant jar
31+
32+
To build a binary distribution, use
33+
34+
ant bindist
35+
36+
Dependencies
37+
- ili2c
38+
- iox-api
39+
- JTS
40+
41+
Comments/Suggestions
42+
Please send comments to [email protected]
43+

doc/README.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
iox-ili - implementation of iox API
2+
3+
Features
4+
- INTERLIS 2 reader/writer (2.2+2.3)
5+
- INTERLIS 1 reader/writer
6+
- ILIGML writer
7+
- model repository manager
8+
9+
Status
10+
Development
11+
12+
How to use it?
13+
See doc/api/
14+
15+
License
16+
iox-api is licensed under the MIT/X License.
17+
18+
Latest Version
19+
The current version of iox-ili can be found at
20+
http://www.eisenhutinformatik.ch/iox-ili/
21+
22+
System Configuration
23+
In order to use iox-ili, a JAVA software development kit (JDK) version 1.6.0 or a more recent version must be installed on your system.
24+
A free version of the JAVA software development kit (JDK) is available at the website http://java.sun.com/j2se/.
25+
26+
Dependencies
27+
- ili2c
28+
- iox-api
29+
- JTS
30+
31+
Comments/Suggestions
32+
Please send comments to [email protected]
33+

0 commit comments

Comments
 (0)