Revision 41507
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/wfs/wfs_1_0_0/WFSProtocolHandlerTest1_0_0.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.wfs.wfs_1_0_0; |
|
25 |
|
|
26 |
import java.io.File; |
|
27 |
|
|
28 |
import junit.framework.TestCase; |
|
29 |
/** |
|
30 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
31 |
*/ |
|
32 |
public class WFSProtocolHandlerTest1_0_0 extends TestCase { |
|
33 |
WFSProtocolHandler1_0_0 handler; |
|
34 |
|
|
35 |
public void setUp() { |
|
36 |
System.out.println("Setting up test.."); |
|
37 |
handler = new WFSProtocolHandler1_0_0(); |
|
38 |
} |
|
39 |
|
|
40 |
public void testParsingDescribeFeatureType() { |
|
41 |
long t1 = System.currentTimeMillis(); |
|
42 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-dmsolutionsGetCapabilities.xml"))); |
|
43 |
handler.setCurrentFeature("popplace"); |
|
44 |
long t2 = System.currentTimeMillis(); |
|
45 |
System.out.println("Test parsing vivid done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
46 |
} |
|
47 |
|
|
48 |
public void testParsingDescribeFeatureType2() { |
|
49 |
long t1 = System.currentTimeMillis(); |
|
50 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-sercartlinGetCapabilities.xml"))); |
|
51 |
handler.setCurrentFeature("topp:tasmania_roads"); |
|
52 |
long t2 = System.currentTimeMillis(); |
|
53 |
System.out.println("Test parsing sercartlin done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
54 |
} |
|
55 |
|
|
56 |
public void testParsingDescribeFeatureType3() { |
|
57 |
long t1 = System.currentTimeMillis(); |
|
58 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-IDEEGetCapabilities.xml"))); |
|
59 |
handler.setCurrentFeature("BDLL200_Provincia"); |
|
60 |
long t2 = System.currentTimeMillis(); |
|
61 |
System.out.println("Test parsing TNT done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
62 |
} |
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
} |
|
0 | 67 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/wfs/wfs_1_1_0/WFSProtocolHandlerTest1_1_0.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.wfs.wfs_1_1_0; |
|
25 |
|
|
26 |
import java.io.File; |
|
27 |
|
|
28 |
import junit.framework.TestCase; |
|
29 |
/** |
|
30 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
31 |
*/ |
|
32 |
public class WFSProtocolHandlerTest1_1_0 extends TestCase { |
|
33 |
WFSProtocolHandler1_1_0 handler; |
|
34 |
|
|
35 |
public void setUp() { |
|
36 |
System.out.println("Setting up test.."); |
|
37 |
handler = new WFSProtocolHandler1_1_0(); |
|
38 |
} |
|
39 |
|
|
40 |
public void testParsingDescribeFeatureType1() { |
|
41 |
// long t1 = System.currentTimeMillis(); |
|
42 |
// assertTrue(handler.parseCapabilities(new File("test/WFS-1_1_0SercartlinGetCapabilities.xml"))); |
|
43 |
// handler.setCurrentFeature("popplace"); |
|
44 |
// |
|
45 |
// assertTrue(handler.parseDescribeFeatureType(new File("test/WFS-dmsolutionsDescribeFeatureType.xml"),null)); |
|
46 |
// long t2 = System.currentTimeMillis(); |
|
47 |
// System.out.println("Test parsing vivid done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
48 |
} |
|
49 |
|
|
50 |
public void testParsingDescribeFeatureType2() { |
|
51 |
long t1 = System.currentTimeMillis(); |
|
52 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-1_1_0IDEEGetCapabilities.xml"))); |
|
53 |
handler.setCurrentFeature("ideewfs:VerticeRedOrdenInferior"); |
|
54 |
long t2 = System.currentTimeMillis(); |
|
55 |
Object obj = handler.getFeatures().get("ideewfs:VerticeRedOrdenInferior"); |
|
56 |
System.out.println("Test parsing vivid done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
57 |
} |
|
58 |
|
|
59 |
public void testParsingDescribeFeatureTypeTNT() { |
|
60 |
long t1 = System.currentTimeMillis(); |
|
61 |
assertTrue(handler.parseCapabilities(new File("testdata/wfs/WFS-1_1_0TNTGetCapabilities.xml"))); |
|
62 |
handler.setCurrentFeature("BDLL200_Provincia"); |
|
63 |
long t2 = System.currentTimeMillis(); |
|
64 |
System.out.println("Test parsing IDEE done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
65 |
} |
|
66 |
} |
|
0 | 67 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/Tests/Test.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.Tests; |
|
25 |
|
|
26 |
import java.awt.geom.Rectangle2D; |
|
27 |
|
|
28 |
import junit.framework.TestCase; |
|
29 |
|
|
30 |
import org.gvsig.remoteclient.wms.WMSClient; |
|
31 |
import org.gvsig.remoteclient.wms.WMSStatus; |
|
32 |
|
|
33 |
public class Test extends TestCase |
|
34 |
{ |
|
35 |
|
|
36 |
public static void main(String[] args) |
|
37 |
{ |
|
38 |
try |
|
39 |
{ |
|
40 |
WMSClient wmsclient = new WMSClient("http://orto.cth.gva.es:80/wmsconnector/com.esri.wms.Esrimap/wms_urbanismo_tematicos?"); |
|
41 |
//http://orto.cth.gva.es/wmsconnector/com.esri.wms.Esrimap/wms_urbanismo_tematicos?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=3&STYLES=&SRS=EPSG:4326&BBOX=-1.5597948439,37.8178641941,0.5286772976,40.8151000365&WIDTH=500&HEIGHT=500&FORMAT=image/jpeg&EXCEPTIONS=XML |
|
42 |
|
|
43 |
wmsclient.connect(null); |
|
44 |
//System.out.println(); |
|
45 |
//System.out.println(Utilities.Vector2CS(layerNames)); |
|
46 |
|
|
47 |
WMSStatus status = new WMSStatus(); |
|
48 |
status.addLayerName("3"); |
|
49 |
// status.addLayerName("europa_rivieren"); |
|
50 |
// status.addStyleName("default"); |
|
51 |
// status.addStyleName("default"); |
|
52 |
status.setSrs("EPSG:4326"); |
|
53 |
|
|
54 |
Rectangle2D extent = new Rectangle2D.Double(-1.5597948439,37.8178641941,-1.5597948439-0.5286772976,37.8178641941-40.8151000365); |
|
55 |
|
|
56 |
status.setExtent(extent); |
|
57 |
status.setFormat("image/jpeg"); |
|
58 |
status.setHeight(500); |
|
59 |
status.setWidth(500); |
|
60 |
|
|
61 |
//wmsclient.getMap(status); |
|
62 |
|
|
63 |
//wmsclient.getFeatureInfo(status,300,300); |
|
64 |
|
|
65 |
System.out.println(); |
|
66 |
} |
|
67 |
catch(Exception e) |
|
68 |
{ |
|
69 |
System.out.println(e.getMessage()); |
|
70 |
} |
|
71 |
} |
|
72 |
|
|
73 |
} |
|
0 | 74 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/wms/wms_1_1_1/WMSProtocolHandler_1_1_1Test.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.wms.wms_1_1_1; |
|
25 |
|
|
26 |
import java.io.File; |
|
27 |
|
|
28 |
import junit.framework.TestCase; |
|
29 |
|
|
30 |
/** |
|
31 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
|
32 |
*/ |
|
33 |
public class WMSProtocolHandler_1_1_1Test extends TestCase { |
|
34 |
WMSProtocolHandler1_1_1 handler1, handler2, handler3, handler4; |
|
35 |
|
|
36 |
public void setUp() { |
|
37 |
System.out.println("Setting up test.."); |
|
38 |
handler1 = new WMSProtocolHandler1_1_1(); |
|
39 |
} |
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
public void testParsing() { |
|
44 |
long t1 = System.currentTimeMillis(); |
|
45 |
handler1.parseCapabilities(new File("testdata/wms/wms.xml")); |
|
46 |
long t2 = System.currentTimeMillis(); |
|
47 |
System.out.println("Test parsing done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
48 |
} |
|
49 |
} |
|
50 |
|
|
0 | 51 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/wms/WMSStatusTest.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.wms; |
|
25 |
|
|
26 |
import java.awt.geom.Rectangle2D; |
|
27 |
import java.util.Vector; |
|
28 |
|
|
29 |
import junit.framework.TestCase; |
|
30 |
/** |
|
31 |
* |
|
32 |
* @author jaume |
|
33 |
* |
|
34 |
*/ |
|
35 |
public class WMSStatusTest extends TestCase { |
|
36 |
WMSStatus st1, st2, st3, st4; |
|
37 |
protected void setUp() { |
|
38 |
st1 = new WMSStatus(); |
|
39 |
// Layer names |
|
40 |
Vector v1 = new Vector(); |
|
41 |
v1.add("a"); |
|
42 |
v1.add("b"); |
|
43 |
v1.add("c"); |
|
44 |
st1.setLayerNames(v1); |
|
45 |
v1.clear(); |
|
46 |
// Styles |
|
47 |
v1.add("s1"); |
|
48 |
v1.add("s2"); |
|
49 |
v1.add("s3"); |
|
50 |
st1.setStyles(v1); |
|
51 |
// Transparency |
|
52 |
st1.setTransparency(false); |
|
53 |
v1.clear(); |
|
54 |
v1.add("TIME=february"); |
|
55 |
v1.add("WAVELENGTH=200nm"); |
|
56 |
st1.setDimensions(v1); |
|
57 |
// Extent |
|
58 |
Rectangle2D rect1 = new Rectangle2D.Double(1.0, 1.00000001, 5.000000, 6.8); |
|
59 |
st1.setExtent(rect1); |
|
60 |
// Exception format |
|
61 |
st1.setExceptionFormat("bla"); |
|
62 |
// SRS |
|
63 |
st1.setSrs("bla bla"); |
|
64 |
// Format |
|
65 |
st1.setFormat("image/mpeg"); |
|
66 |
// Width |
|
67 |
st1.setWidth(800); |
|
68 |
// Height |
|
69 |
st1.setHeight(600); |
|
70 |
// Online resource |
|
71 |
st1.setOnlineResource("alkjf"); |
|
72 |
|
|
73 |
st2 = new WMSStatus(); |
|
74 |
// Layer names |
|
75 |
Vector v2 = new Vector(); |
|
76 |
v2.add("a"); |
|
77 |
v2.add("b"); |
|
78 |
v2.add("c"); |
|
79 |
st2.setLayerNames(v2); |
|
80 |
v2.clear(); |
|
81 |
// Styles |
|
82 |
v2.add("s1"); |
|
83 |
v2.add("s2"); |
|
84 |
v2.add("s3"); |
|
85 |
st2.setStyles(v2); |
|
86 |
// Transparency |
|
87 |
st2.setTransparency(false); |
|
88 |
v2.clear(); |
|
89 |
// Dimensions |
|
90 |
v2.add("TIME=february"); |
|
91 |
v2.add("WAVELENGTH=200nm"); |
|
92 |
st2.setDimensions(v2); |
|
93 |
// Extent |
|
94 |
Rectangle2D rect2 = new Rectangle2D.Double(1.0, 1.00000001, 5.000000, 6.8); |
|
95 |
st2.setExtent(rect2); |
|
96 |
// Exception format |
|
97 |
st2.setExceptionFormat("bla"); |
|
98 |
// SRS |
|
99 |
st2.setSrs("bla bla"); |
|
100 |
// Format |
|
101 |
st2.setFormat("image/mpeg"); |
|
102 |
// Width |
|
103 |
st2.setWidth(800); |
|
104 |
// Height |
|
105 |
st2.setHeight(600); |
|
106 |
// Online resource |
|
107 |
st2.setOnlineResource("alkjf"); |
|
108 |
|
|
109 |
st3 = new WMSStatus(); |
|
110 |
// Layer names |
|
111 |
Vector v3 = new Vector(); |
|
112 |
v3.add("a"); |
|
113 |
v3.add("b"); |
|
114 |
v3.add("c"); |
|
115 |
st3.setLayerNames(v3); |
|
116 |
v3.clear(); |
|
117 |
// Styles |
|
118 |
v3.add("s1"); |
|
119 |
v3.add("s2"); |
|
120 |
v3.add("s3"); |
|
121 |
st3.setStyles(v3); |
|
122 |
// Transparency |
|
123 |
st3.setTransparency(false); |
|
124 |
v3.clear(); |
|
125 |
// Dimensions |
|
126 |
v3.add("TIME=february"); |
|
127 |
v3.add("WAVELENGTH=200nm"); |
|
128 |
st3.setDimensions(v3); |
|
129 |
// Extent |
|
130 |
Rectangle2D rect3 = new Rectangle2D.Double(2.0, 1.00000001, 5.000000, 6.8); |
|
131 |
st3.setExtent(rect3); |
|
132 |
// Exception format |
|
133 |
st3.setExceptionFormat("bla"); |
|
134 |
// SRS |
|
135 |
st3.setSrs("bla bla"); |
|
136 |
// Format |
|
137 |
st3.setFormat("image/mpeg"); |
|
138 |
// Width |
|
139 |
st3.setWidth(800); |
|
140 |
// Height |
|
141 |
st3.setHeight(600); |
|
142 |
// Online resource |
|
143 |
st3.setOnlineResource("alkjf"); |
|
144 |
|
|
145 |
st4 = new WMSStatus(); |
|
146 |
// Layer names |
|
147 |
Vector v4 = new Vector(); |
|
148 |
v4.add("a"); |
|
149 |
v4.add("b"); |
|
150 |
v4.add("c"); |
|
151 |
st4.setLayerNames(v4); |
|
152 |
v4.clear(); |
|
153 |
// Styles |
|
154 |
v4.add("s1"); |
|
155 |
v4.add("s2"); |
|
156 |
v4.add("s3"); |
|
157 |
st4.setStyles(v4); |
|
158 |
// Transparency |
|
159 |
st4.setTransparency(false); |
|
160 |
v4.clear(); |
|
161 |
// Dimensions |
|
162 |
v4.add("TIME=february"); |
|
163 |
v4.add("WAVELENGTH=200nm"); |
|
164 |
st4.setDimensions(v4); |
|
165 |
// Extent |
|
166 |
Rectangle2D rect4 = new Rectangle2D.Double(2.0, 1.00000001, 5.000000, 6.8); |
|
167 |
st4.setExtent(rect3); |
|
168 |
// Exception format |
|
169 |
st4.setExceptionFormat("bla"); |
|
170 |
// SRS |
|
171 |
st4.setSrs("bla bla"); |
|
172 |
// Format |
|
173 |
st4.setFormat("image/mpeg"); |
|
174 |
// Width |
|
175 |
st4.setWidth(800); |
|
176 |
// Height |
|
177 |
st4.setHeight(600); |
|
178 |
// Online resource |
|
179 |
st4.setOnlineResource("alkjfa"); |
|
180 |
} |
|
181 |
|
|
182 |
public void testEquality() { |
|
183 |
assertTrue(st1.equals(st2)); |
|
184 |
assertFalse(st1.equals(st3)); // (distinct extent) |
|
185 |
assertFalse(st3.equals(st4)); // (distinct online resources) |
|
186 |
} |
|
187 |
} |
|
0 | 188 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/taskplanning/retrieving/URLRetrieveTest.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.taskplanning.retrieving; |
|
25 |
|
|
26 |
import java.io.File; |
|
27 |
|
|
28 |
import junit.framework.TestCase; |
|
29 |
|
|
30 |
import org.gvsig.remoteclient.taskplanning.IQueue; |
|
31 |
import org.gvsig.remoteclient.taskplanning.IRunnableTask; |
|
32 |
/** |
|
33 |
* |
|
34 |
* @author jaume |
|
35 |
* |
|
36 |
*/ |
|
37 |
public class URLRetrieveTest extends TestCase { |
|
38 |
private final static String tempDirectoryPath = System.getProperty("java.io.tmpdir")+"tmp-andami"; |
|
39 |
IQueue queue; |
|
40 |
IRunnableTask task1, task2, task3, task4; |
|
41 |
boolean finished1, finished2, finished3, finished4; |
|
42 |
RetrieveListener listener1 = new RetrieveListener() { |
|
43 |
public void transferEventReceived(RetrieveEvent event) { |
|
44 |
int e = event.getType(); |
|
45 |
printMessage("listener1", event.getType()); |
|
46 |
if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED || e == RetrieveEvent.REQUEST_CANCELLED ) |
|
47 |
finished1 = true; |
|
48 |
} |
|
49 |
}; |
|
50 |
|
|
51 |
String protocol = URLRequest.HTTP; |
|
52 |
String host1 = "192.168.0.223"; |
|
53 |
String page1 = "cgi-bin/mapserv_46.exe?map=c:\\ms4w\\Apache\\cgi-bin\\demo.map&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=comunidades&SRS=EPSG:23030&BBOX=507522.0,4154976.282477341,942309.0,4552983.717522658&WIDTH=332&HEIGHT=305&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE"; |
|
54 |
URLRequest request1; |
|
55 |
|
|
56 |
String host2 = "localhost"; |
|
57 |
String page2 = "aegCapabilities1.3.xml"; |
|
58 |
URLRequest request2; |
|
59 |
RetrieveListener listener2 = new RetrieveListener() { |
|
60 |
public void transferEventReceived(RetrieveEvent event) { |
|
61 |
int e = event.getType(); |
|
62 |
printMessage("listener2", event.getType()); |
|
63 |
if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED || e==RetrieveEvent.REQUEST_CANCELLED ) |
|
64 |
finished2 = true; |
|
65 |
|
|
66 |
} |
|
67 |
}; |
|
68 |
|
|
69 |
String host3 = "localhost"; |
|
70 |
String page3 = "avalencia.ecw"; |
|
71 |
URLRequest request3; |
|
72 |
RetrieveListener listener3 = new RetrieveListener() { |
|
73 |
public void transferEventReceived(RetrieveEvent event) { |
|
74 |
int e = event.getType(); |
|
75 |
printMessage("listener3", event.getType()); |
|
76 |
if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED || e == RetrieveEvent.REQUEST_CANCELLED ) |
|
77 |
finished3 = true; |
|
78 |
|
|
79 |
} |
|
80 |
}; |
|
81 |
|
|
82 |
String host4 = "192.168.0.223"; |
|
83 |
String page4 = "prueba.rar"; |
|
84 |
URLRequest request4; |
|
85 |
RetrieveListener listener4 = new RetrieveListener() { |
|
86 |
public void transferEventReceived(RetrieveEvent event) { |
|
87 |
int e = event.getType(); |
|
88 |
printMessage("listener4", event.getType()); |
|
89 |
if (e==RetrieveEvent.REQUEST_FINISHED || e == RetrieveEvent.REQUEST_FAILED || e == RetrieveEvent.REQUEST_CANCELLED ) |
|
90 |
finished4 = true; |
|
91 |
|
|
92 |
} |
|
93 |
}; |
|
94 |
{ |
|
95 |
cleanFiles(); |
|
96 |
} |
|
97 |
private static void cleanFiles(){ |
|
98 |
try{ |
|
99 |
File tempDirectory = new File(tempDirectoryPath); |
|
100 |
|
|
101 |
File[] files = tempDirectory.listFiles(); |
|
102 |
if (files!=null) { |
|
103 |
for (int i = 0; i < files.length; i++) { |
|
104 |
// s?lo por si en un futuro se necesitan crear directorios temporales |
|
105 |
files[i].delete(); |
|
106 |
} |
|
107 |
} |
|
108 |
tempDirectory.delete(); |
|
109 |
} catch (Exception e) { } |
|
110 |
} |
|
111 |
|
|
112 |
|
|
113 |
public void setUp() { |
|
114 |
File tmpDir = new File(tempDirectoryPath); |
|
115 |
if (!tmpDir.exists()) |
|
116 |
tmpDir.mkdir(); |
|
117 |
finished1 = finished2 = finished3 = finished4 = false; |
|
118 |
System.out.println("\n\n\nSetting up test.."); |
|
119 |
queue = new RetrieveQueue("http://192.168.0.223/cgi-bin/mapserv_46.exe?map=c:\\ms4w\\Apache\\cgi-bin\\demo.map"); |
|
120 |
|
|
121 |
request1 = new URLRequest(); |
|
122 |
// http://192.168.0.223/cgi-bin/mapserv_46.exe?map=c:\\ms4w\\Apache\\cgi-bin\\demo.map&&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=comunidades&SRS=EPSG:23030&BBOX=507522.0,4154976.282477341,942309.0,4552983.717522658&WIDTH=332&HEIGHT=305&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE |
|
123 |
request1.setProtocol(protocol); |
|
124 |
request1.setHost(host1); |
|
125 |
request1.setFile(page1); |
|
126 |
request1.setFileName(tempDirectoryPath+File.separator+"task1"); |
|
127 |
request1.setRequestType(URLRequest.GET); |
|
128 |
task1 = new URLRetrieveTask(request1, listener1); |
|
129 |
|
|
130 |
request2 = new URLRequest(); |
|
131 |
// http://localhost/aegCapabilities1.3.xml |
|
132 |
request2.setProtocol(protocol); |
|
133 |
request2.setHost(host2); |
|
134 |
request2.setFile(page2); |
|
135 |
request2.setFileName(tempDirectoryPath+File.separator+"task2"); |
|
136 |
request2.setRequestType(URLRequest.GET); |
|
137 |
task2 = new URLRetrieveTask(request2, listener2); |
|
138 |
|
|
139 |
request3 = new URLRequest(); |
|
140 |
// http://localhost/avalencia.ecw |
|
141 |
request3.setProtocol(protocol); |
|
142 |
request3.setHost(host3); |
|
143 |
request3.setFile(page3); |
|
144 |
request3.setFileName(tempDirectoryPath+File.separator+"task3"); |
|
145 |
request3.setRequestType(URLRequest.GET); |
|
146 |
task3 = new URLRetrieveTask(request3, listener3); |
|
147 |
|
|
148 |
request4 = new URLRequest(); |
|
149 |
// http://192.168.0.223/prueba.rar |
|
150 |
request4.setProtocol(protocol); |
|
151 |
request4.setHost(host4); |
|
152 |
request4.setFile(page4); |
|
153 |
request4.setFileName(tempDirectoryPath+File.separator+"task4"); |
|
154 |
request4.setRequestType(URLRequest.GET); |
|
155 |
|
|
156 |
task4 = new URLRetrieveTask(request4, listener4); |
|
157 |
|
|
158 |
} |
|
159 |
|
|
160 |
public void testRetrieve() { |
|
161 |
queue.put(task1); |
|
162 |
queue.put(task2); |
|
163 |
|
|
164 |
while(!queue.isEmpty()) { |
|
165 |
} |
|
166 |
} |
|
167 |
|
|
168 |
public void testCancelling() { |
|
169 |
long time = System.currentTimeMillis(); |
|
170 |
|
|
171 |
queue.put(task1); |
|
172 |
queue.put(task2); |
|
173 |
boolean more = true; |
|
174 |
while (!queue.isEmpty()) { |
|
175 |
if (more && System.currentTimeMillis()-time > 1000) { // wait 1 seconds and cancel |
|
176 |
task2.cancel(); |
|
177 |
more = false; |
|
178 |
} |
|
179 |
} |
|
180 |
} |
|
181 |
|
|
182 |
public void testRequestManager() { |
|
183 |
System.out.println("tests parallel downloading from different servers"); |
|
184 |
request3.setFileName("task3"); |
|
185 |
// http://localhost/avalencia.ecw |
|
186 |
|
|
187 |
request4.setFileName("task4"); |
|
188 |
// http://192.168.0.223/prueba.rar |
|
189 |
RequestManager manager = RequestManager.getInstance(); |
|
190 |
manager.addURLRequest(request3, listener3); |
|
191 |
manager.addURLRequest(request4, listener4); |
|
192 |
manager.addURLRequest(request4, listener1); |
|
193 |
while (!(finished1 && finished3 && finished4)) { |
|
194 |
|
|
195 |
} |
|
196 |
} |
|
197 |
|
|
198 |
public void testCocurrentTransfers() { |
|
199 |
finished1 = finished2 = finished3 = finished4 = false; |
|
200 |
System.out.println("tests to merge two or more equivalent transfers into one"); |
|
201 |
RequestManager manager = RequestManager.getInstance(); |
|
202 |
//manager.removeURLRequest(request3); |
|
203 |
request3.setFileName("task3"); |
|
204 |
|
|
205 |
manager.addURLRequest(request3, listener1); |
|
206 |
manager.addURLRequest(request3, listener2); |
|
207 |
manager.addURLRequest(request3, listener3); |
|
208 |
|
|
209 |
manager.addURLRequest(request3, listener4); |
|
210 |
while (!(finished1 && finished2 && finished3 && finished4)) { |
|
211 |
|
|
212 |
} |
|
213 |
} |
|
214 |
|
|
215 |
public void printMessage(String who, int code) { |
|
216 |
switch (code) { |
|
217 |
case RetrieveEvent.CONNECTING: |
|
218 |
System.out.println(who+": connecting"); |
|
219 |
break; |
|
220 |
case RetrieveEvent.TRANSFERRING: |
|
221 |
System.out.println(who+": transferring"); |
|
222 |
break; |
|
223 |
case RetrieveEvent.REQUEST_CANCELLED: |
|
224 |
System.out.println(who+": cancelled"); |
|
225 |
break; |
|
226 |
case RetrieveEvent.REQUEST_FINISHED: |
|
227 |
System.out.println(who+": finished"); |
|
228 |
break; |
|
229 |
case RetrieveEvent.REQUEST_FAILED: |
|
230 |
System.err.println(who+": failed"); |
|
231 |
break; |
|
232 |
case RetrieveEvent.NOT_STARTED: |
|
233 |
System.out.println(who+": not started"); |
|
234 |
break; |
|
235 |
case RetrieveEvent.POSTPROCESSING: |
|
236 |
System.out.println(who+": postprocessing"); |
|
237 |
break; |
|
238 |
} |
|
239 |
} |
|
240 |
} |
|
0 | 241 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/AllTests.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient; |
|
25 |
|
|
26 |
import junit.framework.Test; |
|
27 |
import junit.framework.TestSuite; |
|
28 |
|
|
29 |
import org.gvsig.remoteclient.wcs.wcs_1_0_0.WCSProtocolHandler_1_0_0Test; |
|
30 |
import org.gvsig.remoteclient.wfs.wfs_1_0_0.WFSProtocolHandlerTest1_0_0; |
|
31 |
import org.gvsig.remoteclient.wfs.wfs_1_1_0.WFSProtocolHandlerTest1_1_0; |
|
32 |
import org.gvsig.remoteclient.wms.WMSStatusTest; |
|
33 |
import org.gvsig.remoteclient.wms.wms_1_1_1.WMSProtocolHandler_1_1_1Test; |
|
34 |
|
|
35 |
public class AllTests { |
|
36 |
|
|
37 |
public static Test suite() { |
|
38 |
TestSuite suite = new TestSuite("Test for org.gvsig.remoteClient"); |
|
39 |
//$JUnit-BEGIN$ |
|
40 |
suite.addTestSuite(Test.class); |
|
41 |
|
|
42 |
//commented until there is a way to simulate the needed servers. |
|
43 |
//suite.addTestSuite(URLRetrieveTest.class); |
|
44 |
suite.addTestSuite(WCSProtocolHandler_1_0_0Test.class); |
|
45 |
suite.addTestSuite(WFSProtocolHandlerTest1_0_0.class); |
|
46 |
suite.addTestSuite(WFSProtocolHandlerTest1_1_0.class); |
|
47 |
suite.addTestSuite(WMSProtocolHandler_1_1_1Test.class); |
|
48 |
suite.addTestSuite(WMSStatusTest.class); |
|
49 |
|
|
50 |
//$JUnit-END$ |
|
51 |
return suite; |
|
52 |
} |
|
53 |
|
|
54 |
} |
|
0 | 55 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/java/org/gvsig/remoteclient/wcs/wcs_1_0_0/WCSProtocolHandler_1_0_0Test.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
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 3 |
|
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 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.remoteclient.wcs.wcs_1_0_0; |
|
25 |
|
|
26 |
import java.io.File; |
|
27 |
|
|
28 |
import junit.framework.TestCase; |
|
29 |
/** |
|
30 |
* |
|
31 |
* @author jaume |
|
32 |
* |
|
33 |
*/ |
|
34 |
public class WCSProtocolHandler_1_0_0Test extends TestCase { |
|
35 |
WCSProtocolHandler1_0_0 handler1, handler2, handler3, handler4; |
|
36 |
|
|
37 |
public void setUp() { |
|
38 |
System.out.println("Setting up test.."); |
|
39 |
handler1 = new WCSProtocolHandler1_0_0(); |
|
40 |
handler2 = new WCSProtocolHandler1_0_0(); |
|
41 |
handler3 = new WCSProtocolHandler1_0_0(); |
|
42 |
handler4 = new WCSProtocolHandler1_0_0(); |
|
43 |
} |
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
public void testParsing() { |
|
48 |
long t1 = System.currentTimeMillis(); |
|
49 |
assertTrue(handler1.parseCapabilities(new File("testdata/wcs/WCS-hypnosGetCapabilities.xml"))); |
|
50 |
assertTrue(handler1.parseDescribeCoverage(new File("testdata/wcs/WCS-hypnosDescribeCoverage.xml"))); |
|
51 |
assertTrue(handler2.parseCapabilities(new File("testdata/wcs/WCS-simonCITCostasGetCapabilities.xml"))); |
|
52 |
assertTrue(handler2.parseDescribeCoverage(new File("testdata/wcs/WCS-simonCITCostasDescribeCoverage.xml"))); |
|
53 |
assertTrue(handler3.parseCapabilities(new File("testdata/wcs/WCS-simonCITSpotGetCapabilities.xml"))); |
|
54 |
assertTrue(handler3.parseDescribeCoverage(new File("testdata/wcs/WCS-simonCITSpotDescribeCoverage.xml"))); |
|
55 |
assertTrue(handler4.parseCapabilities(new File("testdata/wcs/WCS-ionicGetCapabilities.xml"))); |
|
56 |
assertTrue(handler4.parseDescribeCoverage(new File("testdata/wcs/WCS-ionicDescribeCoverage.xml"))); |
|
57 |
long t2 = System.currentTimeMillis(); |
|
58 |
System.out.println("Test parsing done with apparently no errors in "+ (t2-(float)t1)/1000+" seconds"); |
|
59 |
} |
|
60 |
} |
|
0 | 61 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/gml/GML-lines.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?><xs:schema targetNamespace="http://www.gvsig.com/cit" xmlns:cit="http://www.gvsig.com/cit" xmlns:gml="http://www.opengis.net/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1.2"><xs:import namespace="http://www.opengis.net/gml" schemaLocation="feature.xsd"/><xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="lines_Type"><xs:complexContent><xs:extension base="gml:AbstractFeatureType"><xs:sequence><xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:GeometryPropertyType"/><xs:element name="ENTITY" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="LAYER" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="LEVEL" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="ELEVATION" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="COLOR" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="ID" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="ID_PONT" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="NOMBRE" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="ANCHO_C" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="CARRIL_D" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="CARRIL_I" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="ANCHO_M" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="ARCEN" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="TUNEL" minOccurs="0" nillable="true" type="xs:boolean"/><xs:element name="URBANA" minOccurs="0" nillable="true" type="xs:boolean"/><xs:element name="TIPO" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="ANCHO_BUF" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="FROM_NODE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="TO_NODE" minOccurs="0" nillable="true" type="xs:double"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="lines" type="cit:lines_Type" substitutionGroup="gml:_Feature"/></xs:schema><!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
0 | 26 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/gml/GML-polygons.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?><xs:schema targetNamespace="http://www.gvsig.com/cit" xmlns:cit="http://www.gvsig.com/cit" xmlns:gml="http://www.opengis.net/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1.2"><xs:import namespace="http://www.opengis.net/gml" schemaLocation="feature.xsd"/><xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="polygons_Type"><xs:complexContent><xs:extension base="gml:AbstractFeatureType"><xs:sequence><xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:GeometryPropertyType"/><xs:element name="level" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="color" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="entity" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="layer" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="mslink_dmr" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="tipo" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="codigo" minOccurs="0" nillable="true" type="xs:string"/><xs:element name="elevation" minOccurs="0" nillable="true" type="xs:double"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="polygons" type="cit:polygons_Type" substitutionGroup="gml:_Feature"/></xs:schema><!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
0 | 26 |
tags/org.gvsig.desktop-2.0.43/org.gvsig.desktop.compat.cdc/org.gvsig.remoteclient/src/test/resources/gml/GML-lines.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-lines.xsd"><gml:boundedBy><gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#23030"><gml:coordinates decimal="." cs="," ts=" ">627820.0,4191291.0 797117.0,4519166.0</gml:coordinates></gml:Box></gml:boundedBy><gml:featureMember> |
|
2 |
<cit:lines><cit:the_geom><gml:MultiLineString srsName='0'> |
|
3 |
<gml:lineStringMember> |
|
4 |
<gml:LineString srsName='0'> |
|
5 |
<gml:coordinates> |
|
6 |
685442.45,4209825.64 685445.64,4209832.3 |
|
7 |
685450.18,4209842.27 685452.54,4209848.61 |
|
8 |
685454.35,4209855.13 685454.85,4209858.27 |
|
9 |
685455.09,4209862.0 685454.91,4209874.11 |
|
10 |
685454.53,4209898.4 685454.28,4209907.47 |
|
11 |
685454.16,4209919.58 685454.28,4209927.52 |
|
12 |
685454.59,4209935.16 685455.15,4209941.24 |
|
13 |
685455.71,4209947.12 685456.71,4209953.46 |
|
14 |
685458.2,4209959.42 685460.37,4209966.78 |
|
15 |
685463.29,4209976.35 685467.33,4209986.88 |
|
16 |
685472.11,4209999.24 685481.62,4210024.05 |
|
17 |
685492.81,4210052.4 685505.24,4210084.23 |
|
18 |
685518.53,4210118.29 685532.01,4210152.78 |
|
19 |
685546.0,4210188.26 685558.49,4210220.89 |
|
20 |
685567.62,4210243.65 685580.8,4210277.59 |
|
21 |
685595.08,4210313.87 685611.48,4210355.63 |
|
22 |
685629.36,4210402.89 685636.82,4210425.32 |
|
23 |
685641.98,4210442.14 685647.76,4210465.16 |
|
24 |
685651.17,4210482.16 685654.96,4210501.95 |
|
25 |
685659.5,4210529.06 685666.03,4210565.48 |
|
26 |
685673.49,4210609.46 685679.64,4210645.81 |
|
27 |
685687.96,4210693.82 685694.74,4210732.84 |
|
28 |
685703.62,4210787.18 685705.1,4210802.29 |
|
29 |
685706.78,4210822.51 685707.28,4210846.57 |
|
30 |
685707.29,4210885.98 685706.54,4210924.01 |
|
31 |
685706.17,4210959.12 685705.62,4210997.7 |
|
32 |
685705.12,4211037.34 685705.05,4211052.13 |
|
33 |
685705.11,4211060.57 685705.36,4211065.16 |
|
34 |
685705.98,4211071.62 685706.85,4211076.71 |
|
35 |
685707.65,4211079.79 685709.46,4211085.82 |
|
36 |
685712.01,4211092.34 685715.33,4211099.63 |
|
37 |
685717.79,4211103.89 685721.01,4211108.76 |
|
38 |
685726.04,4211114.97 685733.19,4211121.81 |
|
39 |
685741.13,4211127.81 685762.0,4211141.13 |
|
40 |
685790.6,4211159.76 685819.92,4211178.05 |
|
41 |
685840.13,4211191.4 685876.04,4211214.73 |
|
42 |
685910.26,4211236.36 685947.84,4211260.81 |
|
43 |
685970.7,4211275.18 685978.54,4211280.33 |
|
44 |
685984.57,4211284.24 685990.04,4211287.91 |
|
45 |
685995.32,4211291.82 686000.5,4211296.25 |
|
46 |
686006.29,4211301.77 686011.51,4211307.92 |
|
47 |
686015.49,4211313.64 686018.54,4211319.1 |
|
48 |
686021.77,4211326.0 686024.38,4211332.37 |
|
49 |
686025.68,4211337.71 686026.68,4211342.12 |
|
50 |
686027.24,4211347.59 686027.55,4211353.28 |
|
51 |
686027.49,4211359.18 686027.24,4211365.01 |
|
52 |
686026.37,4211371.47 686025.13,4211377.54 |
|
53 |
686022.95,4211386.23 686018.55,4211400.12 |
|
54 |
686012.83,4211417.17 686006.31,4211433.05 |
|
55 |
686001.96,4211441.8 685996.38,4211450.98 |
|
56 |
685990.48,4211459.42 685982.62,4211470.37 |
|
57 |
685977.53,4211477.95 685973.24,4211484.78 |
|
58 |
685970.06,4211491.12 685967.28,4211497.98 |
|
59 |
685965.48,4211503.69 685963.98,4211509.47 |
|
60 |
685962.55,4211515.8 685962.06,4211521.7 |
|
61 |
685961.87,4211527.75 685962.0,4211535.89 |
|
62 |
685962.74,4211544.27 685964.79,4211553.55 |
|
63 |
685968.4,4211565.73 685976.23,4211587.05 |
|
64 |
685987.17,4211614.13 686000.84,4211647.18 |
|
65 |
686005.87,4211656.89 686010.28,4211663.85 |
|
66 |
686015.32,4211669.62 686020.98,4211674.96 |
|
67 |
686027.32,4211679.12 686034.91,4211682.97 |
|
68 |
686043.53,4211686.18 686050.06,4211687.99 |
|
69 |
686055.1,4211688.79 686061.23,4211689.03 |
|
70 |
686068.94,4211688.72 686074.1,4211687.98 |
|
71 |
686081.25,4211686.17 686087.69,4211683.94 |
|
72 |
686094.72,4211680.71 686102.31,4211676.73 |
|
73 |
686116.9,4211668.17 686123.41,4211664.76 |
|
74 |
686128.88,4211662.15 686136.47,4211659.23 |
|
75 |
686144.84,4211656.69 686152.18,4211655.2 |
|
76 |
686160.14,4211654.09 686169.28,4211653.53 |
|
77 |
686175.29,4211653.78 686182.69,4211654.71 |
|
78 |
686191.02,4211656.89 686202.4,4211660.61 |
|
79 |
686247.0,4211676.13 686294.0,4211692.61 |
|
80 |
686339.89,4211708.57 686374.31,4211720.73 |
|
81 |
686427.25,4211739.29 686518.08,4211771.05 |
|
82 |
686623.13,4211807.59 686707.63,4211837.12 |
|
83 |
686801.38,4211869.74 686866.31,4211892.58 |
|
84 |
686889.95,4211900.29 686899.83,4211903.21 |
|
85 |
686909.04,4211905.13 686917.55,4211906.13 |
|
86 |
686924.77,4211906.25 686932.54,4211905.88 |
|
87 |
686940.59,4211904.95 686948.37,4211902.71 |
|
88 |
686954.65,4211900.35 686960.06,4211897.5 |
|
89 |
686965.56,4211893.86 686971.47,4211888.95 |
|
90 |
686975.57,4211884.85 686980.05,4211878.89 |
|
91 |
686984.76,4211871.46 686989.85,4211862.76 |
|
92 |
687003.83,4211836.83 687024.51,4211797.26 |
|
93 |
687038.8,4211769.41 687050.79,4211747.02 |
|
94 |
687063.59,4211722.16 687070.43,4211709.98 |
|
95 |
687074.96,4211703.48 687081.43,4211695.03 |
|
96 |
687088.44,4211686.91 687099.2,4211675.98 |
|
97 |
687110.31,4211665.63 687115.41,4211661.53 |
|
98 |
687120.88,4211657.81 687124.47,4211655.6 |
|
99 |
687130.13,4211652.68 687136.16,4211650.14 |
|
100 |
687141.2,4211648.52 687146.05,4211647.47 |
|
101 |
687151.34,4211646.66 687155.94,4211646.22 |
|
102 |
687162.71,4211646.04 687168.54,4211646.54 |
|
103 |
687174.01,4211647.35 687179.85,4211649.02 |
|
104 |
687186.19,4211651.38 687191.73,4211653.43 |
|
105 |
687203.46,4211659.44 687215.77,4211667.14 |
|
106 |
687237.09,4211680.73 687250.24,4211688.9 |
|
107 |
687256.52,4211692.57 687263.36,4211695.73 |
|
108 |
687268.64,4211697.85 687275.48,4211699.59 |
|
109 |
687285.04,4211701.62 687303.26,4211705.23 |
|
110 |
687347.55,4211713.78 687371.19,4211718.48 |
|
111 |
687379.77,4211720.34 687385.62,4211722.02 |
|
112 |
687389.97,4211723.69 687394.07,4211725.43 |
|
113 |
687397.3,4211727.1 687401.09,4211729.4 |
|
114 |
687404.7,4211731.88 687408.31,4211734.74 |
|
115 |
687413.28,4211739.4 687419.12,4211745.28 |
|
116 |
687432.18,4211758.95 687440.92,4211767.43 |
|
117 |
687447.08,4211772.71 687451.8,4211776.12 |
|
118 |
687455.28,4211778.36 687460.94,4211781.34 |
|
119 |
687467.66,4211784.2 687475.9,4211786.54 |
|
120 |
687483.11,4211788.22 687491.2,4211788.9 |
|
121 |
687497.29,4211789.27 687503.6,4211789.08 |
|
122 |
687510.81,4211788.46 687518.03,4211787.22 |
|
123 |
687526.05,4211785.17 687533.57,4211782.81 |
|
124 |
687539.08,4211780.63 687547.41,4211776.47 |
|
125 |
687557.8,4211770.39 687580.23,4211756.79 |
|
126 |
687620.42,4211732.47 687657.45,4211710.51 |
|
127 |
687693.86,4211688.98 687736.42,4211664.12 |
|
128 |
687766.42,4211646.38 687777.99,4211639.99 |
|
129 |
687791.39,4211633.11 687797.17,4211630.51 |
|
130 |
687804.69,4211627.77 687811.53,4211625.97 |
|
131 |
687818.74,4211624.67 687828.59,4211623.94 |
|
132 |
687838.98,4211623.69 687848.8,4211624.19 |
|
133 |
687857.51,4211625.43 687867.56,4211627.97 |
|
134 |
687877.26,4211631.7 687885.91,4211635.55 |
|
135 |
687894.09,4211639.88 687901.8,4211644.53 |
|
136 |
687912.81,4211651.74 687926.27,4211660.97 |
|
137 |
687946.23,4211674.45 687974.31,4211693.56 |
|
138 |
687982.6,4211698.98 687990.62,4211703.45 |
|
139 |
687997.08,4211706.68 688003.92,4211709.04 |
|
140 |
688009.77,4211710.53 688015.61,4211711.34 |
|
141 |
688021.4,4211711.58 688027.8,4211711.46 |
|
142 |
688034.24,4211711.08 688040.27,4211710.4 |
|
143 |
688046.11,4211709.16 688053.08,4211707.05 |
|
144 |
688061.29,4211703.76 688067.17,4211701.04 |
|
145 |
688073.14,4211697.62 688077.36,4211694.83 |
|
146 |
688083.01,4211690.44 688089.04,4211684.91 |
|
147 |
688093.02,4211680.07 688097.55,4211674.24 |
|
148 |
688101.16,4211668.46 688104.2,4211662.69 |
|
149 |
688107.61,4211653.76 688110.23,4211645.62 |
|
150 |
688117.74,4211617.83 688126.86,4211585.46 |
|
151 |
688135.74,4211553.45 688141.28,4211533.13 |
|
152 |
688142.4,4211528.09 688143.39,4211522.01 |
|
153 |
688143.83,4211516.67 688143.7,4211511.36 |
|
154 |
688143.21,4211505.58 688142.09,4211500.24 |
|
155 |
688140.15,4211494.58 688137.64,4211489.57 |
|
156 |
688134.18,4211484.32 688129.23,4211477.66 |
|
157 |
688123.45,4211470.89 688118.35,4211465.3 |
|
158 |
688113.65,4211459.68 688110.79,4211455.39 |
|
159 |
688107.55,4211449.74 688104.75,4211444.15 |
|
160 |
688103.26,4211440.3 688102.39,4211437.16 |
|
161 |
688101.96,4211433.12 688101.52,4211429.27 |
|
162 |
688101.58,4211423.68 688101.77,4211419.77 |
|
163 |
688102.38,4211415.31 688103.88,4211409.35 |
|
164 |
688106.24,4211402.83 688111.59,4211391.55 |
|
165 |
688117.93,4211378.88 688133.52,4211348.17 |
|
166 |
688143.77,4211327.58 688160.61,4211294.7 |
|
167 |
688166.81,4211283.94 688171.72,4211276.55 |
|
168 |
688176.44,4211270.96 688181.05,4211266.3 |
|
169 |
688186.08,4211262.14 688190.61,4211259.42 |
|
170 |
688197.45,4211255.82 688205.66,4211252.53 |
|
171 |
688212.63,4211250.54 688222.87,4211248.32 |
|
172 |
688237.18,4211246.09 688260.72,4211243.3 |
|
173 |
688277.19,4211241.01 688288.69,4211238.46 |
|
174 |
688301.78,4211235.05 688309.54,4211231.96 |
|
175 |
688318.12,4211227.61 688329.94,4211220.4 |
|
176 |
688345.15,4211210.11 688361.75,4211198.94 |
|
177 |
688414.62,4211163.09 688457.52,4211133.97 |
|
178 |
688473.81,4211123.29 688481.15,4211117.95 |
|
179 |
688487.8,4211112.54 688491.21,4211108.77 |
|
180 |
688495.07,4211104.17 688499.05,4211098.71 |
|
181 |
688501.72,4211094.3 688504.26,4211089.29 |
|
182 |
688507.19,4211082.33 688509.36,4211075.69 |
|
183 |
688511.97,4211065.34 688513.9,4211056.34 |
|
184 |
688516.5,4211043.7 688518.06,4211037.24 |
|
185 |
688519.68,4211031.8 688521.79,4211026.15 |
|
186 |
688524.22,4211021.3 688526.57,4211017.15 |
|
187 |
688530.55,4211012.25 688534.47,4211007.9 |
|
188 |
688540.55,4211002.52 688546.83,4210997.3 |
|
189 |
688570.02,4210981.48 688602.57,4210959.46 |
|
190 |
688625.68,4210944.03 688634.88,4210938.75 |
|
191 |
688644.75,4210933.61 688652.83,4210930.19 |
|
192 |
688659.92,4210927.71 688665.64,4210926.34 |
|
193 |
688671.54,4210925.54 688677.19,4210925.29 |
|
194 |
688684.16,4210925.47 688690.06,4210926.34 |
|
195 |
688696.06,4210927.7 688702.46,4210929.94 |
|
196 |
688708.56,4210932.73 688715.12,4210936.71 |
|
197 |
688721.65,4210941.3 688726.38,4210945.4 |
|
198 |
688731.29,4210950.43 688736.39,4210956.46 |
|
199 |
688741.36,4210963.32 688746.02,4210971.02 |
|
200 |
688752.55,4210985.16 688762.43,4211009.48 |
|
201 |
688776.16,4211042.4 688789.34,4211074.67 |
|
202 |
688796.04,4211089.3 688800.39,4211097.31 |
|
203 |
688802.99,4211101.45 688806.47,4211106.48 |
|
204 |
688811.63,4211112.13 688817.23,4211117.35 |
|
205 |
688823.92,4211122.48 688829.89,4211125.9 |
|
206 |
688836.3,4211129.0 688842.2,4211131.24 |
|
207 |
688848.67,4211133.17 688853.89,4211134.53 |
|
208 |
688863.38,4211135.88 688871.9,4211136.99 |
|
209 |
688882.22,4211137.86 688899.31,4211138.67 |
|
210 |
688938.64,4211140.72 688963.03,4211142.21 |
|
211 |
688974.03,4211142.21 688979.2,4211141.83 |
|
212 |
688985.91,4211140.84 688990.76,4211139.6 |
|
213 |
688996.78,4211137.61 689002.68,4211134.94 |
|
214 |
689009.58,4211131.34 689017.02,4211126.46 |
|
215 |
689022.62,4211122.42 689029.64,4211116.52 |
|
216 |
689034.17,4211112.19 689037.92,4211107.63 |
|
217 |
689042.19,4211101.39 689045.11,4211095.74 |
|
218 |
689049.02,4211087.0 689052.37,4211077.88 |
|
219 |
689054.49,4211070.61 689064.48,4211028.67 |
|
220 |
689068.77,4211009.6 689072.5,4210995.94 |
|
221 |
689075.98,4210984.32 689080.76,4210972.12 |
|
222 |
689085.73,4210960.51 689090.76,4210950.34 |
|
223 |
689097.23,4210939.35 689109.9,4210918.32 |
|
224 |
689120.83,4210900.23 689126.55,4210890.05 |
|
225 |
689132.52,4210878.37 689141.52,4210861.39 |
|
226 |
689146.44,4210853.01 689151.41,4210844.93 |
|
227 |
689160.61,4210832.84 689169.24,4210823.54 |
|
228 |
689175.77,4210817.45 689189.94,4210806.12 |
|
229 |
689198.52,4210800.78 689206.35,4210796.8 |
|
230 |
689214.5,4210793.76 689224.25,4210791.16 |
|
231 |
689233.33,4210789.36 689243.69,4210788.18 |
|
232 |
689251.77,4210787.93 689260.6,4210788.37 |
|
233 |
689271.58,4210789.98 689283.52,4210792.52 |
|
234 |
689295.89,4210795.57 689343.54,4210807.48 |
|
235 |
689383.49,4210818.14 689428.28,4210829.74 |
|
236 |
689468.72,4210839.91 689484.6,4210844.37 |
|
237 |
689500.81,4210849.7 689523.2,4210858.09 |
|
238 |
689552.52,4210870.32 689609.49,4210894.01 |
|
239 |
689641.29,4210907.35 689650.68,4210911.63 |
|
240 |
689657.02,4210915.05 689661.09,4210917.27 |
|
241 |
689665.38,4210920.26 689669.61,4210923.8 |
|
242 |
689673.09,4210927.65 689676.93,4210932.95 |
|
243 |
689680.97,4210940.41 689685.57,4210950.03 |
|
244 |
689699.31,4210982.99 689711.61,4211011.72 |
|
245 |
689728.01,4211050.55 689735.41,4211066.84 |
|
246 |
689739.07,4211073.61 689741.81,4211077.83 |
|
247 |
689746.41,4211083.48 689750.45,4211087.77 |
|
248 |
689754.84,4211091.15 689760.38,4211094.32 |
|
249 |
689767.78,4211097.73 689782.58,4211103.7 |
|
250 |
689810.88,4211114.74 689831.77,4211123.12 |
|
251 |
689857.07,4211133.36 689883.65,4211145.14 |
|
252 |
689887.45,4211146.63 |
|
253 |
</gml:coordinates> |
|
254 |
</gml:LineString> |
|
255 |
</gml:lineStringMember> |
|
256 |
</gml:MultiLineString> |
|
257 |
</cit:the_geom> |
|
258 |
<cit:ENTITY>Complex Chain</cit:ENTITY> |
|
259 |
<cit:LAYER>22</cit:LAYER> |
|
260 |
<cit:LEVEL>22.0</cit:LEVEL> |
|
261 |
<cit:ELEVATION>0.0</cit:ELEVATION> |
|
262 |
<cit:COLOR>6.0</cit:COLOR> |
|
263 |
<cit:ID>12106.0</cit:ID> |
|
264 |
<cit:ID_PONT></cit:ID_PONT> |
|
265 |
<cit:NOMBRE>CV-950</cit:NOMBRE> |
|
266 |
<cit:ANCHO_C>5.5</cit:ANCHO_C> |
|
267 |
<cit:CARRIL_D>1.0</cit:CARRIL_D> |
|
268 |
<cit:CARRIL_I>1.0</cit:CARRIL_I> |
|
269 |
<cit:ANCHO_M>0.0</cit:ANCHO_M> |
|
270 |
<cit:ARCEN>1.0</cit:ARCEN> |
|
271 |
<cit:TUNEL>false</cit:TUNEL> |
|
272 |
<cit:URBANA>false</cit:URBANA> |
|
273 |
<cit:TIPO>COPUT</cit:TIPO> |
|
274 |
<cit:ANCHO_BUF>2.75</cit:ANCHO_BUF> |
|
275 |
<cit:FROM_NODE>1390.0</cit:FROM_NODE> |
|
276 |
<cit:TO_NODE>1607.0</cit:TO_NODE> |
|
277 |
</cit:lines></gml:featureMember><gml:featureMember> |
|
278 |
<cit:lines><cit:the_geom><gml:MultiLineString srsName='0'> |
|
279 |
<gml:lineStringMember> |
|
280 |
<gml:LineString srsName='0'> |
|
281 |
<gml:coordinates> |
|
282 |
682619.4,4214407.51 682627.47,4214397.34 |
|
283 |
682637.04,4214385.27 682653.65,4214366.59 |
|
284 |
682669.84,4214350.52 682676.29,4214344.84 |
|
285 |
682679.89,4214342.24 682683.67,4214339.72 |
|
286 |
682687.03,4214337.63 682691.56,4214335.62 |
|
287 |
682696.77,4214333.69 682702.64,4214332.43 |
|
288 |
682709.27,4214331.34 682717.08,4214330.5 |
|
289 |
682727.07,4214329.75 682755.64,4214328.25 |
|
290 |
682763.54,4214327.58 682768.57,4214326.83 |
|
291 |
682774.7,4214325.65 682781.67,4214323.89 |
|
292 |
682790.14,4214321.38 682802.45,4214316.95 |
|
293 |
682810.76,4214313.6 682825.09,4214307.32 |
|
294 |
682832.98,4214303.38 682838.94,4214299.77 |
|
295 |
682845.55,4214295.18 682852.26,4214289.23 |
|
296 |
682860.32,4214281.26 682869.11,4214272.81 |
|
297 |
682873.9,4214269.04 682878.77,4214265.68 |
|
298 |
682883.36,4214262.95 682888.9,4214260.1 |
|
299 |
682896.7,4214256.83 682905.18,4214254.14 |
|
300 |
682921.86,4214249.96 682928.66,4214248.2 |
|
301 |
682934.37,4214246.44 682940.92,4214244.17 |
|
302 |
682947.3,4214241.49 682956.34,4214236.98 |
|
303 |
682969.18,4214230.11 682991.4,4214217.8 |
|
304 |
683002.03,4214211.1 683007.24,4214207.24 |
|
305 |
683010.84,4214204.06 683014.79,4214199.28 |
|
306 |
683018.9,4214193.41 683022.24,4214187.59 |
|
307 |
683026.61,4214178.28 683032.48,4214163.44 |
|
308 |
683049.34,4214117.8 683068.38,4214064.12 |
|
309 |
683087.4,4214011.12 683102.25,4213966.4 |
|
310 |
683117.77,4213910.21 683125.14,4213884.22 |
|
311 |
683129.59,4213871.64 683134.55,4213859.32 |
|
312 |
683146.03,4213834.79 683157.43,4213813.96 |
|
313 |
683170.02,4213791.82 683193.92,4213750.96 |
|
314 |
683204.23,4213732.4 683209.52,4213722.09 |
|
315 |
683212.0,4213716.79 683213.46,4213712.86 |
|
316 |
683217.24,4213702.55 683220.93,4213689.88 |
|
317 |
683224.62,4213676.88 683227.89,4213662.63 |
|
318 |
683234.01,4213633.4 683242.07,4213595.82 |
|
319 |
683251.04,4213553.85 683260.76,4213510.09 |
|
320 |
683268.9,4213472.7 683281.39,4213415.25 |
|
321 |
683293.31,4213361.24 683296.24,4213348.14 |
|
322 |
683298.1,4213341.38 683300.77,4213334.13 |
|
323 |
683302.86,4213329.45 683306.39,4213322.66 |
|
324 |
683315.03,4213307.91 683334.5,4213276.93 |
|
325 |
683371.32,4213219.22 683401.93,4213170.75 |
|
326 |
683438.83,4213111.79 683446.11,4213099.87 |
|
327 |
683450.73,4213090.06 683452.91,4213083.86 |
|
328 |
683454.42,4213078.16 683455.1,4213072.2 |
|
329 |
683455.35,4213065.92 683455.18,4213060.38 |
|
330 |
683454.26,4213053.88 683452.92,4213045.58 |
|
331 |
683452.33,4213038.54 683452.25,4213034.26 |
|
332 |
683452.33,4213029.9 683452.92,4213024.54 |
|
333 |
683454.09,4213020.21 683455.77,4213014.76 |
|
334 |
683457.28,4213011.16 683459.79,4213006.88 |
|
335 |
683463.08,4213002.7 683464.35,4213001.49 |
|
336 |
683465.73,4213000.37 683469.09,4212997.77 |
|
337 |
683473.54,4212995.25 683477.9,4212993.91 |
|
338 |
683482.52,4212993.15 683487.3,4212992.99 |
|
339 |
683493.85,4212993.24 683501.91,4212994.75 |
|
340 |
683515.0,4212998.52 683533.34,4213004.02 |
|
341 |
683541.9,4213006.54 683548.53,4213008.05 |
|
342 |
683553.55,4213008.63 683558.25,4213008.8 |
|
343 |
683563.96,4213008.47 683569.25,4213007.63 |
|
344 |
683574.2,4213005.95 683580.16,4213003.44 |
|
345 |
683585.59,4213000.19 683590.38,4212996.25 |
|
346 |
683595.67,4212991.05 683600.03,4212985.77 |
|
347 |
683603.97,4212979.5 683607.41,4212972.87 |
|
348 |
683609.93,4212966.92 683611.94,4212960.47 |
|
349 |
683613.12,4212955.02 683615.54,4212942.64 |
|
350 |
683617.89,4212931.83 683620.65,4212922.3 |
|
351 |
683623.59,4212914.84 683626.69,4212908.55 |
|
352 |
683629.88,4212903.52 683638.66,4212892.69 |
|
353 |
683652.51,4212877.01 683662.66,4212866.53 |
|
354 |
683667.87,4212860.24 683673.24,4212852.86 |
|
355 |
683678.78,4212845.18 683684.65,4212834.95 |
|
356 |
683691.43,4212821.74 683692.61,4212819.39 |
|
357 |
683697.14,4212810.08 683711.24,4212781.68 |
|
358 |
683724.9,4212753.63 683743.27,4212715.1 |
|
359 |
683761.54,4212677.37 683771.45,4212657.09 |
|
360 |
683783.19,4212632.7 683799.37,4212599.71 |
|
361 |
683804.82,4212588.61 683813.3,4212573.27 |
|
362 |
683824.88,4212553.65 683852.14,4212506.93 |
|
363 |
683882.41,4212457.27 683917.58,4212399.84 |
|
364 |
683937.77,4212365.57 683955.9,4212334.55 |
|
365 |
683982.82,4212285.38 684005.72,4212242.16 |
|
366 |
684031.05,4212195.44 684065.86,4212130.88 |
|
367 |
684085.57,4212094.49 684089.51,4212087.02 |
|
368 |
684096.56,4212073.86 684107.79,4212052.53 |
|
369 |
684126.25,4212018.37 684139.27,4211995.31 |
|
370 |
684148.38,4211980.62 684156.44,4211968.54 |
|
371 |
684163.83,4211959.41 684183.95,4211935.88 |
|
372 |
684221.53,4211894.09 684253.22,4211858.85 |
|
373 |
684258.59,4211852.48 684263.04,4211847.19 |
|
374 |
684266.87,4211841.63 684271.49,4211834.17 |
|
375 |
684274.35,4211828.64 684277.28,4211821.76 |
|
376 |
684279.63,4211814.55 684281.23,4211807.84 |
|
377 |
684283.16,4211798.85 684285.0,4211785.94 |
|
378 |
684287.69,4211766.49 684291.55,4211739.88 |
|
379 |
684293.22,4211729.52 684294.65,4211721.31 |
|
380 |
684297.04,4211713.39 684299.22,4211707.35 |
|
381 |
684302.04,4211701.73 684304.43,4211697.36 |
|
382 |
684307.66,4211692.58 684311.62,4211687.48 |
|
383 |
684316.1,4211682.69 684321.41,4211677.59 |
|
384 |
684330.68,4211668.96 684344.93,4211657.54 |
|
385 |
684357.63,4211648.28 684368.99,4211640.06 |
|
386 |
684395.21,4211622.89 684418.45,4211608.58 |
|
387 |
684444.64,4211592.06 684496.9,4211559.58 |
|
388 |
684524.21,4211542.35 684538.23,4211533.97 |
|
389 |
684548.01,4211529.04 684555.9,4211525.86 |
|
390 |
684561.02,4211524.26 684566.06,4211523.43 |
|
391 |
684572.36,4211522.84 684582.68,4211522.67 |
|
392 |
684618.82,4211523.76 684628.14,4211523.76 |
|
393 |
684634.27,4211523.51 684643.25,4211522.67 |
|
394 |
684652.99,4211520.99 684665.95,4211518.24 |
|
395 |
684681.73,4211513.62 684705.15,4211506.25 |
|
396 |
684722.55,4211499.74 684730.19,4211496.13 |
|
397 |
684736.74,4211492.11 684739.68,4211490.09 |
|
398 |
684749.67,4211481.29 684759.87,4211470.61 |
|
399 |
684771.21,4211457.61 684792.1,4211434.33 |
|
400 |
684802.74,4211421.27 684810.8,4211410.63 |
|
401 |
684818.91,4211397.94 684824.28,4211388.46 |
|
402 |
684829.49,4211378.15 684837.2,4211360.65 |
|
403 |
684852.04,4211324.98 684856.56,4211316.04 |
|
404 |
684858.66,4211312.26 684861.94,4211307.57 |
|
405 |
684865.71,4211302.79 684872.76,4211294.57 |
|
406 |
684888.45,4211277.41 684902.19,4211263.36 |
|
407 |
684908.49,4211257.99 684915.04,4211253.3 |
|
408 |
684920.58,4211249.52 684926.66,4211245.95 |
|
409 |
684933.88,4211242.18 684939.75,4211240.0 |
|
410 |
684947.3,4211237.65 684959.47,4211234.47 |
|
411 |
684984.07,4211229.02 684998.45,4211225.94 |
|
412 |
685024.14,4211219.4 685038.91,4211214.87 |
|
413 |
685047.26,4211211.72 685055.15,4211207.86 |
|
414 |
685061.19,4211203.83 685066.65,4211199.06 |
|
415 |
685070.85,4211194.36 685074.88,4211188.74 |
|
416 |
685079.24,4211181.78 685081.17,4211178.12 |
|
417 |
685084.94,4211167.98 685090.57,4211151.46 |
|
418 |
685101.46,4211120.35 685108.59,4211103.02 |
|
419 |
685113.3,4211093.04 685117.99,4211084.68 |
|
420 |
685123.95,4211075.96 685131.17,4211066.32 |
|
421 |
685137.19,4211060.05 685144.92,4211052.01 |
|
422 |
685153.87,4211044.0 685168.32,4211032.15 |
|
423 |
685188.02,4211017.76 685205.48,4211005.94 |
|
424 |
685221.14,4210995.33 685229.03,4210989.38 |
|
425 |
685233.56,4210985.44 685237.76,4210982.0 |
|
426 |
685242.96,4210977.14 685249.51,4210970.6 |
|
427 |
685256.8,4210963.0 685266.2,4210952.52 |
|
428 |
685299.75,4210916.09 685347.64,4210864.0 |
|
429 |
685390.42,4210817.19 685419.18,4210785.99 |
|
430 |
685426.9,4210776.68 685431.26,4210770.98 |
|
431 |
685433.95,4210766.7 685437.03,4210760.31 |
|
432 |
685440.3,4210752.51 685442.32,4210745.72 |
|
433 |
685443.83,4210737.17 685445.26,4210726.43 |
|
434 |
685447.19,4210701.74 685449.96,4210667.07 |
|
435 |
685451.47,4210651.83 685452.81,4210643.7 |
|
436 |
685454.32,4210636.91 685457.26,4210627.66 |
|
437 |
685460.86,4210618.88 685465.81,4210610.16 |
|
438 |
685474.71,4210595.49 685488.36,4210576.17 |
|
439 |
685505.49,4210551.27 685529.39,4210516.26 |
|
440 |
685535.67,4210506.23 685540.37,4210497.18 |
|
441 |
685543.31,4210490.39 685546.25,4210481.92 |
|
442 |
685548.66,4210473.25 685550.51,4210465.78 |
|
443 |
685551.26,4210459.75 685551.68,4210453.12 |
|
444 |
685552.02,4210446.12 685552.02,4210439.58 |
|
445 |
685551.68,4210433.29 685550.68,4210426.67 |
|
446 |
685548.91,4210418.79 685546.73,4210412.77 |
|
447 |
685540.61,4210397.68 685529.54,4210371.89 |
|
448 |
685512.61,4210333.46 685495.83,4210294.93 |
|
449 |
685474.11,4210243.85 685450.53,4210189.51 |
|
450 |
685422.45,4210125.01 685412.88,4210102.79 |
|
451 |
685408.43,4210091.47 685405.93,4210084.13 |
|
452 |
685402.9,4210075.75 685399.88,4210066.36 |
|
453 |
685397.95,4210058.31 685396.28,4210047.3 |
|
454 |
685395.36,4210039.5 685394.86,4210032.55 |
|
455 |
685394.77,4210022.99 685395.95,4210009.66 |
|
456 |
685397.04,4209999.52 685398.3,4209990.21 |
|
457 |
685400.97,4209972.33 685405.0,4209945.0 |
|
458 |
685409.95,4209914.53 685413.48,4209895.19 |
|
459 |
685415.07,4209886.75 685417.42,4209878.53 |
|
460 |
685419.77,4209870.73 685423.05,4209862.35 |
|
461 |
685426.48,4209854.66 685429.76,4209847.62 |
|
462 |
685434.2,4209839.75 685438.57,4209832.21 |
|
463 |
685442.45,4209825.64 |
|
464 |
</gml:coordinates> |
|
465 |
</gml:LineString> |
|
466 |
</gml:lineStringMember> |
|
467 |
</gml:MultiLineString> |
|
468 |
</cit:the_geom> |
|
469 |
<cit:ENTITY>Complex Chain</cit:ENTITY> |
|
470 |
<cit:LAYER>22</cit:LAYER> |
|
471 |
<cit:LEVEL>22.0</cit:LEVEL> |
|
472 |
<cit:ELEVATION>0.0</cit:ELEVATION> |
|
473 |
<cit:COLOR>6.0</cit:COLOR> |
|
474 |
<cit:ID>12187.0</cit:ID> |
|
475 |
<cit:ID_PONT>3076</cit:ID_PONT> |
|
476 |
<cit:NOMBRE>CV-925</cit:NOMBRE> |
|
477 |
<cit:ANCHO_C>5.5</cit:ANCHO_C> |
|
478 |
<cit:CARRIL_D>1.0</cit:CARRIL_D> |
|
479 |
<cit:CARRIL_I>1.0</cit:CARRIL_I> |
|
480 |
<cit:ANCHO_M>0.0</cit:ANCHO_M> |
|
481 |
<cit:ARCEN>1.0</cit:ARCEN> |
|
482 |
<cit:TUNEL>false</cit:TUNEL> |
|
483 |
<cit:URBANA>false</cit:URBANA> |
|
484 |
<cit:TIPO>COPUT</cit:TIPO> |
|
485 |
<cit:ANCHO_BUF>2.75</cit:ANCHO_BUF> |
|
486 |
<cit:FROM_NODE>1259.0</cit:FROM_NODE> |
|
487 |
<cit:TO_NODE>1390.0</cit:TO_NODE> |
|
488 |
</cit:lines></gml:featureMember><gml:featureMember> |
|
489 |
<cit:lines><cit:the_geom><gml:MultiLineString srsName='0'> |
|
490 |
<gml:lineStringMember> |
|
491 |
<gml:LineString srsName='0'> |
|
492 |
<gml:coordinates> |
|
493 |
679289.43,4207945.31 679295.33,4207945.36 |
|
494 |
679300.3,4207945.75 679304.6,4207946.14 |
|
495 |
679308.6,4207946.74 679313.49,4207947.82 |
|
496 |
679318.87,4207949.65 679323.02,4207951.33 |
|
497 |
679326.66,4207953.19 679331.99,4207955.86 |
|
498 |
679336.39,4207958.57 679340.39,4207960.99 |
|
499 |
679347.19,4207965.22 679356.09,4207971.84 |
|
500 |
679399.05,4208005.57 679423.1,4208024.36 |
|
501 |
679500.43,4208083.05 679510.95,4208090.68 |
|
502 |
679518.54,4208095.99 679526.84,4208101.42 |
|
503 |
679536.52,4208107.14 679546.2,4208112.17 |
|
504 |
679558.64,4208118.09 679577.89,4208126.66 |
|
505 |
679609.84,4208140.34 679630.74,4208149.91 |
|
506 |
679639.83,4208154.05 679644.37,4208156.31 |
|
507 |
679651.38,4208159.76 679659.78,4208164.69 |
|
508 |
679666.88,4208169.03 679690.47,4208183.42 |
|
509 |
679723.25,4208203.25 679790.97,4208245.25 |
|
510 |
679818.25,4208261.95 679837.51,4208273.58 |
|
511 |
679851.04,4208281.77 679861.31,4208288.47 |
|
512 |
679868.42,4208292.42 679874.25,4208295.48 |
|
513 |
679879.97,4208298.04 679885.31,4208299.92 |
|
514 |
679892.4,4208302.07 679910.08,4208305.42 |
|
515 |
679950.54,4208313.5 679961.15,4208315.46 |
|
516 |
679977.35,4208319.31 680002.54,4208326.41 |
|
517 |
680028.39,4208334.59 680041.79,4208339.21 |
|
518 |
680049.99,4208342.07 680059.47,4208345.52 |
|
519 |
680064.61,4208347.88 680071.22,4208351.54 |
|
520 |
680079.52,4208356.27 680094.91,4208365.63 |
|
521 |
680113.87,4208378.16 680133.7,4208391.36 |
|
522 |
680141.9,4208396.39 680147.92,4208399.85 |
|
523 |
680153.85,4208402.9 680161.45,4208405.86 |
|
524 |
680171.3,4208409.39 680192.73,4208416.1 |
|
525 |
680222.84,4208425.36 680253.02,4208434.32 |
|
526 |
680265.07,4208437.87 680271.79,4208439.55 |
|
527 |
680280.98,4208441.13 680287.0,4208442.11 |
|
528 |
680300.27,4208443.28 680324.86,4208445.06 |
|
529 |
680358.45,4208447.23 680420.52,4208451.68 |
|
530 |
680456.7,4208454.82 680479.22,4208457.49 |
|
531 |
680544.65,4208469.9 680602.98,4208480.95 |
|
532 |
680637.92,4208489.71 680710.69,4208509.14 |
|
533 |
680797.25,4208532.31 680891.4,4208558.04 |
|
534 |
680959.37,4208577.53 680968.55,4208579.6 |
|
535 |
680976.95,4208580.68 680986.23,4208581.18 |
|
536 |
681012.87,4208580.29 681061.34,4208575.95 |
|
537 |
681135.27,4208569.94 681189.53,4208565.99 |
|
538 |
681221.28,4208564.61 681269.92,4208563.13 |
|
539 |
681306.96,4208563.33 681323.43,4208562.83 |
|
540 |
681335.38,4208562.14 681346.64,4208560.86 |
Also available in: Unified diff