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