svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.file / org.gvsig.fmap.dal.file.shp / src / main / resources / org / gvsig / fmap / dal / store / shp / SHPParameters.xml @ 42811
History | View | Annotate | Download (4.63 KB)
1 | 40435 | jjdelcerro | <?xml version= "1.0 "?>
|
---|---|---|---|
2 | 40559 | jjdelcerro | <!--
|
3 | |||
4 | gvSIG. Desktop Geographic Information System.
|
||
5 | |||
6 | Copyright (C) 2007-2013 gvSIG Association.
|
||
7 | |||
8 | This program is free software; you can redistribute it and/or
|
||
9 | modify it under the terms of the GNU General Public License
|
||
10 | as published by the Free Software Foundation; either version 3
|
||
11 | of the License, or (at your option) any later version.
|
||
12 | |||
13 | This program is distributed in the hope that it will be useful,
|
||
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
16 | GNU General Public License for more details.
|
||
17 | |||
18 | You should have received a copy of the GNU General Public License
|
||
19 | along with this program; if not, write to the Free Software
|
||
20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
21 | MA 02110-1301, USA.
|
||
22 | |||
23 | For any additional information, do not hesitate to contact us
|
||
24 | at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
25 | |||
26 | -->
|
||
27 | 40435 | jjdelcerro | <definitions>
|
28 | 41644 | jjdelcerro | <version>1.0.0</version> |
29 | <classes>
|
||
30 | <class name="SHPStoreParameters"> |
||
31 | <extends>
|
||
32 | <class namespace="dal" name="ProviderParameters" /> |
||
33 | <class name="DBFStoreParameters" /> |
||
34 | </extends>
|
||
35 | <tags>
|
||
36 | <value name="defaultGroup" value="Basic"/> |
||
37 | 42320 | dmartinezizquierdo | </tags>
|
38 | 41644 | jjdelcerro | <description>Store the parameters need to open a shp file
|
39 | </description>
|
||
40 | <fields>
|
||
41 | <field name="shpFile" type="file" mandatory="true" group="Basic"> |
||
42 | <description>The shp file associated to this shape file
|
||
43 | </description>
|
||
44 | </field>
|
||
45 | <field name="CRS" type="crs" mandatory="true" group="Basic"> |
||
46 | <description>The coordinate reference system used in this shape
|
||
47 | file</description>
|
||
48 | </field>
|
||
49 | 42811 | jjdelcerro | |
50 | |||
51 | <field order="5" name="dbfFile" type="file" mandatory="false" group="Advanced"> |
||
52 | <description>dbf file</description> |
||
53 | </field>
|
||
54 | <field order="6" name="shxFile" type="file" mandatory="false" group="Advanced"> |
||
55 | <description>The shx file associated to this shape file
|
||
56 | </description>
|
||
57 | </field>
|
||
58 | |||
59 | <field order="200" name="useNullGeometry" label="Use NullGeometry instead of null" type="boolean" group="Advanced" hidden="true" mandatory="false" defaultValue="false"> |
||
60 | 41644 | jjdelcerro | <description>If set, use NullGeometry object instead a null value</description> |
61 | </field>
|
||
62 | 42811 | jjdelcerro | <field order="210" name="allowInconsistenciesInGeometryType" label="Allow inconsistencies in geometry type" type="boolean" mandatory="false" group="Advanced" defaultValue="false"> |
63 | 41808 | jjdelcerro | <description>If set, attempts to load the geometry but does not match the type of shape file.</description> |
64 | </field>
|
||
65 | 42811 | jjdelcerro | <field order="220" name="loadCorruptGeometriesAsNull" label="Load corrupt geometries as null" type="boolean" mandatory="false" group="Advanced" defaultValue="false"> |
66 | 42787 | jjdelcerro | <description>If set, load geometries that have inconsistencies as null and not fails.</description> |
67 | </field>
|
||
68 | 42811 | jjdelcerro | <field order="230" name="fixLinearRings" label="Fix LinearRings" type="boolean" mandatory="false" group="Advanced" defaultValue="false"> |
69 | <description>If set, fix LinearRings to minimum four vertices duplicating last vertex.</description> |
||
70 | </field>
|
||
71 | 41644 | jjdelcerro | </fields>
|
72 | </class>
|
||
73 | 40435 | jjdelcerro | |
74 | 41644 | jjdelcerro | <class name="SHPNewStoreParameters"> |
75 | <description>Store the parameters need to create a shape file
|
||
76 | </description>
|
||
77 | <extends>
|
||
78 | <class>SHPStoreParameters</class> |
||
79 | <class>DBFNewStoreParameters</class> |
||
80 | </extends>
|
||
81 | <fields>
|
||
82 | <field name="geometryType" type="integer" mandatory="true" group="Basic"> |
||
83 | <description>Geometry type use Geometry.TYPES</description> |
||
84 | <availableValues>
|
||
85 | <value label="POINT">1</value> |
||
86 | <value label="CURVE">2</value> |
||
87 | <value label="SURFACE">3</value> |
||
88 | <value label="MULTIPOINT">7</value> |
||
89 | <value label="MULTICURVE">8</value> |
||
90 | 40435 | jjdelcerro | <value label="MULTISURFACE">9</value> |
91 | 42320 | dmartinezizquierdo | <value label="MULTILINE">21</value> |
92 | 41644 | jjdelcerro | </availableValues>
|
93 | </field>
|
||
94 | </fields>
|
||
95 | </class>
|
||
96 | 40435 | jjdelcerro | |
97 | 41644 | jjdelcerro | </classes>
|
98 | 42320 | dmartinezizquierdo | </definitions> |