Revision 37460

View differences:

tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<groupId>org.gvsig</groupId>
9
	<artifactId>org.gvsig.fmap.dal.file</artifactId>
10
	<packaging>jar</packaging>
11
	<version>2.0-SNAPSHOT</version>
12
	<name>libFMap_dalfile</name>
13
	<url>http://gvsig.org</url>
14
	<parent>
15
		<groupId>org.gvsig</groupId>
16
		<artifactId>gvsig-base-library-pom</artifactId>
17
		<version>2.0-SNAPSHOT</version>
18
	</parent>	
19
	<distributionManagement>
20
		<site>
21
			<id>gvsig-repository</id>
22
			<url>${site-repository}/</url>
23
		</site>
24
	</distributionManagement>
25

  
26
	<properties>
27
		<!-- dbf -->
28
		<dbf-jarIncludes>org/gvsig/fmap/dal/store/dbf/**/**</dbf-jarIncludes>
29
		<dbf-jarExcludes>NONE</dbf-jarExcludes>
30

  
31
		<!-- dgn -->
32
		<dgn-jarIncludes>org/gvsig/fmap/dal/store/dgn/**/**</dgn-jarIncludes>
33
		<dgn-legend-jarIncludes>org/gvsig/fmap/dal/store/dgn/legend/**/**</dgn-legend-jarIncludes>
34
		<dgn-jarExcludes>${dgn-legend-jarIncludes}</dgn-jarExcludes>
35
		<dgn-legend-jarExcludes>NONE</dgn-legend-jarExcludes>
36

  
37
		<!-- dxf -->
38
		<dxf-jarIncludes>org/gvsig/fmap/dal/store/dxf/**/**</dxf-jarIncludes>
39
		<dxf-legend-jarIncludes>org/gvsig/fmap/dal/store/dxf/legend/**/**</dxf-legend-jarIncludes>
40
		<dxf-jarExcludes>${dxf-legend-jarIncludes}</dxf-jarExcludes>
41
		<dxf-legend-jarExcludes>NONE</dxf-legend-jarExcludes>
42

  
43
		<!-- shp -->
44
		<shp-jarIncludes>org/gvsig/fmap/dal/store/shp/**/**</shp-jarIncludes>
45
		<shp-jarExcludes>NONE</shp-jarExcludes>
46

  
47
		<!-- Common -->
