svn-gvsig-desktop / trunk / libraries / libGPE-GML / src / org / gvsig / gpe / gml / GMLTags.java @ 11781
History | View | Annotate | Download (7.56 KB)
1 |
package org.gvsig.gpe.gml; |
---|---|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
3 |
*
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
19 |
*
|
20 |
* For more information, contact:
|
21 |
*
|
22 |
* Generalitat Valenciana
|
23 |
* Conselleria d'Infraestructures i Transport
|
24 |
* Av. Blasco Ib??ez, 50
|
25 |
* 46010 VALENCIA
|
26 |
* SPAIN
|
27 |
*
|
28 |
* +34 963862235
|
29 |
* gvsig@gva.es
|
30 |
* www.gvsig.gva.es
|
31 |
*
|
32 |
* or
|
33 |
*
|
34 |
* IVER T.I. S.A
|
35 |
* Salamanca 50
|
36 |
* 46005 Valencia
|
37 |
* Spain
|
38 |
*
|
39 |
* +34 963163400
|
40 |
* dac@iver.es
|
41 |
*/
|
42 |
/* CVS MESSAGES:
|
43 |
*
|
44 |
* $Id: GMLTags.java 11781 2007-05-24 07:29:47Z csanchez $
|
45 |
* $Log$
|
46 |
* Revision 1.13 2007-05-24 07:29:47 csanchez
|
47 |
* A?adidos Alias GML2
|
48 |
*
|
49 |
* Revision 1.12 2007/05/15 10:39:39 jorpiell
|
50 |
* Add the number of decimals property
|
51 |
*
|
52 |
* Revision 1.11 2007/05/15 09:35:09 jorpiell
|
53 |
* the tag names cant have blanc spaces
|
54 |
*
|
55 |
* Revision 1.10 2007/05/15 07:31:06 jorpiell
|
56 |
* Add the geometryProperties tags
|
57 |
*
|
58 |
* Revision 1.9 2007/05/14 11:20:25 jorpiell
|
59 |
* ProjectionFactory updated
|
60 |
*
|
61 |
* Revision 1.8 2007/05/14 09:52:26 jorpiell
|
62 |
* Tupes separator tag updated
|
63 |
*
|
64 |
* Revision 1.7 2007/05/14 09:30:08 jorpiell
|
65 |
* Add the fid tag
|
66 |
*
|
67 |
* Revision 1.6 2007/05/07 12:58:42 jorpiell
|
68 |
* Add some methods to manage the multigeometries
|
69 |
*
|
70 |
* Revision 1.5 2007/04/13 13:16:00 jorpiell
|
71 |
* Add the multiple geometries
|
72 |
*
|
73 |
* Revision 1.4 2007/04/12 17:06:44 jorpiell
|
74 |
* First GML writing tests
|
75 |
*
|
76 |
* Revision 1.3 2007/04/12 10:35:04 jorpiell
|
77 |
* Add the innerboundaryIs
|
78 |
*
|
79 |
* Revision 1.2 2007/04/12 10:23:41 jorpiell
|
80 |
* Add some writers and the GPEXml parser
|
81 |
*
|
82 |
* Revision 1.1 2007/02/28 11:48:31 csanchez
|
83 |
* *** empty log message ***
|
84 |
*
|
85 |
* Revision 1.1 2007/02/20 10:53:20 jorpiell
|
86 |
* A?adidos los proyectos de kml y gml antiguos
|
87 |
*
|
88 |
* Revision 1.4 2007/01/14 13:12:11 jaume
|
89 |
* objects to strings
|
90 |
*
|
91 |
* Revision 1.3 2006/12/22 11:25:44 csanchez
|
92 |
* Nuevo parser GML 2.x para gml's sin esquema
|
93 |
*
|
94 |
* Revision 1.2 2006/08/10 12:37:05 jorpiell
|
95 |
* A?adido el tag description al GML parser
|
96 |
*
|
97 |
* Revision 1.1 2006/08/10 12:00:49 jorpiell
|
98 |
* Primer commit del driver de Gml
|
99 |
*
|
100 |
*
|
101 |
*/
|
102 |
/**
|
103 |
* Class containing a description for all the TAGS defined in
|
104 |
* the GML File
|
105 |
*
|
106 |
* @author Jorge Piera Llodr? (piera_jor@gva.es)
|
107 |
* @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
108 |
*
|
109 |
*/
|
110 |
public class GMLTags { |
111 |
public static final String GML_NAMESPACE_URI = "http://www.opengis.net/gml"; |
112 |
public static final String GML_DEAFULT_BLANC_SPACE = "_"; |
113 |
public static final int GML_DEAFULT_DECIMAL_DIGITS = 3; |
114 |
public static final String VERSION = "version"; |
115 |
public static final String XML_TARGET_NAMESPACE = "targetNamespace"; |
116 |
public static final String XML_ELEMENT_FORM_DEFAULT = "elementFormDefault"; |
117 |
public static final String XML_ATTRIBUTE_FORM_DEFAULT = "attributeFormDefault"; |
118 |
public static final String XML_NAMESPACE = "xmlns"; |
119 |
public static final String XML_SCHEMA_LOCATION = "schemaLocation"; |
120 |
public static final String XML_XSI = "xsi"; |
121 |
public static final String GML_NAME = "name"; |
122 |
public static final String GML_DESCRIPTION = "description"; |
123 |
public static final String GML_BOUNDEDBY = "boundedBy"; |
124 |
public static final String GML_BOX = "Box"; |
125 |
public static final String GML_COORDINATES = "coordinates"; |
126 |
public static final String GML_COORD = "coord"; |
127 |
public static final String GML_X = "X"; |
128 |
public static final String GML_Y = "Y"; |
129 |
public static final String GML_Z = "Z"; |
130 |
public static final String GML_COORDINATES_DECIMAL = "decimal"; |
131 |
public static final String GML_COORDINATES_CS = "cs"; |
132 |
public static final String GML_COORDINATES_TS = "ts"; |
133 |
public static final String GML_SRS_NAME = "srsName"; |
134 |
public static final String GML_GID = "gid"; |
135 |
public static final String GML_FID = "fid"; |
136 |
public static final String GML_NAMESPACE = "gml"; |
137 |
public static final String GML_FEATUREMEMBER = "featureMember"; |
138 |
public static final String GML_FEATURCOLLECTION = "FeatureCollection"; |
139 |
|
140 |
//Namespaces
|
141 |
public static final String NAMESPACE_GML = "xmlns:gml=\"http://www.opengis.net/gml\""; |
142 |
public static final String NAMESPACE_XML = "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""; |
143 |
|
144 |
|
145 |
//Geometries
|
146 |
public static final String GML_POINT = "Point"; |
147 |
public static final String GML_LINESTRING = "LineString"; |
148 |
public static final String GML_LINEARRING = "LinearRing"; |
149 |
public static final String GML_POLYGON = "Polygon"; |
150 |
public static final String GML_MULTIPOINT = "MultiPoint"; |
151 |
public static final String GML_MULTILINESTRING = "MultiLineString"; |
152 |
public static final String GML_MULTIPOLYGON = "MultiPolygon"; |
153 |
public static final String GML_MULTIGEOMETRY = "MultiGeometry"; |
154 |
public static final String GML_POINTPROPERTY = "pointProperty"; |
155 |
public static final String GML_LINESTRINGPROPERTY = "lineStringProperty"; |
156 |
public static final String GML_POLYGONPROPERTY = "polygonProperty"; |
157 |
public static final String GML_GEOMETRYPROPERTY = "geometryProperty"; |
158 |
public static final String GML_MULTIPOINTPROPERTY = "multiPointProperty"; |
159 |
public static final String GML_MULTILINESTRINGPROPERTY = "multiLineStringProperty"; |
160 |
public static final String GML_MULTIPOLYGONPROPERTY = "multiPolygonProperty"; |
161 |
public static final String GML_MULTIGEOMETRYPROPERTY = "multiGeometryProperty"; |
162 |
|
163 |
public static final String GML_DEFAULT_TUPLES_SEPARATOR = "[\\n\\s]+"; |
164 |
public static final String GML_DEFAULT_COORDINATES_SEPARATOR = ","; |
165 |
public static final String GML_DEFAULT_COORDINATES_DECIMAL = "."; |
166 |
|
167 |
public static final String GML_OUTERBOUNDARYIS = "outerBoundaryIs"; |
168 |
public static final String GML_INNERBOUNDARYIS = "innerBoundaryIs"; |
169 |
public static final String GML_POINTMEMBER = "pointMember"; |
170 |
public static final String GML_LINESTRINGMEMBER = "lineStringMember"; |
171 |
public static final String GML_POLYGONMEMBER = "polygonMember"; |
172 |
public static final String GML_GEOMETRYMEMBER = "geometryMember"; |
173 |
|
174 |
//Point Alias
|
175 |
public static final String GML_CENTEROF = "centerOf"; |
176 |
public static final String GML_LOCATION = "location"; |
177 |
public static final String GML_POSITION = "position"; |
178 |
|
179 |
//Polygon Alias
|
180 |
public static final String GML_EXTENTOF = "extentOf"; |
181 |
public static final String GML_COVERAGE = "coverage"; |
182 |
|
183 |
//LineString Alias
|
184 |
public static final String GML_EDGEOF = "edgeOf"; |
185 |
public static final String GML_CENTERLINEOF = "centerLineOf"; |
186 |
|
187 |
//MultiPoint
|
188 |
public static final String GML_MULTICENTEROF = "multiCenterOf"; |
189 |
public static final String GML_MULTILOCATION = "multiLocation"; |
190 |
public static final String GML_MULTIPOSITION = "multiPosition"; |
191 |
|
192 |
//MultiLine
|
193 |
public static final String GML_MULTIEDGEOF = "multiEdgeOf"; |
194 |
public static final String GML_MULTICENTERLINEOF = "multiCenterLineOf"; |
195 |
|
196 |
//MultiPolygon
|
197 |
public static final String GML_MULTIEXTENTOF = "multiExtentOf"; |
198 |
public static final String GML_MULTICOVERAGE = "multiCoverage"; |
199 |
|
200 |
//srs
|
201 |
public static final String SRS = "http://www.opengis.net/gml/srs/"; |
202 |
public static final String SRS_EPSG_NAME = "EPSG"; |
203 |
public static final String SRS_EPSG = "epsg.xml"; |
204 |
public static final String SRS_UNKNOWN = "unknown"; |
205 |
|
206 |
} |