svn-gvsig-desktop / branches / v10 / libraries / libGPE-KML / src / org / gvsig / gpe / kml / KmlTags.java @ 18284
History | View | Annotate | Download (5.08 KB)
1 |
package org.gvsig.gpe.kml; |
---|---|
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: KmlTags.java 136 2007-05-16 15:54:36Z jorpiell $
|
45 |
* $Log$
|
46 |
* Revision 1.10 2007/05/16 15:54:20 jorpiell
|
47 |
* Add elements support
|
48 |
*
|
49 |
* Revision 1.9 2007/05/15 12:37:45 jorpiell
|
50 |
* Add multyGeometries
|
51 |
*
|
52 |
* Revision 1.8 2007/05/09 08:36:24 jorpiell
|
53 |
* Add the bbox to the layer
|
54 |
*
|
55 |
* Revision 1.7 2007/05/08 09:28:17 jorpiell
|
56 |
* Add comments to create javadocs
|
57 |
*
|
58 |
* Revision 1.6 2007/05/08 07:53:08 jorpiell
|
59 |
* Add comments to the writers
|
60 |
*
|
61 |
* Revision 1.5 2007/05/02 11:46:50 jorpiell
|
62 |
* Writing tests updated
|
63 |
*
|
64 |
* Revision 1.4 2007/04/20 08:38:59 jorpiell
|
65 |
* Tests updating
|
66 |
*
|
67 |
* Revision 1.3 2007/04/14 16:08:07 jorpiell
|
68 |
* Kml writing support added
|
69 |
*
|
70 |
* Revision 1.2 2007/04/13 13:16:21 jorpiell
|
71 |
* Add KML reading support
|
72 |
*
|
73 |
* Revision 1.1 2007/03/07 08:19:10 jorpiell
|
74 |
* Pasadas las clases de KML de libGPE-GML a libGPE-KML
|
75 |
*
|
76 |
* Revision 1.1 2007/02/28 11:48:31 csanchez
|
77 |
* *** empty log message ***
|
78 |
*
|
79 |
* Revision 1.1 2007/02/20 10:53:20 jorpiell
|
80 |
* A?adidos los proyectos de kml y gml antiguos
|
81 |
*
|
82 |
* Revision 1.1 2007/02/12 13:49:18 jorpiell
|
83 |
* A?adido el driver de KML
|
84 |
*
|
85 |
*
|
86 |
*/
|
87 |
/**
|
88 |
* Just some KML tags retreived from its specification
|
89 |
* @author Jorge Piera Llodr? (piera_jor@gva.es)
|
90 |
*/
|
91 |
public class KmlTags { |
92 |
public static final String ROOT = "kml"; |
93 |
|
94 |
public static final String PLACEMARK = "Placemark"; |
95 |
public static final String OPEN = "open"; |
96 |
public static final String GROUNDOVERLAY = "GroundOverlay"; |
97 |
|
98 |
public static final String POINT = "Point"; |
99 |
public static final String COORDINATES = "coordinates"; |
100 |
public static final String LINESTRING = "LineString"; |
101 |
public static final String LINEARRING = "LinearRing"; |
102 |
public static final String POLYGON = "Polygon"; |
103 |
public static final String OUTERBOUNDARYIS = "outerBoundaryIs"; |
104 |
public static final String INNERBOUNDARYIS = "innerBoundaryIs"; |
105 |
public static final String MULTIGEOMETRY = "MultiGeometry"; |
106 |
|
107 |
public static final String DOCUMENT = "Document"; |
108 |
public static final String FOLDER = "Folder"; |
109 |
public static final String STYLE = "Style"; |
110 |
|
111 |
//Separator between coordinates
|
112 |
public static final String COORDINATES_SEPARATOR = ","; |
113 |
public static final String TUPLES_SEPARATOR = "\n"; |
114 |
|
115 |
//PlaceMark params
|
116 |
public static final String NAME = "name"; |
117 |
public static final String DESCRIPTION = "description"; |
118 |
public static final String VISIBILITY = "visibility"; |
119 |
public static final String LOOKAT = "LookAt"; |
120 |
public static final String STYLEURL = "styleUrl"; |
121 |
|
122 |
//Param added to each feature to create the legend
|
123 |
public static final String FOLDER_NAME = "Folder Name"; |
124 |
|
125 |
//Name for the default legend
|
126 |
public static final String DEFAULT_LEGEND = "Default"; |
127 |
|
128 |
//LookAt params
|
129 |
public static final String LONGITUDE = "longitude"; |
130 |
public static final String LATITUDE = "latitude"; |
131 |
public static final String ALTITUDE = "altitude"; |
132 |
public static final String RANGE = "range"; |
133 |
public static final String TILT = "tilt"; |
134 |
public static final String HEADING = "heading"; |
135 |
|
136 |
//LatLonBox params
|
137 |
public static final String LATLONALTBOX = "LatLonAltBox"; |
138 |
public static final String LATLONBOX = "LatLonBox"; |
139 |
public static final String REGION = "Region"; |
140 |
public static final String NORTH = "north"; |
141 |
public static final String SOUTH = "south"; |
142 |
public static final String EAST = "east"; |
143 |
public static final String WEST = "west"; |
144 |
public static final String MINALTITUDE = "minAltitude"; |
145 |
public static final String MAXALTITUDE = "maxAltitude"; |
146 |
public static final String ALTITUDEMODE = "altitudeMode"; |
147 |
public static final String ROTATION = "rotation"; |
148 |
|
149 |
//Others
|
150 |
public static final String UNKNOWN_VERSION = "UnknownVersion"; |
151 |
public static final String DEFAULT_SRS = "EPSG:4326"; |
152 |
public static final String NAMESPACE_21 = "http://earth.google.com/kml/2.1"; |
153 |
public static final String ID = "id"; |
154 |
public static final String GEOMETRY_ID = "id"; |
155 |
public static final String METADATA = "Metadata"; |
156 |
} |