48
		<common-jarIncludes>**/**</common-jarIncludes>
49
		<build-dir>${basedir}/../build</build-dir>
50
        <eclipse.project.name>libFMap_dalfile</eclipse.project.name>
51
	</properties>
52

  
53
	<dependencies>
54
		<dependency>
55
			<groupId>org.gvsig</groupId>
56
			<artifactId>org.gvsig.tools.lib</artifactId>
57
            <scope>compile</scope>
58
		</dependency>
59
		<dependency>
60
			<groupId>org.gvsig</groupId>
61
			<artifactId>org.gvsig.projection</artifactId>
62
            <scope>compile</scope>
63
		</dependency>
64
		<dependency>
65
			<groupId>org.gvsig</groupId>
66
			<artifactId>org.gvsig.fmap.dal</artifactId>
67
            <scope>compile</scope>
68
		</dependency>
69
		<dependency>
70
			<groupId>org.gvsig</groupId>
71
			<artifactId>org.gvsig.fmap.dal</artifactId>
72
			<classifier>spi</classifier>
73
            <scope>compile</scope>
74
		</dependency>
75
        <dependency>
76
            <groupId>org.gvsig</groupId>
77
            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
78
        </dependency>
79
		<dependency>
80
			<groupId>org.gvsig</groupId>
81
			<artifactId>org.gvsig.dxf</artifactId>
82
            <scope>compile</scope>
83
		</dependency>
84
		<dependency>
85
			<groupId>org.gvsig</groupId>
86
			<artifactId>org.gvsig.fmap.mapcontext</artifactId>
87
            <scope>compile</scope>
88
		</dependency>
89
		<dependency>
90
			<groupId>org.gvsig</groupId>
91
			<artifactId>org.gvsig.symbology.lib.api</artifactId>
92
            <scope>compile</scope>
93
		</dependency>		
94
		<dependency>
95
			<groupId>org.gvsig</groupId>
96
			<artifactId>org.gvsig.tools.evaluator.sqljep</artifactId>
97
            <scope>compile</scope>
98
		</dependency>
99
        <dependency>
100
            <groupId>org.gvsig</groupId>
101
            <artifactId>org.gvsig.fmap.geometry</artifactId>
102
            <scope>compile</scope>
103
        </dependency>        
104
        <dependency>
105
            <groupId>org.gvsig</groupId>
106
            <artifactId>org.gvsig.fmap.geometry</artifactId>
107
            <classifier>operation</classifier>
108
            <scope>compile</scope>
109
        </dependency>        
110
        <dependency>
111
            <groupId>org.gvsig</groupId>
112
            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
113
            <scope>compile</scope>
114
        </dependency>        
115
        <dependency>
116
            <groupId>org.slf4j</groupId>
117
            <artifactId>slf4j-api</artifactId>
118
            <scope>compile</scope>
119
        </dependency>	
120
        <dependency>
121
            <groupId>org.gvsig</groupId>
122
            <artifactId>org.gvsig.timesupport.lib.api</artifactId>
123
            <scope>compile</scope>
124
        </dependency>	
125
		<!-- TESTS -->
126
		<dependency>
127
			<groupId>org.gvsig</groupId>
128
			<artifactId>org.gvsig.tools.lib</artifactId>
129
			<type>test-jar</type>
130
		</dependency>
131
		<dependency>
132
			<groupId>org.gvsig</groupId>
133
			<artifactId>org.gvsig.compat</artifactId>
134
			<classifier>se</classifier>
135
			<scope>test</scope>
136
		</dependency>
137
		<dependency>
138
			<groupId>org.gvsig</groupId>
139
			<artifactId>org.gvsig.fmap.dal</artifactId>
140
			<classifier>impl</classifier>
141
		</dependency>
142
        <dependency>
143
            <groupId>org.gvsig</groupId>
144
            <artifactId>org.gvsig.utils</artifactId>
145
            <scope>compile</scope>
146
        </dependency>
147
		<dependency>
148
			<groupId>org.gvsig</groupId>
149
			<artifactId>org.gvsig.fmap.dal</artifactId>
150
			<classifier>tests</classifier>
151
			<scope>test</scope>
152
		</dependency>
153
		<dependency>
154
			<groupId>org.gvsig</groupId>
155
			<artifactId>org.gvsig.fmap.dal.index.spatial</artifactId>
156
			<classifier>jts</classifier>
157
			<scope>test</scope>
158
		</dependency>
159
		<dependency>
160
			<groupId>org.gvsig</groupId>
161
			<artifactId>org.gvsig.fmap.geometry</artifactId>
162
			<classifier>impl</classifier>
163
			<scope>test</scope>
164
		</dependency>
165
		<dependency>
166
			<groupId>org.gvsig</groupId>
167
			<artifactId>org.gvsig.fmap.mapcontext</artifactId>
168
			<classifier>operation</classifier>
169
			<scope>test</scope>
170
		</dependency>
171
		<dependency>
172
			<groupId>org.gvsig</groupId>
173
			<artifactId>org.gvsig.projection</artifactId>
174
			<classifier>cresques-impl</classifier>
175
			<scope>test</scope>
176
		</dependency>
177
		<dependency>
178
			<groupId>org.gvsig</groupId>
179
			<artifactId>org.gvsig.symbology.lib.impl</artifactId>
180
			<scope>test</scope>
181
		</dependency>
182
	</dependencies>
183
	<build>
184
		<sourceDirectory>src</sourceDirectory>
185
		<testSourceDirectory>src-test</testSourceDirectory>
186
		<testResources>
187
			<testResource>
188
				<directory>src-test</directory>
189
			</testResource>
190
            <testResource>
191
                <directory>resources-test</directory>
192
            </testResource>
193
		</testResources>
194
		<plugins>
195
			<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
196
			<plugin>
197
				<groupId>org.apache.maven.plugins</groupId>
198
				<artifactId>maven-surefire-plugin</artifactId>
199
				<configuration>
200
                    <excludes>
201
                        <exclude>**/*Test*</exclude>
202
                    </excludes>
203
                    <!-- <includes>
204
                        <include>**/Bug*Test.java</include>
205
                    </includes> -->
206
				</configuration>
207
			</plugin>		
208
		</plugins>
209
	</build>
210
	<profiles>
211
		<profile>
212
			<id>se</id>
213
			<activation>
214
				<activeByDefault>true</activeByDefault>
215
			</activation>
216
			<build>
217
				<plugins>
218
					<plugin>
219
						<groupId>org.apache.maven.plugins</groupId>
220
						<artifactId>maven-jar-plugin</artifactId>
221
						<configuration>
222
							<excludes>
223
								<exclude>${dbf-jarIncludes}</exclude>
224
								<exclude>${dgn-jarIncludes}</exclude>
225
								<exclude>${dxf-jarIncludes}</exclude>
226
								<exclude>${shp-jarIncludes}</exclude>
227
							</excludes>
228
						</configuration>
229
						<executions>
230
							<!--
231
								Generates a jar file only with the DAL file DBF Store classes
232
							-->
233
							<execution>
234
								<id>dbf</id>
235
								<phase>package</phase>
236
								<goals>
237
									<goal>jar</goal>
238
								</goals>
239
								<configuration>
240
									<classifier>store.dbf</classifier>
241
									<includes>
242
										<include>${dbf-jarIncludes}</include>
243
									</includes>
244
									<excludes>
245
										<exclude>${dbf-jarExcludes}</exclude>
246
									</excludes>
247
								</configuration>
248
							</execution>
249
							<!--
250
								Generates a jar file only with the DAL file DGN Store classes
251
							-->
252
							<execution>
253
								<id>dgn</id>
254
								<phase>package</phase>
