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 @ 44824
History | View | Annotate | Download (5 KB)
1 |
<?xml version= "1.0 "?>
|
---|---|
2 |
<!--
|
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 |
<definitions>
|
28 |
<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 |
</tags>
|
38 |
<description>_SHP_loading_parameters</description> |
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 |
|
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 |
<description>If set, use NullGeometry object instead a null value</description> |
61 |
</field>
|
62 |
<field order="210" name="allowInconsistenciesInGeometryType" label="Allow inconsistencies in geometry type" type="boolean" mandatory="false" group="Advanced" defaultValue="false"> |
63 |
<description>If set, attempts to load the geometry but does not match the type of shape file. The layer will be read only.</description> |
64 |
</field>
|
65 |
<field order="220" name="loadCorruptGeometriesAsNull" label="Load corrupt geometries as null" type="boolean" mandatory="false" group="Advanced" defaultValue="false"> |
66 |
<description>If set, load geometries that have inconsistencies as null and not fails. The layer will be read only.</description> |
67 |
</field>
|
68 |
<field order="230" name="fixLinearRings" label="Fix LinearRings and LineString" type="boolean" mandatory="false" group="Advanced" defaultValue="false"> |
69 |
<description>If set, fix LinearRings to minimum four vertices and fix LineStrings to minimum two vertices duplicating last vertex. The layer will be read only.</description> |
70 |
</field>
|
71 |
</fields>
|
72 |
</class>
|
73 |
|
74 |
<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="LINE">18</value> |
87 |
<value label="POLYGON">19</value> |
88 |
<value label="MULTIPOINT">7</value> |
89 |
<value label="MULTILINE">21</value> |
90 |
<value label="MULTIPOLYGON">22</value> |
91 |
<value label="CURVE (deprecated)">2</value> |
92 |
<value label="SURFACE (deprecated)">3</value> |
93 |
<value label="MULTICURVE (deprecated)">8</value> |
94 |
<value label="MULTISURFACE (deprecated)">9</value> |
95 |
|
96 |
</availableValues>
|
97 |
</field>
|
98 |
</fields>
|
99 |
</class>
|
100 |
|
101 |
</classes>
|
102 |
</definitions>
|