Revision 419
org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.gpe</artifactId> |
|
5 |
<packaging>pom</packaging> |
|
6 |
<version>2.1.6</version> |
|
7 |
<description>Generic Persistence Engine</description> |
|
8 |
<url>http://devel.gvsig.org/sites/org.gvsig.gpe/${project.version}</url> |
|
9 |
<name>${project.artifactId}</name> |
|
10 |
|
|
11 |
<parent> |
|
12 |
<groupId>org.gvsig</groupId> |
|
13 |
<artifactId>org.gvsig.desktop</artifactId> |
|
14 |
<version>2.0.90</version> |
|
15 |
</parent> |
|
16 |
|
|
17 |
<scm> |
|
18 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-gpe/org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6</connection> |
|
19 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-gpe/org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6</developerConnection> |
|
20 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-gpe/repository/show/org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6</url> |
|
21 |
</scm> |
|
22 |
<repositories> |
|
23 |
<repository> |
|
24 |
<id>gvsig-public-http-repository</id> |
|
25 |
<name>gvSIG maven public HTTP repository</name> |
|
26 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
27 |
<releases> |
|
28 |
<enabled>true</enabled> |
|
29 |
<updatePolicy>daily</updatePolicy> |
|
30 |
<checksumPolicy>warn</checksumPolicy> |
|
31 |
</releases> |
|
32 |
<snapshots> |
|
33 |
<enabled>true</enabled> |
|
34 |
<updatePolicy>daily</updatePolicy> |
|
35 |
<checksumPolicy>warn</checksumPolicy> |
|
36 |
</snapshots> |
|
37 |
</repository> |
|
38 |
</repositories> |
|
39 |
|
|
40 |
<build> |
|
41 |
<plugins> |
|
42 |
<plugin> |
|
43 |
<groupId>org.apache.maven.plugins</groupId> |
|
44 |
<artifactId>maven-release-plugin</artifactId> |
|
45 |
<configuration> |
|
46 |
<tagBase>https://devel.gvsig.org/svn/gvsig-gpe/org.gvsig.gpe/library/tags</tagBase> |
|
47 |
<goals>deploy</goals> |
|
48 |
</configuration> |
|
49 |
</plugin> |
|
50 |
</plugins> |
|
51 |
</build> |
|
52 |
|
|
53 |
<dependencyManagement> |
|
54 |
<dependencies> |
|
55 |
<!-- Self-deps --> |
|
56 |
|
|
57 |
<dependency> |
|
58 |
<groupId>org.gvsig</groupId> |
|
59 |
<artifactId>org.gvsig.gpe.lib.api</artifactId> |
|
60 |
<version>2.1.6</version> |
|
61 |
</dependency> |
|
62 |
<dependency> |
|
63 |
<groupId>org.gvsig</groupId> |
|
64 |
<artifactId>org.gvsig.gpe.lib.spi</artifactId> |
|
65 |
<version>2.1.6</version> |
|
66 |
</dependency> |
|
67 |
<dependency> |
|
68 |
<groupId>org.gvsig</groupId> |
|
69 |
<artifactId>org.gvsig.gpe.lib.impl</artifactId> |
|
70 |
<version>2.1.6</version> |
|
71 |
</dependency> |
|
72 |
<dependency> |
|
73 |
<groupId>org.gvsig</groupId> |
|
74 |
<artifactId>org.gvsig.gpe.prov.xml</artifactId> |
|
75 |
<version>2.1.6</version> |
|
76 |
</dependency> |
|
77 |
<dependency> |
|
78 |
<groupId>org.gvsig</groupId> |
|
79 |
<artifactId>org.gvsig.gpe.lib.impl</artifactId> |
|
80 |
<version>2.1.6</version> |
|
81 |
<classifier>tests</classifier> |
|
82 |
</dependency> |
|
83 |
<dependency> |
|
84 |
<groupId>org.gvsig</groupId> |
|
85 |
<artifactId>org.gvsig.gpe.exportto.kml</artifactId> |
|
86 |
<version>2.1.6</version> |
|
87 |
</dependency> |
|
88 |
<dependency> |
|
89 |
<groupId>org.gvsig</groupId> |
|
90 |
<artifactId>org.gvsig.gpe.exportto.generic</artifactId> |
|
91 |
<version>2.1.6</version> |
|
92 |
</dependency> |
|
93 |
<dependency> |
|
94 |
<groupId>org.gvsig</groupId> |
|
95 |
<artifactId>org.gvsig.gpe.prov.gml</artifactId> |
|
96 |
<version>2.1.6</version> |
|
97 |
</dependency> |
|
98 |
<dependency> |
|
99 |
<groupId>org.gvsig</groupId> |
|
100 |
<artifactId>org.gvsig.gpe.prov.kml</artifactId> |
|
101 |
<version>2.1.6</version> |
|
102 |
</dependency> |
|
103 |
|
|
104 |
|
|
105 |
<!-- SCHEMA/PULL LIBS --> |
|
106 |
|
|
107 |
<dependency> |
|
108 |
<groupId>org.gvsig</groupId> |
|
109 |
<artifactId>org.gvsig.xmlschema.lib.api</artifactId> |
|
110 |
<version>2.0.2</version> |
|
111 |
</dependency> |
|
112 |
<dependency> |
|
113 |
<groupId>org.gvsig</groupId> |
|
114 |
<artifactId>org.gvsig.xmlschema.lib.impl</artifactId> |
|
115 |
<version>2.0.2</version> |
|
116 |
</dependency> |
|
117 |
<dependency> |
|
118 |
<groupId>org.gvsig</groupId> |
|
119 |
<artifactId>org.gvsig.xmlschema.lib.spi</artifactId> |
|
120 |
<version>2.0.2</version> |
|
121 |
</dependency> |
|
122 |
<dependency> |
|
123 |
<groupId>org.gvsig</groupId> |
|
124 |
<artifactId>org.gvsig.xmlschema.prov.kxml</artifactId> |
|
125 |
<version>2.0.2</version> |
|
126 |
</dependency> |
|
127 |
|
|
128 |
<dependency> |
|
129 |
<groupId>org.gvsig</groupId> |
|
130 |
<artifactId>org.gvsig.xmlpull.lib.api</artifactId> |
|
131 |
<version>2.0.1</version> |
|
132 |
</dependency> |
|
133 |
<dependency> |
|
134 |
<groupId>org.gvsig</groupId> |
|
135 |
<artifactId>org.gvsig.xmlpull.lib.spi</artifactId> |
|
136 |
<version>2.0.1</version> |
|
137 |
</dependency> |
|
138 |
<dependency> |
|
139 |
<groupId>org.gvsig</groupId> |
|
140 |
<artifactId>org.gvsig.xmlpull.lib.impl</artifactId> |
|
141 |
<version>2.0.1</version> |
|
142 |
</dependency> |
|
143 |
<dependency> |
|
144 |
<groupId>org.gvsig</groupId> |
|
145 |
<artifactId>org.gvsig.xmlpull.prov.stax</artifactId> |
|
146 |
<version>2.0.1</version> |
|
147 |
</dependency> |
|
148 |
<dependency> |
|
149 |
<groupId>org.gvsig</groupId> |
|
150 |
<artifactId>org.gvsig.xmlpull.prov.kxml</artifactId> |
|
151 |
<version>2.0.1</version> |
|
152 |
</dependency> |
|
153 |
|
|
154 |
<!-- TODO: Remove those entries when updated in libGPE (?) --> |
|
155 |
|
|
156 |
<dependency> |
|
157 |
<groupId>stax</groupId> |
|
158 |
<artifactId>stax-api</artifactId> |
|
159 |
<version>1.0.1</version> |
|
160 |
</dependency> |
|
161 |
<dependency> |
|
162 |
<groupId>stax</groupId> |
|
163 |
<artifactId>stax</artifactId> |
|
164 |
<version>1.2.0</version> |
|
165 |
</dependency> |
|
166 |
|
|
167 |
|
|
168 |
</dependencies> |
|
169 |
</dependencyManagement> |
|
170 |
<modules> |
|
171 |
<module>org.gvsig.gpe.app</module> |
|
172 |
<module>org.gvsig.gpe.lib</module> |
|
173 |
<module>org.gvsig.gpe.prov</module> |
|
174 |
<module>org.gvsig.gpe.exportto</module> |
|
175 |
</modules> |
|
176 |
</project> |
|
177 |
|
|
0 | 178 |
org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6/org.gvsig.gpe.app/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.gpe.app</artifactId> |
|
6 |
<description>Adds support for some vector formats (GML, KML)</description> |
|
7 |
<packaging>pom</packaging> |
|
8 |
|
|
9 |
|
|
10 |
<parent> |
|
11 |
<groupId>org.gvsig</groupId> |
|
12 |
<artifactId>org.gvsig.gpe</artifactId> |
|
13 |
<version>2.1.6</version> |
|
14 |
</parent> |
|
15 |
|
|
16 |
<modules> |
|
17 |
<module>org.gvsig.gpe.app.mainplugin</module> |
|
18 |
</modules> |
|
19 |
</project> |
org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6/org.gvsig.gpe.app/org.gvsig.gpe.app.mainplugin/src/test/java/org/gvsig/fmap/dal/store/gpe/GPETest.java | ||
---|---|---|
1 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
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., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
22 |
|
|
23 |
/* |
|
24 |
* AUTHORS (In addition to CIT): |
|
25 |
* 2009 {Iver T.I.} {Task} |
|
26 |
*/ |
|
27 |
|
|
28 |
package org.gvsig.fmap.dal.store.gpe; |
|
29 |
|
|
30 |
import java.io.File; |
|
31 |
|
|
32 |
import org.gvsig.fmap.crs.CRSFactory; |
|
33 |
import org.gvsig.fmap.dal.DataStoreParameters; |
|
34 |
import org.gvsig.fmap.dal.exception.DataException; |
|
35 |
import org.gvsig.fmap.dal.feature.BaseTestEditableFeatureStore; |
|
36 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
|
37 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorer; |
|
38 |
import org.gvsig.gpe.lib.api.GPELocator; |
|
39 |
import org.gvsig.gpe.lib.api.GPEManager; |
|
40 |
|
|
41 |
/** |
|
42 |
* @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a> |
|
43 |
*/ |
|
44 |
public class GPETest extends BaseTestEditableFeatureStore { |
|
45 |
public static final File file_prueba = new File("testdata/GML-points.gml"); |
|
46 |
|
|
47 |
private FilesystemServerExplorer myExplorer = null; |
|
48 |
private GPEManager gpeManager = null; |
|
49 |
|
|
50 |
protected void doSetUp() throws Exception { |
|
51 |
super.doSetUp(); |
|
52 |
gpeManager = GPELocator.getGPEManager(); |
|
53 |
} |
|
54 |
|
|
55 |
/* |
|
56 |
* (non-Javadoc) |
|
57 |
* |
|
58 |
* @see |
|
59 |
* org.gvsig.fmap.dal.feature.BaseTestFeatureStore#getDefaultDataStoreParameters |
|
60 |
* () |
|
61 |
*/ |
|
62 |
public DataStoreParameters getDefaultDataStoreParameters() |
|
63 |
throws DataException { |
|
64 |
GPEStoreParameters parameters = null; |
|
65 |
|
|
66 |
parameters = (GPEStoreParameters) dataManager |
|
67 |
.createStoreParameters(GPEStoreProvider.NAME); |
|
68 |
|
|
69 |
parameters.setFileName(file_prueba.getAbsolutePath()); |
|
70 |
parameters.setCRS(CRSFactory.getCRS("EPSG:23030")); |
|
71 |
return parameters; |
|
72 |
} |
|
73 |
|
|
74 |
/* |
|
75 |
* (non-Javadoc) |
|
76 |
* |
|
77 |
* @see org.gvsig.fmap.dal.feature.BaseTestFeatureStore#hasExplorer() |
|
78 |
*/ |
|
79 |
public boolean hasExplorer() { |
|
80 |
return false; |
|
81 |
} |
|
82 |
|
|
83 |
/* (non-Javadoc) |
|
84 |
* @see org.gvsig.fmap.dal.feature.BaseTestEditableFeatureStore#getDefaultNewDataStoreParameters() |
|
85 |
*/ |
|
86 |
public NewFeatureStoreParameters getDefaultNewDataStoreParameters() |
|
87 |
throws Exception { |
|
88 |
return null; |
|
89 |
// if (this.myExplorer == null) { |
|
90 |
// GPEStoreParameters gpeStoreParameters = (GPEStoreParameters) this |
|
91 |
// .getDefaultDataStoreParameters(); |
|
92 |
// FeatureStore store = (FeatureStore) dataManager |
|
93 |
// .createStore(gpeStoreParameters); |
|
94 |
// myExplorer = (FilesystemServerExplorer) store.getExplorer(); |
|
95 |
// store.dispose(); |
|
96 |
// } |
|
97 |
// |
|
98 |
// return (NewFeatureStoreParameters) myExplorer |
|
99 |
// .getAddParameters(dbf_prueba_destino); |
|
100 |
} |
|
101 |
|
|
102 |
/* (non-Javadoc) |
|
103 |
* @see org.gvsig.fmap.dal.feature.BaseTestEditableFeatureStore#usesResources() |
|
104 |
*/ |
|
105 |
public boolean usesResources() { |
|
106 |
// TODO Auto-generated method stub |
|
107 |
return false; |
|
108 |
} |
|
109 |
|
|
110 |
public boolean resourcesNotifyChanges() { |
|
111 |
return true; |
|
112 |
} |
|
113 |
|
|
114 |
|
|
115 |
} |
|
116 |
|
org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6/org.gvsig.gpe.app/org.gvsig.gpe.app.mainplugin/src/test/java/org/gvsig/fmap/geom/operation/writegml2/WriteGmlTest.java | ||
---|---|---|
1 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
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., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
22 |
package org.gvsig.fmap.geom.operation.writegml2; |
|
23 |
|
|
24 |
import java.io.ByteArrayOutputStream; |
|
25 |
import java.io.IOException; |
|
26 |
import java.io.OutputStream; |
|
27 |
|
|
28 |
import org.slf4j.Logger; |
|
29 |
import org.slf4j.LoggerFactory; |
|
30 |
|
|
31 |
import org.gvsig.fmap.geom.Geometry; |
|
32 |
import org.gvsig.fmap.geom.Geometry.SUBTYPES; |
|
33 |
import org.gvsig.fmap.geom.Geometry.TYPES; |
|
34 |
import org.gvsig.fmap.geom.GeometryLocator; |
|
35 |
import org.gvsig.fmap.geom.GeometryManager; |
|
36 |
import org.gvsig.fmap.geom.aggregate.MultiCurve; |
|
37 |
import org.gvsig.fmap.geom.aggregate.MultiPoint; |
|
38 |
import org.gvsig.fmap.geom.aggregate.MultiSurface; |
|
39 |
import org.gvsig.fmap.geom.exception.CreateGeometryException; |
|
40 |
import org.gvsig.fmap.geom.operation.GeometryOperationException; |
|
41 |
import org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException; |
|
42 |
import org.gvsig.fmap.geom.primitive.Curve; |
|
43 |
import org.gvsig.fmap.geom.primitive.GeneralPathX; |
|
44 |
import org.gvsig.fmap.geom.primitive.Point; |
|
45 |
import org.gvsig.fmap.geom.primitive.Surface; |
|
46 |
import org.gvsig.gpe.lib.api.GPELocator; |
|
47 |
import org.gvsig.gpe.lib.api.GPEManager; |
|
48 |
import org.gvsig.gpe.lib.api.exceptions.WriterHandlerCreationException; |
|
49 |
import org.gvsig.gpe.lib.api.writer.IGPEWriterHandler; |
|
50 |
import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase; |
|
51 |
|
|
52 |
|
|
53 |
/** |
|
54 |
* @author gvSIG Team |
|
55 |
* @version $Id$ |
|
56 |
* |
|
57 |
*/ |
|
58 |
public class WriteGmlTest extends AbstractLibraryAutoInitTestCase{ |
|
59 |
private static final Logger LOG = LoggerFactory.getLogger(WriteGmlTest.class); |
|
60 |
private GeometryManager geometryManager; |
|
61 |
private GPEManager gpeManager; |
|
62 |
|
|
63 |
protected void doSetUp() throws Exception { |
|
64 |
geometryManager = GeometryLocator.getGeometryManager(); |
|
65 |
gpeManager = GPELocator.getGPEManager(); |
|
66 |
} |
|
67 |
|
|
68 |
private String write(Geometry geometry) throws WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException{ |
|
69 |
OutputStream os = new ByteArrayOutputStream(); |
|
70 |
IGPEWriterHandler writerHandler = gpeManager.createWriterByMimeType("text/xml; subtype=gml/3.1.2"); |
|
71 |
writerHandler.setOutputStream(os); |
|
72 |
writerHandler.initialize(); |
|
73 |
|
|
74 |
WriteGml2OperationContext operationContext = new WriteGml2OperationContext(); |
|
75 |
operationContext.setWriterHandler(writerHandler); |
|
76 |
operationContext.setId("0"); |
|
77 |
operationContext.setSrs("EPSG:23030"); |
|
78 |
|
|
79 |
geometry.invokeOperation(WriteGml2Operation.NAME, operationContext); |
|
80 |
|
|
81 |
writerHandler.close(); |
|
82 |
|
|
83 |
LOG.info("Parsed geometry: " + os.toString()); |
|
84 |
assertTrue(os.toString().startsWith("<?xml")); |
|
85 |
return os.toString(); |
|
86 |
} |
|
87 |
|
|
88 |
public void testPoint2D() throws CreateGeometryException, WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException, IOException{ |
|
89 |
Point point = (Point)geometryManager.create(TYPES.POINT, SUBTYPES.GEOM2D); |
|
90 |
point.setCoordinateAt(0, 1.0); |
|
91 |
point.setCoordinateAt(1, 2.0); |
|
92 |
|
|
93 |
write(point); |
|
94 |
} |
|
95 |
|
|
96 |
public void testCurve2D() throws CreateGeometryException, WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException, IOException{ |
|
97 |
Curve curve = (Curve)geometryManager.create(TYPES.CURVE, SUBTYPES.GEOM2D); |
|
98 |
GeneralPathX generalPathX = new GeneralPathX(); |
|
99 |
generalPathX.moveTo(0, 0); |
|
100 |
generalPathX.lineTo(1, 1); |
|
101 |
generalPathX.lineTo(2, 1); |
|
102 |
curve.setGeneralPath(generalPathX); |
|
103 |
|
|
104 |
write(curve); |
|
105 |
} |
|
106 |
|
|
107 |
public void testSurface2D() throws CreateGeometryException, WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException, IOException{ |
|
108 |
Surface surface = (Surface)geometryManager.create(TYPES.SURFACE, SUBTYPES.GEOM2D); |
|
109 |
GeneralPathX generalPathX = new GeneralPathX(); |
|
110 |
generalPathX.moveTo(0, 0); |
|
111 |
generalPathX.lineTo(1, 1); |
|
112 |
generalPathX.lineTo(2, 1); |
|
113 |
surface.setGeneralPath(generalPathX); |
|
114 |
|
|
115 |
write(surface); |
|
116 |
} |
|
117 |
|
|
118 |
public void testMultiPoint2D() throws CreateGeometryException, WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException, IOException{ |
|
119 |
Point point1 = (Point)geometryManager.create(TYPES.POINT, SUBTYPES.GEOM3D); |
|
120 |
point1.setCoordinateAt(0, 1.0); |
|
121 |
point1.setCoordinateAt(1, 2.0); |
|
122 |
point1.setCoordinateAt(2, 3.0); |
|
123 |
|
|
124 |
Point point2 = (Point)geometryManager.create(TYPES.POINT, SUBTYPES.GEOM3D); |
|
125 |
point2.setCoordinateAt(0, 4.0); |
|
126 |
point2.setCoordinateAt(1, 5.0); |
|
127 |
point2.setCoordinateAt(2, 6.0); |
|
128 |
|
|
129 |
MultiPoint multiPoint = (MultiPoint)geometryManager.create(TYPES.MULTIPOINT, SUBTYPES.GEOM2D); |
|
130 |
multiPoint.addPoint(point1); |
|
131 |
multiPoint.addPoint(point2); |
|
132 |
|
|
133 |
write(multiPoint); |
|
134 |
} |
|
135 |
|
|
136 |
public void testMultiCurve2D() throws CreateGeometryException, WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException, IOException{ |
|
137 |
Curve curve1 = (Curve)geometryManager.create(TYPES.CURVE, SUBTYPES.GEOM2D); |
|
138 |
GeneralPathX generalPathX1 = new GeneralPathX(); |
|
139 |
generalPathX1.moveTo(0, 0); |
|
140 |
generalPathX1.lineTo(1, 1); |
|
141 |
generalPathX1.lineTo(2, 1); |
|
142 |
curve1.setGeneralPath(generalPathX1); |
|
143 |
|
|
144 |
Curve curve2 = (Curve)geometryManager.create(TYPES.CURVE, SUBTYPES.GEOM2D); |
|
145 |
GeneralPathX generalPathX2 = new GeneralPathX(); |
|
146 |
generalPathX2.moveTo(0, 0); |
|
147 |
generalPathX2.lineTo(1, 1); |
|
148 |
generalPathX2.lineTo(2, 1); |
|
149 |
curve2.setGeneralPath(generalPathX2); |
|
150 |
|
|
151 |
MultiCurve multiCurve = (MultiCurve)geometryManager.create(TYPES.MULTICURVE, SUBTYPES.GEOM2D); |
|
152 |
multiCurve.addCurve(curve1); |
|
153 |
multiCurve.addCurve(curve2); |
|
154 |
|
|
155 |
write(multiCurve); |
|
156 |
} |
|
157 |
|
|
158 |
public void testMultiSurface2D() throws CreateGeometryException, WriterHandlerCreationException, GeometryOperationNotSupportedException, GeometryOperationException, IOException{ |
|
159 |
Surface surface1 = (Surface)geometryManager.create(TYPES.SURFACE, SUBTYPES.GEOM2D); |
|
160 |
GeneralPathX generalPathX1 = new GeneralPathX(); |
|
161 |
generalPathX1.moveTo(0, 0); |
|
162 |
generalPathX1.lineTo(1, 1); |
|
163 |
generalPathX1.lineTo(2, 1); |
|
164 |
surface1.setGeneralPath(generalPathX1); |
|
165 |
|
|
166 |
Surface surface2 = (Surface)geometryManager.create(TYPES.SURFACE, SUBTYPES.GEOM2D); |
|
167 |
GeneralPathX generalPathX2 = new GeneralPathX(); |
|
168 |
generalPathX2.moveTo(0, 0); |
|
169 |
generalPathX2.lineTo(1, 1); |
|
170 |
generalPathX2.lineTo(2, 1); |
|
171 |
surface2.setGeneralPath(generalPathX2); |
|
172 |
|
|
173 |
MultiSurface multiSurface = (MultiSurface)geometryManager.create(TYPES.MULTISURFACE, SUBTYPES.GEOM2D); |
|
174 |
multiSurface.addSurface(surface1); |
|
175 |
multiSurface.addSurface(surface2); |
|
176 |
|
|
177 |
write(multiSurface); |
|
178 |
} |
|
179 |
|
|
180 |
} |
org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6/org.gvsig.gpe.app/org.gvsig.gpe.app.mainplugin/src/test/resources/testdata/GML-polygons.gml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?><gml:FeatureCollection xmlns:cit="http://www.gvsig.com/cit" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gvsig.com/cit GML-polygons.xsd"><gml:boundedBy><gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#23030"><gml:coordinates decimal="." cs="," ts=" ">620344.45,4205001.5 773626.0,4509860.5</gml:coordinates></gml:Box></gml:boundedBy><gml:featureMember> |
|
2 |
<cit:polygons><cit:the_geom><gml:MultiPolygon srsName='0'> |
|
3 |
<gml:polygonMember> |
|
4 |
<gml:Polygon srsName='0'> |
|
5 |
<gml:outerBoundaryIs> |
|
6 |
<gml:LinearRing srsName='0'> |
|
7 |
<gml:coordinates> |
|
8 |
686982.31,4209197.5 686900.88,4209196.5 |
|
9 |
686849.38,4209233.0 686826.0,4209227.0 |
|
10 |
686805.63,4209199.0 686750.88,4209161.5 |
|
11 |
686618.25,4209059.0 686481.44,4208965.0 |
|
12 |
686411.19,4208954.5 686395.75,4208975.0 |
|
13 |
686370.06,4209045.0 686342.94,4209119.0 |
|
14 |
686324.56,4209156.0 686282.81,4209180.5 |
|
15 |
686242.25,4209225.5 686230.94,4209250.0 |
|
16 |
686231.69,4209301.5 686278.63,4209415.0 |
|
17 |
686297.25,4209470.5 686292.88,4209491.0 |
|
18 |
686262.44,4209495.0 686171.81,4209456.5 |
|
19 |
686129.0,4209463.0 686091.5,4209481.5 |
|
20 |
686061.19,4209477.0 685996.06,4209386.5 |
|
21 |
685874.25,4209302.5 685801.19,4209299.0 |
|
22 |
685766.13,4209342.5 685668.5,4209541.5 |
|
23 |
685637.13,4209625.5 685683.19,4209696.0 |
|
24 |
685696.5,4209735.0 685587.0,4209776.5 |
|
25 |
685558.25,4209868.5 685511.63,4209959.0 |
|
26 |
685509.88,4209989.5 685648.94,4210354.0 |
|
27 |
685707.44,4210539.5 685724.88,4210691.5 |
|
28 |
685719.56,4210900.0 685783.75,4211069.0 |
|
29 |
685847.88,4211133.5 685912.5,4211150.5 |
|
30 |
686025.5,4211164.5 686058.19,4211198.0 |
|
31 |
686077.81,4211285.0 686095.63,4211409.5 |
|
32 |
686100.38,4211473.0 686191.0,4211623.5 |
|
33 |
686229.69,4211621.0 686395.88,4211686.5 |
|
34 |
686574.56,4211745.5 686690.13,4211775.5 |
|
35 |
686823.38,4211827.0 686886.94,4211819.5 |
|
36 |
686940.88,4211806.5 686995.63,4211729.5 |
|
37 |
687147.69,4211596.5 687193.19,4211598.5 |
|
38 |
687237.06,4211625.0 687283.63,4211652.0 |
|
39 |
687333.19,4211662.0 687391.0,4211675.0 |
|
40 |
687401.94,4211685.0 687457.0,4211696.5 |
|
41 |
687553.75,4211682.5 687587.13,4211664.0 |
|
42 |
687615.19,4211625.5 687666.44,4211608.0 |
|
43 |
687799.25,4211582.0 687843.38,4211585.5 |
|
44 |
687959.63,4211555.0 687983.38,4211530.5 |
|
45 |
688007.5,4211480.0 688016.0,4211347.5 |
|
46 |
688034.25,4211320.0 688082.5,4211210.5 |
|
47 |
688187.56,4211195.0 688252.88,4211157.0 |
|
48 |
688322.88,4211078.0 688447.13,4211087.5 |
|
49 |
688510.13,4211072.0 688560.63,4210978.0 |
|
50 |
688636.44,4210884.0 688731.31,4210845.0 |
|
51 |
688836.75,4210834.0 688894.81,4210771.5 |
|
52 |
688924.5,4210675.0 688961.25,4210556.5 |
|
53 |
689004.06,4210513.0 689076.06,4210423.5 |
|
54 |
689168.69,4210326.0 689224.44,4210222.5 |
|
55 |
689202.31,4210109.0 689115.06,4210083.5 |
|
56 |
689038.19,4210112.5 688937.81,4210167.5 |
|
57 |
688828.19,4210191.0 688721.63,4210183.5 |
|
58 |
688725.0,4210120.5 688765.13,4210073.0 |
|
59 |
688748.0,4210008.5 688685.38,4209983.5 |
|
60 |
688615.69,4209977.0 688564.06,4209945.0 |
|
61 |
688563.19,4209896.0 688594.06,4209817.0 |
|
62 |
688627.5,4209758.5 688602.38,4209677.5 |
|
63 |
688541.0,4209662.0 688479.81,4209671.0 |
|
64 |
688446.5,4209651.0 688397.5,4209591.0 |
|
65 |
688356.5,4209561.5 688355.5,4209531.5 |
|
66 |
688357.31,4209494.0 688368.75,4209461.0 |
|
67 |
688367.0,4209378.5 688409.94,4209362.5 |
|
68 |
688433.88,4209325.5 688488.06,4209313.5 |
|
69 |
688508.56,4209218.5 688583.0,4209158.0 |
|
70 |
688626.63,4209174.5 688709.31,4209239.5 |
|
71 |
688849.63,4209297.0 688900.56,4209393.5 |
|
72 |
688951.5,4209494.0 688989.5,4209521.5 |
|
73 |
689038.69,4209527.5 689201.88,4209478.5 |
|
74 |
689238.13,4209414.5 689273.88,4209259.0 |
|
75 |
689285.88,4209155.5 689325.88,4209116.0 |
|
76 |
689390.13,4209122.0 689452.06,4209083.0 |
|
77 |
689547.38,4209122.5 689603.75,4209090.0 |
|
78 |
689726.69,4208965.5 689773.63,4208921.0 |
|
79 |
689721.06,4208845.5 689592.56,4208842.5 |
|
80 |
689545.0,4208816.0 689556.5,4208759.0 |
|
81 |
689615.81,4208711.5 689694.0,4208682.5 |
|
82 |
689763.94,4208666.5 689833.81,4208653.5 |
|
83 |
689894.56,4208594.0 689920.31,4208481.0 |
|
84 |
689904.0,4208334.5 689876.75,4208234.0 |
|
85 |
689822.63,4208198.0 689689.75,4208176.0 |
|
86 |
689504.0,4208146.5 689409.81,4208059.0 |
|
87 |
689426.13,4208000.5 689440.38,4207954.0 |
|
88 |
689491.69,4207925.0 689534.81,4207897.0 |
|
89 |
689560.38,4207859.0 689573.56,4207798.5 |
|
90 |
689585.75,4207739.0 689598.94,4207683.0 |
|
91 |
689613.19,4207627.5 689590.38,4207560.0 |
|
92 |
689549.25,4207558.0 689514.31,4207566.5 |
|
93 |
689461.94,4207585.0 689410.44,4207548.0 |
|
94 |
689377.56,4207545.0 689315.88,4207556.5 |
|
95 |
689282.0,4207568.0 689296.63,4207650.0 |
|
96 |
689292.63,4207697.5 689277.38,4207744.0 |
|
97 |
689246.5,4207751.0 689222.69,4207678.0 |
|
98 |
689197.81,4207612.5 689109.44,4207617.0 |
|
99 |
689049.81,4207623.0 689084.06,4207729.0 |
|
100 |
689104.75,4207791.5 689119.38,4207866.5 |
|
101 |
689120.56,4207919.0 689060.06,4207974.5 |
|
102 |
689049.0,4208060.0 688982.31,4208108.5 |
|
103 |
688857.81,4208070.0 688844.5,4208097.5 |
|
104 |
688814.81,4208143.0 688707.44,4208163.5 |
|
105 |
688573.56,4208158.5 688514.75,4208158.5 |
|
106 |
688490.31,4208151.0 688471.06,4208144.5 |
|
107 |
688459.38,4208136.0 688445.25,4208117.0 |
|
108 |
688415.25,4208115.5 688403.25,4208093.5 |
|
109 |
688422.06,4208084.5 688440.0,4208067.0 |
|
110 |
688425.88,4208047.5 688411.75,4208026.5 |
|
111 |
688423.56,4208001.5 688455.0,4207981.5 |
|
112 |
688444.75,4207922.5 688464.88,4207899.0 |
|
113 |
688501.56,4207875.5 688505.25,4207844.5 |
|
114 |
688479.75,4207820.5 688459.81,4207782.0 |
|
115 |
688463.5,4207750.5 688485.75,4207722.0 |
|
116 |
688517.19,4207703.0 688524.19,4207659.5 |
|
117 |
688502.06,4207625.0 688468.81,4207631.5 |
|
118 |
688438.5,4207646.5 688373.88,4207611.5 |
|
119 |
688337.0,4207591.0 688327.25,4207556.5 |
|
120 |
688305.88,4207537.5 688287.94,4207555.0 |
|
121 |
688252.19,4207585.0 688192.38,4207571.5 |
|
122 |
688167.31,4207581.5 688160.75,4207601.0 |
|
123 |
688169.63,4207625.0 688191.13,4207636.0 |
|
124 |
688227.06,4207654.0 688217.44,4207670.5 |
|
125 |
688202.63,4207688.0 688210.25,4207721.0 |
|
126 |
688226.31,4207749.5 688231.94,4207782.5 |
|
127 |
688203.88,4207785.5 688191.31,4207794.5 |
|
128 |
688199.13,4207819.5 688216.25,4207844.5 |
|
129 |
688234.44,4207868.5 688228.88,4207890.5 |
|
130 |
688211.19,4207895.0 688179.31,4207883.0 |
|
131 |
688148.56,4207866.0 688104.88,4207820.5 |
|
132 |
688080.56,4207790.0 688062.38,4207767.0 |
|
133 |
688035.63,4207756.0 688004.38,4207766.0 |
|
134 |
687997.31,4207809.5 688003.94,4207846.0 |
|
135 |
688024.06,4207876.0 688019.31,4207907.0 |
|
136 |
687998.44,4207916.0 687995.81,4207946.0 |
|
137 |
688013.06,4207967.0 688019.75,4207996.0 |
|
138 |
687993.63,4208009.0 687983.75,4208040.0 |
|
139 |
688004.81,4208075.5 688028.88,4208120.5 |
|
140 |
687994.13,4208149.0 687937.19,4208167.0 |
|
141 |
687905.13,4208176.0 687888.63,4208187.0 |
|
142 |
687863.13,4208256.0 687848.38,4208335.5 |
|
143 |
687886.44,4208381.5 687940.56,4208472.0 |
|
144 |
688007.06,4208562.5 688027.13,4208614.0 |
|
145 |
688015.5,4208664.5 687987.75,4208675.5 |
|
146 |
687920.19,4208669.0 687892.38,4208691.0 |
|
147 |
687883.56,4208730.5 687894.25,4208761.0 |
|
148 |
687880.25,4208779.0 687834.94,4208759.0 |
|
149 |
687720.06,4208672.0 687501.06,4208523.0 |
|
150 |
687249.75,4208425.0 687129.81,4208415.0 |
|
151 |
687064.5,4208453.0 687088.44,4208525.0 |
|
152 |
687164.75,4208607.5 687326.88,4208778.0 |
|
153 |
687351.0,4208834.5 687408.13,4208905.5 |
|
154 |
687435.13,4208955.5 687430.75,4208972.0 |
|
155 |
687410.0,4208977.5 687324.75,4208951.5 |
|
156 |
687210.5,4208929.5 687126.06,4208952.0 |
|
157 |
687046.5,4209024.0 687012.25,4209115.0 |
|
158 |
687006.06,4209174.0 686982.31,4209197.5 |
|
159 |
686982.31,4209197.5 |
|
160 |
</gml:coordinates> |
|
161 |
</gml:LinearRing> |
|
162 |
</gml:outerBoundaryIs> |
|
163 |
</gml:Polygon> |
|
164 |
</gml:polygonMember> |
|
165 |
</gml:MultiPolygon> |
|
166 |
</cit:the_geom> |
|
167 |
<cit:level>55</cit:level> |
|
168 |
<cit:color>1</cit:color> |
|
169 |
<cit:entity>Complex Shape</cit:entity> |
|
170 |
<cit:layer>55</cit:layer> |
|
171 |
<cit:mslink_dmr>0</cit:mslink_dmr> |
|
172 |
<cit:tipo>Embalses</cit:tipo> |
|
173 |
<cit:codigo>Embalse de la Pedrera</cit:codigo> |
|
174 |
<cit:elevation>0.0</cit:elevation> |
|
175 |
</cit:polygons></gml:featureMember><gml:featureMember> |
|
176 |
<cit:polygons><cit:the_geom><gml:MultiPolygon srsName='0'> |
|
177 |
<gml:polygonMember> |
|
178 |
<gml:Polygon srsName='0'> |
|
179 |
<gml:outerBoundaryIs> |
|
180 |
<gml:LinearRing srsName='0'> |
|
181 |
<gml:coordinates> |
|
182 |
697871.19,4207945.5 697888.25,4207982.0 |
|
183 |
697920.81,4208013.5 697957.38,4208056.0 |
|
184 |
697973.13,4208108.0 697970.25,4208167.0 |
|
185 |
697962.25,4208217.5 697967.94,4208252.5 |
|
186 |
697945.5,4208305.0 697923.13,4208354.0 |
|
187 |
697928.5,4208410.0 697945.81,4208434.5 |
|
188 |
697952.69,4208464.5 697958.0,4208500.5 |
|
189 |
697964.38,4208541.5 697981.13,4208604.5 |
|
190 |
698022.63,4208663.0 698069.13,4208706.0 |
|
191 |
698106.31,4208741.5 698191.13,4208822.5 |
|
192 |
698181.0,4208869.0 698169.88,4208908.0 |
|
193 |
698150.56,4208958.5 698165.13,4208990.5 |
|
194 |
698168.44,4209033.0 698159.38,4209086.5 |
|
195 |
698146.25,4209139.0 698111.44,4209174.0 |
|
196 |
698123.0,4209222.5 698133.56,4209282.0 |
|
197 |
698113.25,4209344.0 698072.31,4209391.5 |
|
198 |
697996.13,4209384.5 697923.94,4209358.0 |
|
199 |
697873.5,4209357.5 697808.0,4209436.0 |
|
200 |
697806.13,4209477.0 697802.19,4209513.0 |
|
201 |
697755.88,4209526.5 697750.88,4209556.5 |
|
202 |
697779.75,4209566.5 697822.0,4209570.5 |
|
203 |
697859.06,4209581.0 697878.75,4209601.0 |
|
204 |
697889.25,4209640.5 697926.25,4209634.0 |
|
205 |
697947.0,4209666.0 697986.0,4209653.0 |
|
206 |
698031.31,4209651.0 698048.88,4209671.5 |
|
207 |
698036.75,4209710.5 698020.5,4209759.0 |
|
208 |
697995.0,4209806.5 698040.38,4209834.0 |
|
209 |
698054.63,4209800.0 698082.31,4209772.0 |
|
210 |
698119.44,4209784.5 698144.38,4209837.0 |
|
211 |
698158.69,4209822.5 698196.81,4209824.0 |
|
212 |
698226.69,4209833.5 698240.19,4209860.0 |
|
213 |
698239.38,4209902.0 698264.13,4209912.5 |
|
214 |
698280.63,4209926.5 698274.63,4209960.5 |
|
215 |
698292.25,4209984.5 698316.0,4210005.0 |
|
216 |
698351.13,4210023.0 698393.31,4210025.0 |
|
217 |
698449.88,4210014.5 698497.25,4210022.5 |
|
218 |
698514.88,4210051.0 698505.81,4210087.0 |
|
219 |
698476.06,4210110.0 698439.0,4210114.5 |
|
220 |
698415.5,4210144.5 698442.44,4210186.5 |
|
221 |
698481.69,4210220.0 698530.19,4210240.5 |
|
222 |
698591.0,4210260.0 698639.38,4210259.5 |
|
223 |
698665.25,4210282.0 698668.44,4210316.0 |
|
224 |
698666.63,4210366.5 698683.31,4210404.5 |
|
225 |
698735.81,4210413.5 698797.63,4210428.5 |
|
226 |
698853.38,4210456.0 698906.0,4210493.0 |
|
227 |
698953.5,4210517.5 699006.0,4210524.5 |
|
228 |
699049.25,4210517.0 699100.75,4210529.0 |
|
229 |
699146.0,4210525.0 699197.5,4210534.0 |
|
230 |
699227.5,4210562.5 699295.44,4210562.0 |
|
231 |
699368.56,4210573.0 699405.75,4210609.0 |
|
232 |
699474.94,4210650.0 699549.31,4210694.0 |
|
233 |
699612.25,4210739.0 699664.94,4210793.5 |
|
234 |
699719.56,4210816.0 699771.25,4210866.0 |
|
235 |
699828.0,4210900.0 699882.63,4210926.5 |
|
236 |
699882.44,4210860.5 699949.44,4210891.5 |
|
237 |
700007.19,4210917.0 700064.88,4210933.0 |
|
238 |
700118.31,4210901.0 700172.88,4210884.5 |
|
239 |
700211.88,4210864.5 700248.81,4210822.5 |
|
240 |
700282.63,4210777.0 700319.56,4210727.5 |
|
241 |
700369.88,4210690.0 700403.75,4210661.0 |
|
242 |
700460.25,4210620.0 700525.0,4210581.5 |
|
243 |
700593.94,4210577.0 700652.56,4210557.5 |
|
244 |
700719.44,4210540.5 700772.94,4210529.0 |
|
245 |
700833.63,4210511.5 700899.44,4210490.5 |
|
246 |
700983.75,4210460.5 701054.75,4210431.5 |
|
247 |
701080.44,4210422.0 701124.0,4210382.0 |
|
248 |
701175.38,4210341.0 701240.13,4210310.0 |
|
249 |
701289.44,4210309.0 701323.31,4210289.5 |
|
250 |
701344.94,4210256.5 701363.44,4210216.5 |
|
251 |
701410.69,4210219.5 701424.06,4210171.5 |
|
252 |
701447.69,4210134.5 701493.94,4210112.0 |
|
253 |
701500.13,4210059.5 701557.63,4210055.5 |
|
254 |
701598.75,4210011.0 701648.13,4209957.0 |
|
255 |
701681.0,4209908.5 701707.75,4209863.5 |
|
256 |
701735.5,4209812.0 701727.25,4209789.5 |
|
257 |
701740.63,4209766.5 701763.25,4209747.0 |
|
258 |
701784.81,4209738.0 701788.94,4209699.0 |
|
259 |
701799.25,4209653.5 701818.75,4209590.0 |
|
260 |
701834.19,4209548.0 701855.75,4209505.5 |
|
261 |
701883.5,4209457.5 701920.5,4209401.0 |
|
262 |
701953.44,4209348.5 701985.25,4209290.0 |
|
263 |
702000.69,4209247.0 702021.25,4209195.5 |
|
264 |
702025.38,4209139.0 702014.13,4209085.5 |
|
265 |
701964.81,4209063.0 701897.0,4209054.5 |
|
266 |
701832.25,4209048.5 701774.69,4209056.5 |
|
267 |
701767.5,4209098.0 701745.94,4209152.5 |
|
268 |
701727.38,4209201.5 701703.75,4209244.5 |
|
269 |
701680.13,4209287.0 701651.38,4209320.5 |
|
270 |
701606.13,4209360.0 701559.88,4209345.5 |
|
271 |
701551.69,4209318.5 701567.13,4209269.5 |
|
272 |
701574.31,4209242.5 701593.88,4209175.0 |
|
273 |
701578.44,4209137.0 701541.44,4209146.0 |
|
274 |
701502.38,4209153.0 701460.25,4209187.0 |
|
275 |
701395.5,4209210.5 701343.13,4209207.5 |
|
276 |
701269.13,4209208.5 701222.94,4209206.5 |
|
277 |
701156.13,4209218.0 701142.75,4209190.0 |
|
278 |
701144.81,4209160.5 701153.06,4209113.0 |
|
279 |
701144.88,4209079.0 701133.56,4209047.5 |
|
280 |
701121.25,4209017.5 701108.94,4208984.5 |
|
281 |
701113.06,4208945.5 701136.69,4208910.5 |
|
282 |
701170.63,4208874.5 701202.44,4208843.0 |
|
283 |
701227.13,4208816.0 701264.13,4208733.0 |
|
284 |
701288.81,4208721.5 701322.69,4208704.0 |
|
285 |
701351.5,4208673.5 701361.75,4208628.0 |
|
286 |
701384.38,4208608.5 701425.5,4208583.0 |
|
287 |
701459.38,4208564.5 701497.94,4208522.5 |
|
288 |
701515.88,4208487.5 701553.63,4208430.0 |
|
289 |
701602.31,4208417.5 701638.25,4208339.0 |
|
290 |
701674.06,4208267.5 701771.63,4208122.0 |
|
291 |
701865.25,4208149.5 701880.44,4208079.5 |
|
292 |
701902.19,4207980.0 701867.25,4207968.0 |
|
293 |
701836.94,4207907.0 701824.88,4207877.0 |
|
294 |
701837.63,4207839.0 701860.63,4207815.5 |
|
295 |
701838.25,4207782.0 701824.13,4207753.0 |
|
296 |
701798.75,4207712.5 701782.94,4207652.5 |
|
297 |
701765.06,4207585.0 701784.44,4207514.0 |
|
298 |
701770.31,4207483.0 701759.38,4207441.5 |
|
299 |
701777.75,4207366.5 701789.69,4207313.0 |
|
300 |
701798.56,4207254.5 701757.25,4207261.0 |
|
301 |
701749.38,4207224.0 701765.31,4207181.5 |
|
302 |
701765.88,4207129.0 701788.44,4207050.0 |
|
303 |
701815.06,4206969.5 701827.13,4206904.5 |
|
304 |
701845.25,4206852.5 701816.75,4206814.0 |
|
305 |
701725.69,4206713.5 701684.63,4206723.5 |
|
306 |
701644.25,4206734.5 701601.0,4206730.0 |
|
307 |
701469.06,4206616.0 701486.63,4206522.5 |
|
308 |
701499.0,4206329.5 701509.44,4206222.0 |
|
309 |
701512.31,4206149.0 701473.13,4206147.5 |
|
310 |
701365.25,4206104.0 701367.94,4206042.0 |
|
311 |
701388.06,4205999.0 701451.19,4205982.0 |
|
312 |
701499.0,4205951.5 701515.0,4205873.0 |
|
313 |
701515.31,4205871.5 701557.44,4205656.5 |
|
314 |
701481.5,4205627.0 701445.81,4205602.0 |
|
315 |
701447.31,4205577.0 701454.0,4205547.0 |
|
316 |
701427.63,4205518.0 701432.81,4205457.0 |
|
317 |
701400.25,4205430.5 701403.5,4205362.5 |
|
318 |
701387.0,4205361.0 701349.75,4205363.5 |
|
319 |
701270.63,4205341.5 701250.5,4205310.5 |
|
320 |
701193.06,4205287.5 701163.19,4205284.0 |
|
321 |
701133.5,4205269.0 701117.25,4205251.0 |
|
322 |
701091.06,4205214.5 701051.69,4205221.0 |
|
323 |
701022.75,4205223.5 701003.31,4205212.0 |
|
324 |
700946.63,4205146.0 700929.63,4205114.5 |
|
325 |
700930.06,4205087.0 700938.88,4205057.0 |
|
326 |
700915.69,4205023.5 700895.38,4205001.5 |
|
327 |
700849.63,4205022.5 700827.5,4205046.0 |
|
328 |
700795.56,4205041.0 700758.81,4205016.5 |
|
329 |
700709.31,4205012.0 700660.63,4205020.0 |
|
330 |
700597.44,4205031.5 700545.69,4205038.0 |
|
331 |
700494.81,4205052.5 700441.0,4205059.0 |
|
332 |
700395.63,4205057.0 700359.0,4205085.0 |
|
333 |
700320.63,4205094.0 700262.75,4205095.0 |
|
334 |
700208.19,4205083.5 700167.13,4205071.5 |
|
335 |
700163.19,4205118.0 700138.06,4205138.0 |
|
336 |
700103.31,4205177.0 700063.19,4205228.0 |
|
337 |
700025.13,4205281.0 699991.5,4205312.5 |
|
338 |
699924.44,4205308.0 699854.88,4205328.5 |
|
339 |
699815.81,4205377.5 699786.25,4205414.0 |
|
340 |
699763.06,4205443.5 699743.94,4205472.0 |
|
341 |
699722.25,4205475.0 699712.44,4205503.5 |
|
342 |
699695.13,4205551.0 699678.63,4205607.5 |
|
343 |
699652.44,4205627.5 699602.0,4205619.5 |
|
344 |
699564.56,4205633.5 699520.75,4205658.5 |
|
345 |
699478.63,4205706.0 699448.81,4205756.5 |
|
346 |
699439.44,4205823.0 699426.81,4205895.5 |
|
347 |
699422.38,4205972.5 699405.0,4206021.0 |
|
348 |
699406.56,4206050.0 699461.0,4206069.5 |
|
349 |
699503.0,4206086.5 699492.0,4206127.0 |
|
350 |
699456.25,4206139.5 699412.25,4206172.0 |
|
351 |
699368.88,4206228.0 699340.31,4206263.5 |
|
352 |
699310.69,4206244.5 699291.88,4206256.5 |
|
353 |
699219.56,4206255.0 699175.0,4206261.5 |
|
354 |
699122.0,4206274.5 699090.63,4206303.0 |
|
355 |
699060.0,4206348.0 699033.81,4206374.5 |
|
356 |
699003.88,4206373.0 698979.44,4206353.0 |
|
357 |
698939.13,4206281.0 698898.25,4206252.5 |
|
358 |
698885.31,4206291.5 698855.44,4206285.0 |
|
359 |
698821.63,4206268.0 698828.06,4206324.0 |
|
360 |
698833.13,4206472.5 698832.13,4206541.5 |
|
361 |
698799.81,4206564.0 698766.38,4206590.5 |
|
362 |
698739.81,4206643.5 698696.75,4206694.5 |
|
363 |
698649.69,4206663.0 698609.5,4206658.5 |
|
364 |
698605.06,4206679.0 698678.44,4206746.0 |
|
365 |
698770.13,4206762.0 698821.06,4206806.0 |
|
366 |
698810.88,4206870.0 698800.69,4206930.5 |
|
367 |
698796.75,4206989.5 698784.38,4207059.5 |
|
368 |
698763.88,4207120.0 698740.13,4207190.0 |
|
369 |
698715.25,4207268.0 698664.06,4207312.5 |
|
370 |
698621.38,4207333.5 698601.44,4207356.0 |
|
371 |
698574.0,4207397.0 698545.69,4207429.5 |
|
372 |
698501.0,4207446.5 698432.0,4207436.5 |
|
373 |
698374.38,4207423.0 698322.69,4207427.5 |
|
374 |
698262.75,4207433.0 698209.06,4207431.0 |
|
375 |
698177.69,4207456.5 698144.13,4207494.0 |
|
376 |
698106.5,4207524.5 698058.63,4207552.5 |
|
377 |
697993.31,4207571.5 697944.69,4207578.0 |
|
378 |
697921.63,4207598.0 697918.5,4207672.5 |
|
379 |
697939.31,4207732.5 697975.81,4207778.5 |
|
380 |
697976.38,4207813.0 697934.63,4207846.0 |
|
381 |
697885.38,4207895.0 697871.19,4207945.5 |
|
382 |
697871.19,4207945.5 |
|
383 |
</gml:coordinates> |
|
384 |
</gml:LinearRing> |
|
385 |
</gml:outerBoundaryIs> |
|
386 |
</gml:Polygon> |
|
387 |
</gml:polygonMember> |
|
388 |
</gml:MultiPolygon> |
|
389 |
</cit:the_geom> |
|
390 |
<cit:level>55</cit:level> |
|
391 |
<cit:color>1</cit:color> |
|
392 |
<cit:entity>Complex Shape</cit:entity> |
|
393 |
<cit:layer>55</cit:layer> |
|
394 |
<cit:mslink_dmr>0</cit:mslink_dmr> |
|
395 |
<cit:tipo>Embalses</cit:tipo> |
|
396 |
<cit:codigo>Salinas de Torrevieja</cit:codigo> |
|
397 |
<cit:elevation>0.0</cit:elevation> |
|
398 |
</cit:polygons></gml:featureMember><gml:featureMember> |
|
399 |
<cit:polygons><cit:the_geom><gml:MultiPolygon srsName='0'> |
|
400 |
<gml:polygonMember> |
|
401 |
<gml:Polygon srsName='0'> |
|
402 |
<gml:outerBoundaryIs> |
|
403 |
<gml:LinearRing srsName='0'> |
|
404 |
<gml:coordinates> |
|
405 |
702663.13,4211798.0 702622.06,4211833.0 |
|
406 |
702587.13,4211841.5 702546.13,4211882.5 |
|
407 |
702489.69,4211919.5 702440.38,4211956.0 |
|
408 |
702387.0,4211987.0 702320.38,4212065.0 |
|
409 |
702274.19,4212093.0 702237.25,4212118.5 |
|
410 |
702183.88,4212156.0 702141.75,4212165.0 |
|
411 |
702062.63,4212173.5 702019.56,4212228.0 |
|
412 |
701899.25,4212229.5 701866.44,4212264.5 |
|
413 |
701820.25,4212302.5 701735.94,4212292.5 |
|
414 |
701675.44,4212348.0 701608.63,4212339.0 |
|
415 |
701517.13,4212339.5 701457.44,4212331.0 |
|
416 |
701420.5,4212353.0 701378.44,4212384.0 |
|
417 |
701308.5,4212364.5 701279.88,4212448.0 |
|
418 |
701250.25,4212515.5 701232.88,4212554.0 |
|
419 |
701238.06,4212579.5 701213.63,4212685.5 |
|
420 |
701181.81,4212719.5 701146.94,4212738.0 |
|
421 |
701122.25,4212747.5 701124.38,4212778.0 |
|
422 |
701156.31,4212790.5 701246.06,4212933.0 |
|
423 |
701238.94,4212969.0 701261.63,4213008.0 |
|
424 |
701290.5,4213035.0 701324.5,4213085.0 |
|
425 |
701359.5,4213095.5 701397.56,4213110.5 |
|
426 |
701403.81,4213141.5 701400.81,4213171.5 |
|
427 |
701415.25,4213185.5 701478.0,4213198.0 |
|
428 |
701531.44,4213208.0 701579.81,4213226.5 |
|
429 |
701624.13,4213261.0 701647.81,4213300.0 |
|
430 |
701669.38,4213292.0 701699.25,4213295.0 |
|
431 |
701718.81,4213315.5 701732.19,4213332.0 |
|
432 |
701768.19,4213332.0 701799.0,4213333.0 |
|
433 |
701845.56,4213349.5 701893.94,4213342.0 |
|
434 |
701898.13,4213399.0 701913.56,4213405.0 |
|
435 |
701954.75,4213376.0 702013.44,4213394.5 |
|
436 |
702104.0,4213358.5 702158.63,4213405.0 |
|
437 |
702237.88,4213402.5 702260.56,4213429.5 |
|
438 |
702382.06,4213454.0 702427.31,4213381.0 |
|
439 |
702488.06,4213408.5 702529.25,4213396.0 |
|
440 |
702560.19,4213409.5 702603.38,4213409.5 |
|
441 |
702628.06,4213374.5 702681.63,4213380.5 |
|
442 |
702713.5,4213343.5 702730.0,4213318.0 |
|
443 |
702753.63,4213309.5 702789.75,4213406.5 |
|
444 |
702837.13,4213415.5 702852.63,4213439.0 |
|
445 |
702892.75,4213422.5 702906.13,4213443.5 |
|
446 |
702958.63,4213462.0 702989.5,4213446.5 |
|
447 |
703029.69,4213466.0 703083.25,4213449.5 |
|
448 |
703128.56,4213453.5 703177.38,4213425.0 |
|
449 |
703212.5,4213418.0 703249.69,4213422.0 |
|
450 |
703271.38,4213440.5 703310.63,4213442.5 |
|
451 |
703353.94,4213413.5 703399.44,4213418.5 |
|
452 |
703438.69,4213442.5 703463.5,4213446.5 |
|
453 |
703535.69,4213383.0 703580.06,4213372.0 |
|
454 |
703670.0,4213401.5 703694.75,4213398.5 |
|
455 |
703715.38,4213374.5 703737.0,4213360.0 |
|
456 |
703791.75,4213359.0 703796.94,4213373.5 |
|
457 |
703752.63,4213418.0 703721.75,4213458.5 |
|
458 |
703785.75,4213458.0 703867.44,4213524.0 |
|
459 |
703938.63,4213485.0 703981.0,4213483.5 |
|
460 |
704030.63,4213500.0 704096.75,4213520.5 |
|
461 |
704124.56,4213488.5 704151.38,4213484.5 |
|
462 |
704197.94,4213504.0 704254.75,4213531.5 |
|
463 |
704284.75,4213557.5 704254.94,4213620.5 |
|
464 |
704314.81,4213608.0 704348.88,4213613.0 |
|
465 |
704390.25,4213631.5 704433.69,4213656.5 |
|
466 |
704460.5,4213632.5 704485.25,4213617.0 |
|
467 |
704536.0,4213699.5 704561.81,4213693.5 |
|
468 |
704571.06,4213676.5 704575.13,4213654.0 |
|
469 |
704579.25,4213631.5 704584.38,4213620.0 |
|
470 |
704604.0,4213617.0 704614.25,4213581.5 |
|
471 |
704589.44,4213541.5 704569.75,4213525.0 |
|
472 |
704572.75,4213480.5 704580.94,4213439.0 |
|
473 |
704590.19,4213411.5 704576.75,4213385.5 |
|
474 |
704561.25,4213373.0 704558.06,4213344.0 |
|
475 |
704547.69,4213320.5 704520.81,4213301.0 |
|
476 |
704502.19,4213278.0 704489.75,4213249.5 |
|
477 |
704474.19,4213221.5 704480.69,4213192.5 |
|
478 |
704486.75,4213174.0 704434.94,4213107.0 |
|
479 |
704438.88,4213075.5 704434.56,4213041.5 |
|
480 |
704421.0,4213010.5 704431.13,4212982.0 |
|
481 |
704450.5,4212954.0 704437.63,4212866.5 |
|
482 |
704445.75,4212847.0 704460.94,4212812.0 |
|
483 |
704455.25,4212718.5 704456.25,4212693.5 |
|
484 |
704457.06,4212674.0 704467.13,4212632.0 |
|
485 |
704485.38,4212605.5 704491.56,4212596.5 |
|
486 |
704513.94,4212556.5 704514.69,4212507.0 |
|
487 |
704505.19,4212462.0 704499.81,4212422.0 |
|
488 |
704521.25,4212396.0 704554.0,4212374.0 |
|
489 |
704567.25,4212344.5 704552.5,4212288.0 |
|
490 |
704527.75,4212279.5 704510.19,4212266.5 |
|
491 |
704513.13,4212242.0 704624.13,4212230.0 |
|
492 |
704645.63,4212207.0 704644.13,4212129.0 |
|
493 |
704684.13,4212115.5 704707.19,4212008.0 |
|
494 |
704741.06,4211999.5 704784.13,4211970.5 |
|
495 |
704842.94,4211912.0 704887.88,4211859.5 |
|
496 |
704925.88,4211852.0 704961.5,4211775.5 |
|
497 |
704979.94,4211765.5 705007.63,4211754.0 |
|
498 |
705031.13,4211726.0 705042.13,4211666.5 |
|
499 |
705039.94,4211644.0 705021.44,4211638.0 |
|
500 |
704996.69,4211622.5 704979.13,4211602.0 |
|
501 |
704972.88,4211580.5 705017.06,4211580.5 |
|
502 |
705036.44,4211553.5 705046.63,4211531.0 |
|
503 |
705063.06,4211528.5 705078.5,4211530.5 |
|
504 |
705089.81,4211537.0 705113.44,4211539.0 |
|
505 |
705123.69,4211530.5 705132.88,4211521.0 |
|
506 |
705133.88,4211510.0 705131.75,4211498.5 |
|
507 |
705125.5,4211488.5 705106.94,4211472.0 |
|
508 |
705123.31,4211450.5 705136.56,4211429.0 |
|
509 |
705148.81,4211412.5 705153.69,4211399.0 |
|
510 |
705133.06,4211348.5 705104.19,4211308.5 |
|
511 |
705082.5,4211296.0 705051.56,4211266.0 |
|
512 |
705017.5,4211231.0 704978.31,4211209.5 |
|
513 |
704968.0,4211162.0 704957.69,4211125.0 |
|
514 |
704920.56,4211095.0 704885.5,4211069.0 |
|
515 |
704879.31,4211013.5 704871.06,4210981.5 |
|
516 |
704821.56,4210956.5 704766.88,4210937.0 |
|
517 |
704729.75,4210933.0 704689.5,4210954.5 |
|
518 |
704656.5,4210969.0 704594.63,4210963.0 |
|
519 |
704546.13,4210960.0 704492.5,4210953.5 |
|
520 |
704445.06,4210932.0 704401.75,4210927.0 |
|
521 |
704364.63,4210936.0 704322.31,4210921.5 |
|
522 |
704276.94,4210902.0 704216.13,4210897.0 |
|
523 |
704163.5,4210909.0 704115.0,4210936.0 |
|
524 |
704058.25,4210949.5 704004.63,4210956.5 |
|
525 |
703994.31,4211038.0 703973.69,4211064.0 |
|
526 |
703946.88,4211091.0 703908.75,4211085.5 |
|
527 |
703873.63,4211061.0 703827.25,4211055.5 |
|
528 |
703794.25,4211091.0 703759.13,4211115.5 |
|
529 |
703714.75,4211155.0 703699.38,4211174.0 |
|
530 |
703678.88,4211175.0 703662.31,4211167.0 |
|
531 |
703634.81,4211204.0 703584.63,4211239.5 |
|
532 |
703534.44,4211277.5 703481.13,4211314.0 |
|
533 |
703443.31,4211351.0 703390.0,4211384.5 |
|
534 |
703328.5,4211413.5 703259.81,4211457.0 |
|
535 |
703201.44,4211499.5 703147.13,4211531.0 |
|
536 |
703094.88,4211564.0 703040.63,4211613.0 |
|
537 |
702994.69,4211668.5 702936.31,4211712.0 |
|
538 |
702859.44,4211755.0 702821.38,4211777.0 |
|
539 |
702791.63,4211800.0 702762.88,4211803.0 |
|
540 |
702725.81,4211788.5 702691.88,4211784.5 |
|
541 |
702663.13,4211798.0 702663.13,4211798.0 |
|
542 |
</gml:coordinates> |
|
543 |
</gml:LinearRing> |
|
544 |
</gml:outerBoundaryIs> |
|
545 |
</gml:Polygon> |
|
546 |
</gml:polygonMember> |
|
547 |
</gml:MultiPolygon> |
|
548 |
</cit:the_geom> |
|
549 |
<cit:level>55</cit:level> |
|
550 |
<cit:color>1</cit:color> |
|
551 |
<cit:entity>Complex Shape</cit:entity> |
|
552 |
<cit:layer>55</cit:layer> |
|
553 |
<cit:mslink_dmr>0</cit:mslink_dmr> |
|
554 |
<cit:tipo>Embalses</cit:tipo> |
|
555 |
<cit:codigo>Salinas de la Mata</cit:codigo> |
|
556 |
<cit:elevation>0.0</cit:elevation> |
|
557 |
</cit:polygons></gml:featureMember></gml:FeatureCollection> |
org.gvsig.gpe/library/tags/org.gvsig.gpe-2.1.6/org.gvsig.gpe.app/org.gvsig.gpe.app.mainplugin/src/test/resources/testdata/GMLNomenclatorIdee.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:mne="http://www.idee.es/mne" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xlink="http://www.w3.org/1999/xlink" targetNamespace="http://www.idee.es/mne" version="1.2.0"> |
|
2 |
<annotation> |
|
3 |
<appinfo>mne.xsd v1.2.0 2006-11</appinfo> |
|
4 |
<documentation xml:lang="es"> |
|
5 |
Especificaci?n del modelo de intercambio en GML del Modelo |
|
6 |
de Nomencl?tor de Espa?a v 1.2 |
|
7 |
</documentation> |
|
8 |
</annotation> |
|
9 |
<import namespace="http://www.opengis.net/gml" schemaLocation="http://10.13.87.19:80/wfs/IDEE-WFS-Nomenclator/schemas/feature.xsd"/> |
|
10 |
<import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://10.13.87.19:80/wfs/IDEE-WFS-Nomenclator/schemas/xlinks.xsd"/> |
|
11 |
<!-- ============================================================== |
|
12 |
declaraciones de elementos globales |
|
13 |
=================================================================== --> |
|
14 |
<element name="ResultCollection" substitutionGroup="gml:_FeatureCollection" type="mne:ResultCollectionType"/> |
|
15 |
<element name="Entidad" substitutionGroup="gml:_Feature" type="mne:EntidadFeatureType"> |
|
16 |
<annotation> |
|
17 |
<documentation xml:lang="es"> |
|
18 |
Cada entidad de un Nomencl?tor debe tener su propio |
|
19 |
identificador. Para ello se utiliza el atributo fid |
|
20 |
heredado de gml:_Feature. |
|
21 |
</documentation> |
|
22 |
</annotation> |
|
23 |
</element> |
|
24 |
|
|
25 |
<!-- ============================================================== |
|
26 |
declaraci?n de propiedades adicionales |
|
27 |
[GML 2.1.2 Implementation Specification 5.2.1 Defining new feature types] |
|
28 |
EntidadFeatureType |
|
29 |
=================================================================== --> |
|
30 |
|
|
31 |
<!-- ============================================================== |
|
32 |
definici?n de tipos de features |
|
33 |
EntidadFeatureType |
|
34 |
=================================================================== --> |
|
35 |
<complexType name="ResultCollectionType"> |
|
36 |
<complexContent> |
|
37 |
<extension base="gml:AbstractFeatureCollectionType"/> |
|
38 |
</complexContent> |
|
39 |
</complexType> |
|
40 |
<complexType name="EntidadFeatureType"> |
|
41 |
<annotation> |
|
42 |
<documentation xml:lang="es"> |
|
43 |
Cada una de las entradas que se realicen en el MNE |
|
44 |
coresponder? a una entidad geogr?fica, entendiendo como |
|
45 |
tal, un fen?meno del mundo real que tiene asociada una |
|
46 |
localizaci?n ligada a la Tierra. Ejemplos de instancias |
|
47 |
de entidades geogr?ficas ser?an el rio Ebro, el puerto |
|
48 |
de M?laga, Los Pirineos, o una direcci?n postal. Cada |
|
49 |
entidad en un nomencl?tor debe tener su propio |
|
50 |
identificador (IdEntidad). El responsable del |
|
51 |
nomencl?tor ser? el encargado de asignar los |
|
52 |
identificadores, que ser?n ?nicos en el ?mbito del |
|
53 |
nomencl?tor. En esta implementaci?n, el atributo fid |
|
54 |
representa este identificador. |
|
55 |
</documentation> |
|
56 |
</annotation> |
|
57 |
<complexContent> |
|
58 |
<extension base="gml:AbstractFeatureType"> |
|
59 |
<sequence maxOccurs="1" minOccurs="1"> |
|
60 |
<element maxOccurs="unbounded" name="nombreEntidad" type="mne:NombreEntidadType"> |
|
61 |
<annotation> |
|
62 |
<documentation xml:lang="es"> |
|
63 |
Cada uno de los nombre de la entidad. |
|
64 |
</documentation> |
|
65 |
</annotation> |
|
66 |
</element> |
|
67 |
<element maxOccurs="unbounded" minOccurs="1" name="tipoEntidad" type="mne:TipoEntidadType"> |
|
68 |
<annotation> |
|
69 |
<documentation xml:lang="es"> |
|
70 |
Los tipos, clases o categor?as de la |
|
71 |
entidad. |
|
72 |
</documentation> |
|
73 |
</annotation> |
|
74 |
</element> |
|
75 |
<element maxOccurs="unbounded" minOccurs="1" name="posicionEspacial" type="mne:PosicionEspacialType"> |
|
76 |
<annotation> |
|
77 |
<documentation xml:lang="es"> |
|
78 |
Una entidad puede georrefereciarse |
|
79 |
mediante un punto, una l?nea, una |
|
80 |
superficie o mediante un m?nimo |
|
81 |
rect?ngulo envolvente (bounding box). Al |
|
82 |
menos se recomienda georreferenciar un |
|
83 |
top?nimo por medio de un punto. |
|
84 |
</documentation> |
|
85 |
</annotation> |
|
86 |
</element> |
|
87 |
<element maxOccurs="unbounded" minOccurs="1" name="entidadLocal" type="mne:EntidadLocalType"> |
|
88 |
<annotation> |
|
89 |
<documentation xml:lang="es"> |
|
90 |
Se especifica la ubicaci?n geogr?fica de |
|
91 |
la entidad. S?lo se utilizan entidades |
|
92 |
registradas en el Registro de Entidades |
|
93 |
Locales del MAP y en cada uno de estos |
|
94 |
campos se deber?a utilizar el c?digo de |
|
95 |
la entidad Local (INE) para |
|
96 |
identificarla. Este tipo puede ser |
|
97 |
extendido si se desea incorporar las |
|
98 |
Comunidades Aut?nomas, o cualquier otro |
|
99 |
tipo de entidad territoria. |
|
100 |
</documentation> |
|
101 |
</annotation> |
|
102 |
</element> |
|
103 |
<element maxOccurs="unbounded" minOccurs="0" name="codificacion" type="mne:CodificacionType"> |
|
104 |
<annotation> |
|
105 |
<documentation xml:lang="es"> |
|
106 |
El c?digo identifica a la entidad, un |
|
107 |
rio, un municipio, etc. Es una |
|
108 |
descripci?n alfanum?rica de la entidad, |
|
109 |
pero este campo no se utiliza para |
|
110 |
describir las entidades por las que |
|
111 |
transcurre la entidad, como es en el |
|
112 |
caso de los campos Mapa o EntidadLocal. |
|
113 |
</documentation> |
|
114 |
</annotation> |
|
115 |
</element> |
|
116 |
<element maxOccurs="unbounded" minOccurs="0" name="mapa" type="mne:MapaType"> |
|
117 |
<annotation> |
|
118 |
<documentation xml:lang="es"> |
|
119 |
Nombre de la Serie cartogr?fica y Hojas |
|
120 |
que contienen a la entidad. |
|
121 |
</documentation> |
|
122 |
</annotation> |
|
123 |
</element> |
|
124 |
<element maxOccurs="1" minOccurs="0" name="nivel" type="mne:NivelType"> |
|
125 |
<annotation> |
|
126 |
<documentation xml:lang="es"> |
|
127 |
Valor num?rico asignado a un subconjunto |
|
128 |
de top?nimos dentro de un nomencl?tor |
|
129 |
para ordenarlos seg?n una gradaci?n de |
|
130 |
resoluciones. Si todos los top?nimos de |
|
131 |
un nomencl?tor han sido extraidos de un |
|
132 |
mismo mapa o corresponden a una misma |
|
133 |
resoluci?n tendr?n el mismo nivel. |
|
134 |
</documentation> |
|
135 |
</annotation> |
|
136 |
</element> |
|
137 |
<element maxOccurs="unbounded" minOccurs="0" name="direccion" type="mne:DireccionType"> |
|
138 |
<annotation> |
|
139 |
<documentation xml:lang="es"> |
|
140 |
Direcci?n f?sica donde se ubica la |
|
141 |
entidad. |
|
142 |
</documentation> |
|
143 |
</annotation> |
|
144 |
</element> |
|
145 |
<element maxOccurs="unbounded" minOccurs="0" name="entidadRelacionada" type="mne:EntidadRelacionadaType"> |
|
146 |
<annotation> |
|
147 |
<documentation xml:lang="es"> |
|
148 |
Relaci?n expl?cita con otra entidad que |
|
149 |
se se encuentra en el modelo |
|
150 |
</documentation> |
|
151 |
</annotation> |
|
152 |
</element> |
|
153 |
<element maxOccurs="unbounded" minOccurs="0" name="atributoEntidad" type="mne:AtributoEntidadType"> |
|
154 |
<annotation> |
|
155 |
<documentation xml:lang="es"> |
|
156 |
Permite itnroducir otros datos |
|
157 |
relacionados con la entidad como son el |
|
158 |
n?mero de habitantes, el tipo de |
|
159 |
poblaci?n o la altitud. |
|
160 |
</documentation> |
|
161 |
</annotation> |
|
162 |
</element> |
|
163 |
<element maxOccurs="unbounded" minOccurs="0" name="evento" type="mne:EventoType"> |
|
164 |
<annotation> |
|
165 |
<documentation xml:lang="es"> |
|
166 |
Deja constancia de los eventos o sucesos |
|
167 |
ocurridos a nivel f?sico en el conjunto |
|
168 |
de datos y relacionados con la entrada |
|
169 |
correspondiente. |
|
170 |
</documentation> |
|
171 |
</annotation> |
|
172 |
</element> |
|
173 |
|
|
174 |
<element maxOccurs="1" minOccurs="0" name="observaciones" type="string"> |
|
175 |
<annotation> |
|
176 |
<documentation xml:lang="es"> |
|
177 |
Observaciones sobre la entidad |
|
178 |
</documentation> |
|
179 |
</annotation> |
|
180 |
</element> |
|
181 |
</sequence> |
|
182 |
</extension> |
|
183 |
</complexContent> |
|
184 |
</complexType> |
|
185 |
|
|
186 |
<!-- ============================================================== |
|
187 |
definici�n de tipos complejos |
|
188 |
NombreEntidadType |
|
189 |
TipoEntidadType |
|
190 |
SistemaCodificacionType |
|
191 |
EntidadLocalType |
|
192 |
ProvinciaType |
|
193 |
MunicipioType |
|
194 |
=================================================================== --> |
|
195 |
<complexType name="NombreEntidadType"> |
|
196 |
<annotation> |
|
197 |
<documentation xml:lang="es"> |
|
198 |
Cada uno de los nombre de la entidad. |
|
199 |
</documentation> |
|
200 |
</annotation> |
|
201 |
<sequence maxOccurs="1" minOccurs="1"> |
|
202 |
<element maxOccurs="1" minOccurs="1" name="nombre" type="string"> |
|
203 |
<annotation> |
|
204 |
<documentation xml:lang="es"> |
|
205 |
Nombre de la entidad, el top?nimo. Se recomienda |
|
206 |
no utlizar abreviaturas, pero si se utilizan se |
|
207 |
aconseja describir el significado de estas. |
|
208 |
</documentation> |
|
209 |
</annotation> |
|
210 |
</element> |
|
211 |
<element maxOccurs="1" minOccurs="0" name="etimologia" type="string"> |
|
212 |
<annotation> |
|
213 |
<documentation xml:lang="es"> |
|
214 |
La etimolog?a del nombre es el origen de las |
|
215 |
palabras, de su significaci?n y de su forma. |
|
216 |
</documentation> |
|
217 |
</annotation> |
|
218 |
</element> |
|
219 |
<element maxOccurs="1" minOccurs="0" name="pronunciacion" type="string"> |
|
220 |
<annotation> |
|
221 |
<documentation xml:lang="es"> |
|
222 |
Representaci?n fon?tica del nombre |
|
223 |
(transcripci?n), seg?n el Alfabeto Fon?tico |
|
224 |
Internacional, AFI. Si se uitliza un sistema |
|
225 |
gr?fico indicar cu?l se utiliza en la |
|
226 |
descripci?n. |
|
227 |
</documentation> |
|
228 |
</annotation> |
|
229 |
</element> |
|
230 |
<element maxOccurs="1" minOccurs="1" name="idioma" type="mne:IdiomaType"> |
|
231 |
<annotation> |
|
232 |
<documentation xml:lang="es"> |
|
233 |
El idioma del nombre de la entidad en funci?n |
|
234 |
del c?digo dado por la norma ISO639-2 |
|
235 |
</documentation> |
|
236 |
</annotation> |
|
237 |
</element> |
|
238 |
<element maxOccurs="1" minOccurs="1" name="claseNombre" type="mne:ClaseNombreType"> |
|
239 |
<annotation> |
|
240 |
<documentation xml:lang="es"> |
|
241 |
El nombre de la entidad puede tener diferentes |
|
242 |
apreciaciones, aunque Lleida y L?rida hacen |
|
243 |
referencia a la misma entidad, el segundo se |
|
244 |
refiere al nombre anterior, mientras que el |
|
245 |
primero al preferente, de esta manera en este |
|
246 |
campo se distingue todas las diferentes |
|
247 |
apreciaciones de tratamiento que puede tener el |
|
248 |
nombre de una entidad. |
|
249 |
</documentation> |
|
250 |
</annotation> |
|
251 |
</element> |
|
252 |
<element maxOccurs="1" minOccurs="1" name="estatus" type="mne:EstatusType"> |
|
253 |
<annotation> |
|
254 |
<documentation xml:lang="es"> |
|
255 |
Si el top?nimo es ofical, normalizado o ninguna |
|
256 |
de las dos cosas. Desde la versi?n 1.2 sustituye |
|
257 |
a "oficial" y "normalizado". |
|
258 |
</documentation> |
|
259 |
</annotation> |
|
260 |
</element> |
|
261 |
|
|
262 |
<element maxOccurs="1" minOccurs="1" name="fuente" type="string"> |
|
263 |
<annotation> |
|
264 |
<documentation xml:lang="es"> |
|
265 |
Identificador de la fuente de la que se ha |
|
266 |
obtenido el top?nimo. Si se ha utilizado Dublin |
|
267 |
Core Metadata Element Set para catalogarla este |
|
268 |
campo debe corresponder con el campo identifier. |
|
269 |
</documentation> |
|
270 |
</annotation> |
|
271 |
</element> |
|
272 |
</sequence> |
|
273 |
</complexType> |
|
274 |
<complexType name="TipoEntidadType"> |
|
275 |
<annotation> |
|
276 |
<documentation xml:lang="es"> |
|
277 |
Los tipos, clases o categor?as de la entidad. |
|
278 |
</documentation> |
|
279 |
</annotation> |
|
280 |
<sequence maxOccurs="1" minOccurs="1"> |
|
281 |
<element maxOccurs="1" minOccurs="1" name="tipo" type="string"> |
|
282 |
<annotation> |
|
283 |
<documentation xml:lang="es"> |
|
284 |
El tipo o clase de la entidad (r?o, cordillera, |
|
285 |
municipio, etc.) |
|
286 |
</documentation> |
|
287 |
</annotation> |
|
288 |
</element> |
|
289 |
<element maxOccurs="1" minOccurs="1" name="catalogoEntidades" type="string"> |
|
290 |
<annotation> |
|
291 |
<documentation xml:lang="es"> |
|
292 |
El cat?logo de entidades en el que se clasifican |
|
293 |
jer?rquicamente los tipos de las entidades |
|
294 |
utilizados en el nomencl?tor. Se recomienda dar |
|
295 |
la URL de un cat?logo accesible en red. |
|
296 |
</documentation> |
|
297 |
</annotation> |
|
298 |
</element> |
|
299 |
</sequence> |
|
300 |
</complexType> |
|
301 |
<complexType name="EntidadLocalType"> |
|
302 |
<annotation> |
|
303 |
<documentation xml:lang="es"> |
|
304 |
Se especifica la ubicaci?n geogr?fica de la entidad. |
|
305 |
S?lo se utilizan entidades registradas en el Registro de |
|
306 |
Entidades Locales del MAP y en cada uno de estos campos |
|
307 |
se deber?a utilizar el c?digo de la entidad Local (INE) |
|
308 |
para identificarla. Este tipo puede ser extendido si se |
|
309 |
desea incorporar las Comunidades Aut?nomas, o cualquier |
|
310 |
otro tipo de entidad territoria. |
|
311 |
</documentation> |
|
312 |
</annotation> |
|
313 |
<choice maxOccurs="1" minOccurs="1"> |
|
314 |
<element maxOccurs="unbounded" minOccurs="1" name="provincia" type="string"> |
|
315 |
<annotation> |
|
316 |
<documentation xml:lang="es"> |
|
317 |
La provincia o provincias donde se encuentra la |
|
318 |
entidad, dando como m?nimo la provincia donde se |
|
319 |
encuentra el punto que sirve de referencia |
|
320 |
geogr?fica de la entidad. En el caso de que sean |
|
321 |
varios puntos (entidades lineales, superficiales |
|
322 |
o puntuales como Picos situados en el l?mite |
|
323 |
entre dos o m?s unidades administrativas), se |
|
324 |
puede especificar una de las provicias, varias o |
|
325 |
todas. Si no se puede asignar ninguna provincia, |
|
326 |
se deber? utilizar el valor "no aplica", al ser |
|
327 |
este un campo obligatorio. |
|
328 |
</documentation> |
|
329 |
</annotation> |
|
330 |
</element> |
|
331 |
<element maxOccurs="unbounded" minOccurs="0" name="municipio" type="string"> |
|
332 |
<annotation> |
|
333 |
<documentation xml:lang="es"> |
|
334 |
El municipio o municipios de la entidad. En caso |
|
335 |
de utilizar un nombre geogr?fico hay que |
|
336 |
completarlo con el nombre de la entidad local |
|
337 |
que lo contiene siguiendo el patr?n "nombre de |
|
338 |
municipio(nombre de provincia)" |
|
339 |
</documentation> |
|
340 |
</annotation> |
|
341 |
</element> |
|
342 |
<element maxOccurs="unbounded" minOccurs="0" name="comarca" type="string"> |
|
343 |
<annotation> |
|
344 |
<documentation xml:lang="es"> |
|
345 |
La comarca o comarcas administrativas. En caso |
|
346 |
de utilizar un nombre geogr?fico hay que |
|
347 |
completarlo con el nombre de la entidad local |
|
348 |
que lo contiene siguiendo el patr?n "nombre de |
|
349 |
comarca(nombre de comunidad aut?noma)" |
|
350 |
</documentation> |
|
351 |
</annotation> |
|
352 |
</element> |
|
353 |
<element maxOccurs="unbounded" minOccurs="0" name="isla" type="string"> |
|
354 |
<annotation> |
|
355 |
<documentation xml:lang="es"> |
|
356 |
La isla o islas de la entidad. En caso de |
|
357 |
utilizar un nombre geogr?fico hay que |
|
358 |
completarlo con el nombre de la entidad local |
|
359 |
que lo contiene siguiendo el patr?n "nombre de |
|
360 |
isla(nombre de provincia)" |
|
361 |
|
|
362 |
</documentation> |
|
363 |
</annotation> |
|
364 |
</element> |
|
365 |
<element maxOccurs="unbounded" minOccurs="0" name="EATIM" type="mne:EATIMType"> |
|
366 |
<annotation> |
|
367 |
<documentation xml:lang="es"> |
|
368 |
Las Entidades de ?mbito Territorial Inferior al |
|
369 |
Municipio (EATIM). En caso de utilizar un nombre |
|
370 |
geogr?fico hay que completarlo con el nombre de |
|
371 |
la entidad local que lo contiene siguiendo el |
|
372 |
patr?n "nombre de EATIM(nombre de Municipio, |
|
373 |
nombre de Provincia)" |
|
374 |
</documentation> |
|
375 |
</annotation> |
|
376 |
</element> |
|
377 |
</choice> |
|
378 |
</complexType> |
|
379 |
<complexType name="CodificacionType"> |
|
380 |
<annotation> |
|
381 |
<documentation xml:lang="es"> |
|
382 |
El c?digo identifica a la entidad, un rio, un municipio, |
|
383 |
etc. Es una descripci?n alfanum?rica de la entidad, pero |
|
384 |
este campo no se utiliza para describir las entidades |
|
385 |
por las que transcurre la entidad, como es en el caso de |
|
386 |
los campos Mapa o EntidadLocal. |
|
387 |
</documentation> |
|
388 |
</annotation> |
|
389 |
<sequence maxOccurs="1" minOccurs="1"> |
|
390 |
<element maxOccurs="1" minOccurs="1" name="codigo" type="string"> |
|
391 |
<annotation> |
|
392 |
<documentation xml:lang="es"> |
|
393 |
Clasifica la entidad de acuerdo con el Sistema |
|
394 |
de Codificaci?n empleado (si fuese el c?digo |
|
395 |
postal, por ejemplo, ser?a un n?mero con 5 |
|
396 |
d?gitos). |
|
397 |
</documentation> |
|
398 |
</annotation> |
|
399 |
</element> |
|
400 |
<element maxOccurs="1" minOccurs="1" name="sistemaCodificacion" type="string"> |
|
401 |
<annotation> |
|
402 |
<documentation xml:lang="es"> |
|
403 |
Define el sistema al que est? referido el c?digo |
|
404 |
(por ejemplo, el c?digo postal, el c?digo de una |
|
405 |
base cartogr?fica num?rica, etc.). Ejemplos de |
|
406 |
sistema de codificaci?n pueden ser C?digo INE, |
|
407 |
C?digo Postal, Registro de Entidades Locales y |
|
408 |
C?digos de r?os del CEDEX. |
|
409 |
</documentation> |
|
410 |
</annotation> |
|
411 |
</element> |
|
412 |
</sequence> |
|
413 |
</complexType> |
|
414 |
<complexType name="EATIMType"> |
|
415 |
<sequence> |
Also available in: Unified diff