255
								<goals>
256
									<goal>jar</goal>
257
								</goals>
258
								<configuration>
259
									<classifier>store.dgn</classifier>
260
									<includes>
261
										<include>${dgn-jarIncludes}</include>
262
									</includes>
263
									<excludes>
264
										<exclude>${dgn-jarExcludes}</exclude>
265
									</excludes>
266
								</configuration>
267
							</execution>
268
							<!--
269
								Generates a jar file only with the DAL file DGN Store legend classes
270
							-->
271
							<execution>
272
								<id>dgn.legend</id>
273
								<phase>package</phase>
274
								<goals>
275
									<goal>jar</goal>
276
								</goals>
277
								<configuration>
278
									<classifier>store.dgn.legend</classifier>
279
									<includes>
280
										<include>${dgn-legend-jarIncludes}</include>
281
									</includes>
282
									<excludes>
283
										<exclude>${dgn-legend-jarExcludes}</exclude>
284
									</excludes>
285
								</configuration>
286
							</execution>
287
							<!--
288
								Generates a jar file only with the DAL file DXF Store classes
289
							-->
290
							<execution>
291
								<id>dxf</id>
292
								<phase>package</phase>
293
								<goals>
294
									<goal>jar</goal>
295
								</goals>
296
								<configuration>
297
									<classifier>store.dxf</classifier>
298
									<includes>
299
										<include>${dxf-jarIncludes}</include>
300
									</includes>
301
									<excludes>
302
										<exclude>${dxf-jarExcludes}</exclude>
303
									</excludes>
304
								</configuration>
305
							</execution>
306
							<!--
307
								Generates a jar file only with the DAL file DXF Store legend classes
308
							-->
309
							<execution>
310
								<id>dxf.legend</id>
311
								<phase>package</phase>
312
								<goals>
313
									<goal>jar</goal>
314
								</goals>
315
								<configuration>
316
									<classifier>store.dxf.legend</classifier>
317
									<includes>
318
										<include>${dxf-legend-jarIncludes}</include>
319
									</includes>
320
									<excludes>
321
										<exclude>${dxf-legend-jarExcludes}</exclude>
322
									</excludes>
323
								</configuration>
324
							</execution>
325
							<!--
326
								Generates a jar file only with the DAL file SHP Store classes
327
							-->
328
							<execution>
329
								<id>shp</id>
330
								<phase>package</phase>
331
								<goals>
332
									<goal>jar</goal>
333
								</goals>
334
								<configuration>
335
									<classifier>store.shp</classifier>
336
									<includes>
337
										<include>${shp-jarIncludes}</include>
338
									</includes>
339
									<excludes>
340
										<exclude>${shp-jarExcludes}</exclude>
341
									</excludes>
342
								</configuration>
343
							</execution>
344
						</executions>
345
					</plugin>
346
					<plugin>
347
						<artifactId>maven-antrun-plugin</artifactId>
348
						<executions>
349
							<execution>
350
								<id>services</id>
351
								<phase>package</phase>
352
								<goals>
353
									<goal>run</goal>
354
								</goals>
355
								<configuration>
356
									<tasks>
357
										<jar destfile="${project.build.directory}/${project.build.finalName}.jar"
358
											update="true">
359
											<fileset dir="${basedir}/resources/api" />
360
										</jar>
361
										<jar destfile="${project.build.directory}/${project.build.finalName}-store.dbf.jar"
362
											update="true">
363
											<fileset dir="${basedir}/resources/dbf" />
364
										</jar>
365
										<jar destfile="${project.build.directory}/${project.build.finalName}-store.dgn.jar"
366
											update="true">
367
											<fileset dir="${basedir}/resources/dgn" />
368
										</jar>
369
										<jar destfile="${project.build.directory}/${project.build.finalName}-store.dgn.legend.jar"
370
											update="true">
371
											<fileset dir="${basedir}/resources/dgn.legend" />
372
										</jar>
373
										<jar destfile="${project.build.directory}/${project.build.finalName}-store.dxf.jar"
374
											update="true">
375
											<fileset dir="${basedir}/resources/dxf" />
376
										</jar>
377
										<jar destfile="${project.build.directory}/${project.build.finalName}-store.dxf.legend.jar"
378
											update="true">
379
											<fileset dir="${basedir}/resources/dxf.legend" />
380
										</jar>
381
										<jar destfile="${project.build.directory}/${project.build.finalName}-store.shp.jar"
382
											update="true">
383
											<fileset dir="${basedir}/resources/shp" />
384
										</jar>
385
									</tasks>
386
								</configuration>
387
							</execution>
388
						</executions>
389
					</plugin>
390
					<plugin>
391
						<groupId>org.apache.maven.plugins</groupId>
392
						<artifactId>maven-surefire-plugin</artifactId>
393
						<configuration>
394
							<additionalClasspathElements>
395
								<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement>
396
								<additionalClasspathElement>${basedir}/resources/dbf</additionalClasspathElement>
397
								<additionalClasspathElement>${basedir}/resources/dgn</additionalClasspathElement>
398
								<additionalClasspathElement>${basedir}/resources/dgn.legend</additionalClasspathElement>
399
								<additionalClasspathElement>${basedir}/resources/dxf</additionalClasspathElement>
400
								<additionalClasspathElement>${basedir}/resources/dxf.legend</additionalClasspathElement>
401
								<additionalClasspathElement>${basedir}/resources/shp</additionalClasspathElement>
402
							</additionalClasspathElements>
403
						</configuration>
404
					</plugin>
405
				</plugins>
406
			</build>
407
		</profile>
408
		<profile>
409
			<id>cdc</id>
410
			<activation>
411
				<activeByDefault>false</activeByDefault>
412
			</activation>
413
			<build>
414
				<plugins>
415
					<plugin>
416
						<groupId>org.apache.maven.plugins</groupId>
417
						<artifactId>maven-compiler-plugin</artifactId>
418
						<configuration>
419
							<excludes>
420
								<exclude>org/gvsig/fmap/dal/store/**</exclude>
421
							</excludes>
422
							<testExcludes>
423
								<exclude>org/gvsig/fmap/dal/store/**</exclude>
424
								<exclude>org/gvsig/fmap/dal/explorer/filesystem/FileSystemExplorerTest.java</exclude>
425
							</testExcludes>
426
						</configuration>
427
					</plugin>
428
					<plugin>
429
						<groupId>org.apache.maven.plugins</groupId>
430
						<artifactId>maven-jar-plugin</artifactId>
431
						<configuration>
432
							<excludes>
433
								<exclude>org/gvsig/fmap/dal/store/**</exclude>
434
							</excludes>
435
						</configuration>
436
					</plugin>
437
					<plugin>
438
						<artifactId>maven-antrun-plugin</artifactId>
439
						<executions>
440
							<execution>
441
								<id>services</id>
442
								<phase>package</phase>
443
								<goals>
444
									<goal>run</goal>
445
								</goals>
446
								<configuration>
447
									<tasks>
448
										<jar destfile="${project.build.directory}/${project.build.finalName}.jar"
449
											update="true">
450
											<fileset dir="${basedir}/resources/api" />
451
										</jar>
452
									</tasks>
453
								</configuration>
454
							</execution>
455
						</executions>
456
					</plugin>
457
					<plugin>
458
						<groupId>org.apache.maven.plugins</groupId>
459
						<artifactId>maven-surefire-plugin</artifactId>
460
						<configuration>
461
							<additionalClasspathElements>
462
								<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement>
463
							</additionalClasspathElements>
464
						</configuration>
465
					</plugin>
466
				</plugins>
467
			</build>
468
		</profile>
469
		<profile>
470
			<id>eclipse-project</id>
471
			<build>
472
				<defaultGoal>antrun:run</defaultGoal>
473
				<plugins>
474
					<plugin>
475
						<artifactId>maven-antrun-plugin</artifactId>
476
						<configuration>
477
							<tasks>
478
								<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml"
479
									target="eclipse.all"/>
480
							</tasks>
481
						</configuration>
482
					</plugin>
483
				</plugins>
484
			</build>				
485
		</profile>		
486
	</profiles>
487
	<reporting>
488
		<plugins>
489
			<plugin>
490
				<groupId>org.apache.maven.plugins</groupId>
491
				<artifactId>maven-javadoc-plugin</artifactId>
492
				<configuration>
493
					<doctitle>${project.name} ${project.version}</doctitle>
494
					<groups>
495
						<group>
496
							<title>DAL File common</title>
497
							<packages>org.gvsig.fmap.dal*</packages>
498
						</group>
499
						<group>
500
							<title>DBF Store</title>
501
							<packages>org.gvsig.fmap.dal.store.dbf*</packages>
502
						</group>
503
						<group>
504
							<title>DGN Store</title>
505
							<packages>org.gvsig.fmap.dal.store.dgn*</packages>
506
						</group>
507
						<group>
508
							<title>SHP Store</title>
509
							<packages>org.gvsig.fmap.dal.store.shp*</packages>
510
						</group>
511
						<group>
512
							<title>DXF Store</title>
513
							<packages>org.gvsig.fmap.dal.store.dxf*</packages>
514
						</group>
515
					</groups>
516
				</configuration>
517
			</plugin>
518
		</plugins>
519
	</reporting>
520
</project>
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dgn/org/gvsig/fmap/dal/store/dgn/DGNMetadata.xml
1
<?xml version="1.0"?>
2
<!--
3
Definitions of metadata fields of a shp file.  
4
 -->
5
<definitions>
6
  <version>1.0.0</version>
7
  <classes>
8
    
9
    <class name="DGN" namespace="Metadata">
10
      <extends>
11
      	<class namespace="Metadata" name="SpatialProvider"/>
12
      </extends>
13
      <description>Metadata of a DGN store</description>
14
      <fields>
15
      </fields>
16
    </class>
17

  
18
  </classes>
19
</definitions>  
0 20

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dgn/org/gvsig/fmap/dal/store/dgn/DGNParameters.xml
1
<?xml version= "1.0 "?>
2
<definitions>
3
  <version>1.0.0</version>
4
  <classes>
5
    <class name="DGNStoreParameters">
6
      <extends>
7
      	<class namespace="dal" name="ProviderParameters"/>
8
      </extends>
9
      <description>Store the parameters need to open a dgn file</description>
10
      <fields>
11
        <field name="file" type="file" mandatory="true">
12
          <description>dgn file</description>
13
        </field>
14
        <field name="CRS" type="crs" mandatory="true">
15
          <description>The coordinate reference system used in this dgn file</description>
16
        </field>
17
      </fields>
18
    </class>
19
  </classes>
20
</definitions>  
0 21

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dgn/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.store.dgn.DGNLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/api/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.DALFileLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/shp/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.store.shp.SHPLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/shp/org/gvsig/fmap/dal/store/shp/SHPMetadata.xml
1
<?xml version="1.0"?>
2
<!--
3
Definitions of metadata fields of a shp file.  
4
 -->
5
<definitions>
6
  <version>1.0.0</version>
7
  <classes>
8
    
9
    <class name="Shape" namespace="Metadata">
10
      <extends>
11
      	<class namespace="Metadata" name="dbf"/>
12
      	<class namespace="Metadata" name="SpatialProvider"/>
13
      </extends>
14
      <description>Metadata of a Shape store</description>
15
      <fields>
16
      </fields>
17
    </class>
18

  
19
  </classes>
20
</definitions>  
0 21

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/shp/org/gvsig/fmap/dal/store/shp/SHPParameters.xml
1
<?xml version= "1.0 "?>
2
<definitions>
3
	<version>1.0.0</version>
4
	<classes>
5
		<class name="SHPStoreParameters">
6
			<extends>
7
				<class namespace="dal" name="ProviderParameters" />
8
				<class name="DBFStoreParameters" />
9
			</extends>
10
			<description>Store the parameters need to open a shp file
11
			</description>
12
			<fields>
13
				<field name="dbfFile" type="file" mandatory="false">
14
					<description>dbf file</description>
15
				</field>
16
				<field name="shxFile" type="file" mandatory="false">
17
					<description>The shx file associated to this shape file
18
					</description>
19
				</field>
20
				<field name="shpFile" type="file" mandatory="true">
21
					<description>The shp file associated to this shape file
22
					</description>
23
				</field>
24
				<field name="CRS" type="crs" mandatory="true">
25
					<description>The coordinate reference system used in this shape
26
						file</description>
27
				</field>
28
			</fields>
29
		</class>
30

  
31
		<class name="SHPNewStoreParameters">
32
			<description>Store the parameters need to create a shape file
33
			</description>
34
			<extends>
35
				<class>SHPStoreParameters</class>
36
				<class>DBFNewStoreParameters</class>
37
			</extends>
38
			<fields>
39
				<field name="geometryType" type="integer" mandatory="true">
40
					<description>Geometry type use Geometry.TYPES</description>
41
					<availableValues>
42
						<value label="POINT">1</value>
43
						<value label="CURVE">2</value>
44
						<value label="SURFACE">3</value>
45
						<value label="MULTIPOINT">7</value>
46
						<value label="MULTICURVE">8</value>
47
                        <value label="MULTISURFACE">9</value>
48
					</availableValues>
49
				</field>
50
			</fields>
51
		</class>
52

  
53
	</classes>
54
</definitions>  
0 55

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dbf/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.store.dbf.DBFLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dbf/org/gvsig/fmap/dal/store/dbf/DBFMetadata.xml
1
<?xml version="1.0"?>
2
<!--
3
Definitions of metadata fields of a dbf file.  
4
 -->
5
<definitions>
6
  <version>1.0.0</version>
7
  <classes>
8
    <class name="DBF" namespace="Metadata">
9
      <extends>
10
      	<class namespace="Metadata" name="FeatureProvider"/>
11
      </extends>
12
      <description>Metadata of a DBF store</description>
13
      <fields>
14
        <field name="Encoding" type="string" mandatory="false">
15
          <description>Encoding used</description>
16
          <availableValues>
17
          	<value label="(default)"></value>
18
            <value label="US-ASCII">US-ASCII</value>
19
            <value label="ISO-8859-1">ISO-8859-1</value>
20
            <value label="ISO-8859-15">ISO-8859-15</value>
21
            <value label="windows-1250">windows-1250</value>
22
            <value label="windows-1252">windows-1252</value>
23
            <value label="UTF-8">UTF-8</value>
24
            <value label="UTF-16">UTF-16</value>
25
            <value label="UTF-16BE">UTF-16BE</value>
26
            <value label="UTF-16LE">UTF-16LE</value>
27
          </availableValues>
28
        </field>
29
        <field name="CodePage" type="Integer" mandatory="false">          
30
          <description>Code page used</description>
31
          <availableValues>
32
            <value label="DOS USA">0x01</value>
33
            <value label="DOS Multilingual">0x02</value>
34
            <value label="Windows ANSI">0x03</value>
35
            <value label="Standard Macintosh">0x04</value>
36
            <value label="EE MS-DOS">0x64</value>
37
            <value label="Nordic MS-DOS">0x65</value>
38
            <value label="Russian MS-DOS">0x66</value>
39
            <value label="Icelandic MS-DOS">0x67</value>
40
            <value label="Kamenicky (Czech) MS-DOS">0x68</value>
41
            <value label="Mazovia (Polish) MS-DOS">0x69</value>
42
            <value label="Greek MS-DOS (437G)">0x6A</value>
43
            <value label="Turkish MS-DOS">0x6B</value>
44
            <value label="Russian Macintosh">0x96</value>
45
            <value label="Macintosh">0x97</value>
46
            <value label="Greek Macintosh">0x98</value>
47
            <value label="Windows EE">0xC8</value>
48
            <value label="Russian Windows">0xC9</value>
49
            <value label="Turkish Windows">0xCA</value>
50
            <value label="Greek Windows">0xCB</value>
51
          </availableValues> 
52
        </field>
53
      </fields>
54
    </class>
55

  
56
  </classes>
57
</definitions>  
0 58

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dbf/org/gvsig/fmap/dal/store/dbf/DBFParameters.xml
1
<?xml version="1.0"?>
2
<definitions>
3
  <version>1.0.0</version>
4
  <classes>
5
    <class name="DBFStoreParameters">
6
      <extends>
7
      	<class namespace="dal" name="ProviderParameters"/>
8
      </extends>
9
      <description>Store the parameters need to open a dbf file</description>
10
      <fields>
11
        <field name="DbfFile" type="file" mandatory="true">
12
          <description>dbf file</description>
13
        </field>
14
        <field name="Encoding" type="string" mandatory="false">
15
          <description>Encoding used in this file</description>
16
          <availableValues>
17
          	<value label="(default)"></value>
18
            <value label="US-ASCII">US-ASCII</value>
19
            <value label="ISO-8859-1">ISO-8859-1</value>
20
            <value label="ISO-8859-15">ISO-8859-15</value>
21
            <value label="windows-1250">windows-1250</value>
22
            <value label="windows-1252">windows-1252</value>
23
            <value label="UTF-8">UTF-8</value>
24
            <value label="UTF-16">UTF-16</value>
25
            <value label="UTF-16BE">UTF-16BE</value>
26
            <value label="UTF-16LE">UTF-16LE</value>
27
          </availableValues>
28
        </field>
29
      </fields>
30
    </class>
31

  
32
    <class name="DBFNewStoreParameters">
33
      <description>Store the parameters need to create a dbf file</description>
34
      <extends>
35
        <class>DBFStoreParameters</class>
36
        <class namespace="dal" name="NewProviderParameters"/>
37
      </extends>
38
      <fields>
39
        <field name="codePage" type="Integer" mandatory="false">          
40
          <description>Code page used in this file</description>
41
          <availableValues>
42
            <value label="DOS USA">0x01</value>
43
            <value label="DOS Multilingual">0x02</value>
44
            <value label="Windows ANSI">0x03</value>
45
            <value label="Standard Macintosh">0x04</value>
46
            <value label="EE MS-DOS">0x64</value>
47
            <value label="Nordic MS-DOS">0x65</value>
48
            <value label="Russian MS-DOS">0x66</value>
49
            <value label="Icelandic MS-DOS">0x67</value>
50
            <value label="Kamenicky (Czech) MS-DOS">0x68</value>
51
            <value label="Mazovia (Polish) MS-DOS">0x69</value>
52
            <value label="Greek MS-DOS (437G)">0x6A</value>
53
            <value label="Turkish MS-DOS">0x6B</value>
54
            <value label="Russian Macintosh">0x96</value>
55
            <value label="Macintosh">0x97</value>
56
            <value label="Greek Macintosh">0x98</value>
57
            <value label="Windows EE">0xC8</value>
58
            <value label="Russian Windows">0xC9</value>
59
            <value label="Turkish Windows">0xCA</value>
60
            <value label="Greek Windows">0xCB</value>
61
          </availableValues> 
62
        </field>
63
      </fields>
64
    </class>
65

  
66
  </classes>
67
</definitions>  
0 68

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dxf.legend/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.store.dxf.legend.DXFLegendLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dxf/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.store.dxf.DXFLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dxf/org/gvsig/fmap/dal/store/dxf/DXFMetadata.xml
1
<?xml version="1.0"?>
2
<!--
3
Definitions of metadata fields of a shp file.  
4
 -->
5
<definitions>
6
  <version>1.0.0</version>
7
  <classes>
8
    
9
    <class name="DXF" namespace="Metadata">
10
      <extends>
11
      	<class namespace="Metadata" name="SpatialProvider"/>
12
      </extends>
13
      <description>Metadata of a DXF store</description>
14
      <fields>
15
      </fields>
16
    </class>
17

  
18
  </classes>
19
</definitions>  
0 20

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dxf/org/gvsig/fmap/dal/store/dxf/DXFParameters.xml
1
<?xml version= "1.0 "?>
2
<definitions>
3
  <version>1.0.0</version>
4
  <classes>
5
    <class name="DXFStoreParameters">
6
       <extends>
7
      	<class namespace="dal" name="ProviderParameters"/>
8
      </extends>
9
      <description>Store the parameters need to open a dxf file</description>
10
      <fields>
11
        <field name="File" type="file" mandatory="true">
12
          <description>dxf file</description>
13
        </field>
14
        <field name="CRS" type="crs" mandatory="true">
15
          <description>The coordinate reference system used in this dxf file</description>
16
        </field>
17
      </fields>
18
    </class>
19
  </classes>
20
</definitions>  
0 21

  
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/resources/dgn.legend/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.fmap.dal.store.dgn.legend.DGNLegendLibrary
tags/v2_0_0_Build_2042/libraries/libFMap_dalfile/src-test/org/gvsig/fmap/dal/store/dxf/data/prueba.dxf
1
999
2
TRANSLATION BY geo.cresques.io.DxfFile
3
999
4
DATE : Thu Mar 13 09:56:42 CET 2008
5
  0
6
SECTION
7
  2
8
HEADER
9
  9
10
$ACADVER
11
  1
12
AC1015
13
  9
14
$INSBASE
15
 10
16
0.0
17
 20
18
0.0
19
 30
20
0.0
21
  9
22
$EXTMIN
23
 10
24
999999999.000000
25
 20
26
999999999.000000
27
 30
28
0.000000
29
  9
30
$EXTMAX
31
 10
32
-999999999.000000
33
 20
34
-999999999.000000
35
 30
36
0.000000
37
  9
38
$LIMMIN
39
 10
40
999999999.000000
41
 20
42
999999999.000000
43
  9
44
$LIMMAX
45
 10
46
-999999999.000000
47
 20
48
-999999999.000000
49
  9
50
$ORTHOMODE
51
 70
52
     0
53
  9
54
$REGENMODE
55
 70
56
     1
57
  9
58
$FILLMODE
59
 70
60
     1
61
  9
62
$QTEXTMODE
63
 70
64
     0
65
  9
66
$MIRRTEXT
67
 70
68
     1
69
  9
70
$DRAGMODE
71
 70
72
     2
73
  9
74
$LTSCALE
75
 40
76
1.0
77
  9
78
$OSMODE
79
 70
80
     0
81
  9
82
$ATTMODE
83
 70
84
     1
85
  9
86
$TEXTSIZE
87
 40
88
0.2
89
  9
90
$TRACEWID
91
 40
92
0.05
93
  9
94
$TEXTSTYLE
95
  7
96
STANDARD
97
  9
98
$CLAYER
99
  8
100
0
101
  9
102
$CELTYPE
103
  6
104
CONTINUOUS
105
  9
106
$CECOLOR
107
 62
108
   256
109
  9
110
$DIMSCALE
111
 40
112
1.0
113
  9
114
$DIMASZ
115
 40
116
0.18
117
  9
118
$DIMEXO
119
 40
120
0.0625
121
  9
122
$DIMDLI
123
 40
124
0.38
125
  9
126
$DIMRND
127
 40
128
0.0
129
  9
130
$DIMDLE
131
 40
132
0.0
133
  9
134
$DIMEXE
135
 40
136
0.18
137
  9
138
$DIMTP
139
 40
140
0.0
141
  9
142
$DIMTM
143
 40
144
0.0
145
  9
146
$DIMTXT
147
 40
148
0.18
149
  9
150
$DIMCEN
151
 40
152
0.09
153
  9
154
$DIMTSZ
155
 40
156
0.0
157
  9
158
$DIMTOL
159
 70
160
     0
161
  9
162
$DIMLIM
163
 70
164
     0
165
  9
166
$DIMTIH
167
 70
168
     1
169
  9
170
$DIMTOH
171
 70
172
     1
173
  9
174
$DIMSE1
175
 70
176
     0
177
  9
178
$DIMSE2
179
 70
180
     0
181
  9
182
$DIMTAD
183
 70
184
     0
185
  9
186
$DIMZIN
187
 70
188
     0
189
  9
190
$DIMBLK
191
  1
192

  
193
  9
194
$DIMASO
195
 70
196
     1
197
  9
198
$DIMSHO
199
 70
200
     1
201
  9
202
$DIMPOST
203
  1
204

  
205
  9
206
$DIMAPOST
207
  1
208

  
209
  9
210
$DIMALT
211
 70
212
     0
213
  9
214
$DIMALTD
215
 70
216
     2
217
  9
218
$DIMALTF
219
 40
220
25.4
221
  9
222
$DIMLFAC
223
 40
224
1.0
225
  9
226
$DIMTOFL
227
 70
228
     0
229
  9
230
$DIMTVP
231
 40
232
0.0
233
  9
234
$DIMTIX
235
 70
236
     0
237
  9
238
$DIMSOXD
239
 70
240
     0
241
  9
242
$DIMSAH
243
 70
244
     0
245
  9
246
$DIMBLK1
247
  1
248

  
249
  9
250
$DIMBLK2
251
  1
252

  
253
  9
254
$DIMSTYLE
255
  2
256
STANDARD
257
  9
258
$DIMCLRD
259
 70
260
     0
261
  9
262
$DIMCLRE
263
 70
264
     0
265
  9
266
$DIMCLRT
267
 70
268
     0
269
  9
270
$DIMTFAC
271
 40
272
1.0
273
  9
274
$DIMGAP
275
 40
276
0.09
277
  9
278
$LUNITS
279
 70
280
     2
281
  9
282
$LUPREC
283
 70
284
     4
285
  9
286
$AXISMODE
287
 70
288
     0
289
  9
290
$AXISUNIT
291
 10
292
0.0
293
 20
294
0.0
295
  9
296
$SKETCHINC
297
 40
298
0.1
299
  9
300
$FILLETRAD
301
 40
302
0.0
303
  9
304
$AUNITS
305
 70
306
     0
307
  9
308
$AUPREC
309
 70
310
     0
311
  9
312
$MENU
313
  1
314
acad
315
  9
316
$ELEVATION
317
 40
318
0.0
319
  9
320
$PELEVATION
321
 40
322
0.0
323
  9
324
$THICKNESS
325
 40
326
0.0
327
  9
328
$LIMCHECK
329
 70
330
     0
331
  9
332
$BLIPMODE
333
 70
334
     1
335
  9
336
$CHAMFERA
337
 40
338
0.0
339
  9
340
$CHAMFERB
341
 40
342
0.0
343
  9
344
$SKPOLY
345
 70
346
     0
347
  9
348
$TDCREATE
349
 40
350
2453116.436828704
351
  9
352
$TDUPDATE
353
 40
354
2453116.436828704
355
  9
356
$TDINDWG
357
 40
358
0.0000000000
359
  9
360
$TDUSRTIMER
361
 40
362
0.0000000000
363
  9
364
$USRTIMER
365
 70
366
     1
367
  9
368
$ANGBASE
369
 50
370
0.0
371
  9
372
$ANGDIR
373
 70
374
     0
375
  9
376
$PDMODE
377
 70
378
     0
379
  9
380
$PDSIZE
381
 40
382
0.0
383
  9
384
$PLINEWID
385
 40
386
0.0
387
  9
388
$COORDS
389
 70
390
     0
391
  9
392
$SPLFRAME
393
 70
394
     0
395
  9
396
$SPLINETYPE
397
 70
398
     6
399
  9
400
$SPLINESEGS
401
 70
402
    10
403
  9
404
$ATTDIA
405
 70
406
     0
407
  9
408
$ATTREQ
409
 70
410
     1
411
  9
412
$HANDLING
413
 70
414
     1
415
  9
416
$HANDSEED
417
  5
418
394B
419
  9
420
$SURFTAB1
421
 70
422
     6
423
  9
424
$SURFTAB2
425
 70
426
     6
427
  9
428
$SURFTYPE
429
 70
430
     6
431
  9
432
$SURFU
433
 70
434
     6
435
  9
436
$SURFV
437
 70
438
     6
439
  9
440
$UCSNAME
441
  2
442

  
443
  9
444
$UCSORG
445
 10
446
0.0
447
 20
448
0.0
449
 30
450
0.0
451
  9
452
$UCSXDIR
453
 10
454
1.0
455
 20
456
0.0
457
 30
458
0.0
459
  9
460
$UCSYDIR
461
 10
462
0.0
463
 20
464
1.0
465
 30
466
0.0
467
  9
468
$PUCSNAME
469
  2
470

  
471
  9
472
$PUCSORG
473
 10
474
0.0
475
 20
476
0.0
477
 30
478
0.0
479
  9
480
$PUCSXDIR
481
 10
482
1.0
483
 20
484
0.0
485
 30
486
0.0
487
  9
488
$PUCSYDIR
489
 10
490
0.0
491
 20
492
1.0
493
 30
494
0.0
495
  9
496
$USERI1
497
 70
498
     0
499
  9
500
$USERI2
501
 70
502
     0
503
  9
504
$USERI3
505
 70
506
     0
507
  9
508
$USERI4
509
 70
510
     0
511
  9
512
$USERI5
513
 70
514
     0
515
  9
516
$USERR1
517
 40
518
0.0
519
  9
520
$USERR2
521
 40
522
0.0
523
  9
524
$USERR3
525
 40
526
0.0
527
  9
528
$USERR4
529
 40
530
0.0
531
  9
532
$USERR5
533
 40
534
0.0
535
  9
536
$WORLDVIEW
537
 70
538
     1
539
  9
540
$SHADEDGE
541
 70
542
     3
543
  9
544
$SHADEDIF
545
 70
546
    70
547
  9
548
$TILEMODE
549
 70
550
     1
551
  9
552
$MAXACTVP
553
 70
554
    16
555
  9
556
$PINSBASE
557
 10
558
0.0
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff