~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/openlayers/tests/Format/GML/v3.html

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html> 
 
2
<head> 
 
3
    <script src="../../../lib/OpenLayers.js"></script>
 
4
    <script src="cases.js"></script>
 
5
    <script type="text/javascript">
 
6
 
 
7
    function test_readNode_geometry(t) {
 
8
        var files = [
 
9
            "v2/point-coord.xml", "v2/point-coordinates.xml",
 
10
            "v2/linestring-coord.xml", "v2/linestring-coordinates.xml",
 
11
            "v2/multipoint-coord.xml", "v2/multipoint-coordinates.xml",
 
12
            "v2/multilinestring-coord.xml", "v2/multilinestring-coordinates.xml",
 
13
            "v3/point.xml", "v3/linestring.xml", "v3/polygon.xml",
 
14
            "v3/multipoint-singular.xml", "v3/multipoint-plural.xml",
 
15
            "v3/multilinestring-singular.xml", "v3/multilinestring-plural.xml",
 
16
            "v3/multipolygon-singular.xml", "v3/multipolygon-plural.xml",
 
17
            "v3/multisurface-singular.xml", "v3/multisurface-plural.xml"
 
18
        ];
 
19
 
 
20
        var len = files.length;
 
21
        t.plan(len);
 
22
 
 
23
        var format = new OpenLayers.Format.GML.v3({
 
24
            featureType: "feature",
 
25
            featureNS: "http://example.com/feature"
 
26
        });
 
27
        var file, doc, expect, out;
 
28
        for(var i=0; i<len; ++i) {
 
29
            file = files[i];
 
30
            expect = cases[file];
 
31
            if(expect) {
 
32
                doc = readXML(file);
 
33
                if(doc && doc.documentElement) {
 
34
                    out = format.readNode(doc.documentElement);
 
35
                    if(out.components && out.components.length == 1) {
 
36
                        t.geom_eq(out.components[0], expect, "[" + file + "] geometry read");
 
37
                    } else {
 
38
                        t.fail("[" + file + "] gml parsing");
 
39
                    }
 
40
                } else {
 
41
                    t.fail("[" + file + "] xml parsing");
 
42
                }
 
43
            } else {
 
44
                t.fail("[" + file + "] case not found");
 
45
            }
 
46
        }
 
47
        
 
48
    }
 
49
 
 
50
    function test_readNode_bounds(t) {
 
51
        var files = ["v3/envelope.xml"];
 
52
 
 
53
        var len = files.length;
 
54
        t.plan(len);
 
55
        
 
56
        var file, doc, expect, got;
 
57
        var format = new OpenLayers.Format.GML.v3({
 
58
            featureType: "feature",
 
59
            featureNS: "http://example.com/feature"
 
60
        });
 
61
        for(var i=0; i<len; ++i) {
 
62
            file = files[i];
 
63
            expect = cases[file];
 
64
            if(expect) {
 
65
                doc = readXML(file);
 
66
                if(doc && doc.documentElement) {
 
67
                    out = format.readNode(doc.documentElement);
 
68
                    if(out.components && out.components.length == 1) {
 
69
                        got = out.components[0];
 
70
                        if(got instanceof OpenLayers.Bounds) {
 
71
                            t.ok(out.components[0].equals(expect), "[" + file + "] bounds read")
 
72
                        } else {
 
73
                            t.fail("[" + file + "] expected a bounds, got " + got);
 
74
                        }
 
75
                    } else {
 
76
                        t.fail("[" + file + "] gml parsing");
 
77
                    }
 
78
                } else {
 
79
                    t.fail("[" + file + "] xml parsing");
 
80
                }
 
81
            } else {
 
82
                t.fail("[" + file + "] case not found");
 
83
            }
 
84
        }
 
85
        
 
86
    }
 
87
 
 
88
    function test_writeNode_geometry(t) {
 
89
        // we only care to write the 'pos' and 'posList' variants of GML 3 - conforming with simple features profile
 
90
        var files = [
 
91
            "v3/point.xml",
 
92
            "v3/linestring.xml",
 
93
            "v3/polygon.xml",
 
94
            "v3/multipoint-singular.xml",
 
95
            "v3/multilinestring-singular.xml",
 
96
            "v3/multipolygon-singular.xml"
 
97
        ];
 
98
 
 
99
        var len = files.length;
 
100
        t.plan(len);
 
101
 
 
102
        var format = new OpenLayers.Format.GML.v3({
 
103
            featureType: "feature",
 
104
            featureNS: "http://example.com/feature",
 
105
            srsName: "foo" // GML geometry collections require srsName, we only write if provided
 
106
        });
 
107
        var file, geom, doc, node;
 
108
        for(var i=0; i<len; ++i) {
 
109
            file = files[i];
 
110
            geom = cases[file];
 
111
            if(geom) {
 
112
                doc = readXML(file);
 
113
                if(doc && doc.documentElement) {
 
114
                    node = format.writeNode("feature:_geometry", geom);
 
115
                    t.xml_eq(node.firstChild, doc.documentElement, "[" + file + "] geometry written");
 
116
                } else {
 
117
                    t.fail("[" + file + "] xml parsing");
 
118
                }
 
119
            } else {
 
120
                t.fail("[" + file + "] case not found");
 
121
            }
 
122
        }
 
123
    }
 
124
 
 
125
    function test_writeNode_bounds(t) {
 
126
        // we only care to write the 'coordinates' variant of GML 2
 
127
        var files = [
 
128
            "v3/envelope.xml"
 
129
        ];
 
130
 
 
131
        var len = files.length;
 
132
        t.plan(len);
 
133
 
 
134
        var format = new OpenLayers.Format.GML.v3({
 
135
            featureType: "feature",
 
136
            featureNS: "http://example.com/feature",
 
137
            srsName: "foo" // GML envelopes require srsName, we only write if provided
 
138
        });
 
139
        var file, bounds, doc, node;
 
140
        for(var i=0; i<len; ++i) {
 
141
            file = files[i];
 
142
            bounds = cases[file];
 
143
            if(bounds) {
 
144
                doc = readXML(file);
 
145
                if(doc && doc.documentElement) {
 
146
                    node = format.writeNode("gml:Envelope", bounds);
 
147
                    t.xml_eq(node, doc.documentElement, "[" + file + "] bounds written");
 
148
                } else {
 
149
                    t.fail("[" + file + "] xml parsing");
 
150
                }
 
151
            } else {
 
152
                t.fail("[" + file + "] case not found");
 
153
            }
 
154
        }
 
155
    }
 
156
 
 
157
    function test_read(t) {
 
158
        t.plan(8);
 
159
        var doc = readXML("v3/topp-states-wfs.xml");
 
160
        var format = new OpenLayers.Format.GML.v3({
 
161
            featureType: "states",
 
162
            featureNS: "http://www.openplans.org/topp",
 
163
            geometryName: "the_geom"
 
164
        });
 
165
        var features = format.read(doc.documentElement);
 
166
        
 
167
        t.eq(features.length, 3, "read 3 features");
 
168
        var feature = features[0];
 
169
        t.eq(feature.fid, "states.1", "read fid");
 
170
        t.eq(feature.geometry.CLASS_NAME, "OpenLayers.Geometry.MultiPolygon",
 
171
             "read multipolygon geometry");
 
172
        var attributes = feature.attributes;
 
173
        t.eq(attributes["STATE_NAME"], "Illinois", "read STATE_NAME");
 
174
        t.eq(attributes["STATE_FIPS"], "17", "read STATE_FIPS");
 
175
        t.eq(attributes["SUB_REGION"], "E N Cen", "read SUB_REGION");
 
176
        t.eq(attributes["STATE_ABBR"], "IL", "read STATE_ABBR");
 
177
        t.eq(attributes["LAND_KM"], "143986.61", "read LAND_KM");
 
178
    }
 
179
 
 
180
    function test_write(t) {
 
181
        t.plan(1);
 
182
        var doc = readXML("v3/topp-states-gml.xml");
 
183
        var format = new OpenLayers.Format.GML.v3({
 
184
            featureType: "states",
 
185
            featureNS: "http://www.openplans.org/topp",
 
186
            geometryName: "the_geom",
 
187
            srsName: "urn:x-ogc:def:crs:EPSG:4326",
 
188
            schemaLocation: "http://www.openplans.org/topp http://sigma.openplans.org:80/geoserver/wfs?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=topp:states http://www.opengis.net/gml http://schemas.opengis.net/gml/3.2.1/gml.xsd"
 
189
        });
 
190
        var features = format.read(doc.documentElement);
 
191
        
 
192
        var got = format.write(features);
 
193
        t.xml_eq(got, doc.documentElement, "gml:featureMembers round trip");
 
194
    }
 
195
 
 
196
   </script>
 
197
</head>
 
198
<body>
 
199
<div id="v3/envelope.xml"><!--
 
200
<gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
201
    <gml:lowerCorner><gml:pos>1 2</gml:pos></gml:lowerCorner>
 
202
    <gml:upperCorner><gml:pos>3 4</gml:pos></gml:upperCorner>
 
203
</gml:Envelope>
 
204
--></div>
 
205
<div id="v3/linearring.xml"><!--
 
206
<gml:LinearRing xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
207
    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
208
</gml:LinearRing>
 
209
--></div>
 
210
<div id="v3/linestring.xml"><!--
 
211
<gml:LineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
212
  <gml:posList>1 2 3 4</gml:posList>
 
213
</gml:LineString>
 
214
--></div>
 
215
<div id="v3/multilinestring-plural.xml"><!--
 
216
<gml:MultiLineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
217
    <gml:lineStringMembers>
 
218
        <gml:LineString>
 
219
            <gml:posList>1 2 2 3</gml:posList>
 
220
        </gml:LineString>
 
221
        <gml:LineString>
 
222
            <gml:posList>3 4 4 5</gml:posList>
 
223
        </gml:LineString>
 
224
    </gml:lineStringMembers>
 
225
</gml:MultiLineString>
 
226
--></div>
 
227
<div id="v3/multilinestring-singular.xml"><!--
 
228
<gml:MultiLineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
229
    <gml:lineStringMember>
 
230
        <gml:LineString>
 
231
            <gml:posList>1 2 2 3</gml:posList>
 
232
        </gml:LineString>
 
233
    </gml:lineStringMember>
 
234
    <gml:lineStringMember>
 
235
        <gml:LineString>
 
236
            <gml:posList>3 4 4 5</gml:posList>
 
237
        </gml:LineString>
 
238
    </gml:lineStringMember>
 
239
</gml:MultiLineString>
 
240
--></div>
 
241
<div id="v3/multipoint-plural.xml"><!--
 
242
<gml:MultiPoint xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
243
    <gml:pointMembers>
 
244
        <gml:Point>
 
245
            <gml:pos>1 2</gml:pos>
 
246
        </gml:Point>
 
247
        <gml:Point>
 
248
            <gml:pos>2 3</gml:pos>
 
249
        </gml:Point>
 
250
        <gml:Point>
 
251
            <gml:pos>3 4</gml:pos>
 
252
        </gml:Point>
 
253
    </gml:pointMembers>
 
254
</gml:MultiPoint>
 
255
--></div>
 
256
<div id="v3/multipoint-singular.xml"><!--
 
257
<gml:MultiPoint xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
258
    <gml:pointMember>
 
259
        <gml:Point>
 
260
            <gml:pos>1 2</gml:pos>
 
261
        </gml:Point>
 
262
    </gml:pointMember>
 
263
    <gml:pointMember>
 
264
        <gml:Point>
 
265
            <gml:pos>2 3</gml:pos>
 
266
        </gml:Point>
 
267
    </gml:pointMember>
 
268
    <gml:pointMember>
 
269
        <gml:Point>
 
270
            <gml:pos>3 4</gml:pos>
 
271
        </gml:Point>
 
272
    </gml:pointMember>
 
273
</gml:MultiPoint>
 
274
--></div>
 
275
<div id="v3/multipolygon-plural.xml"><!--
 
276
<gml:MultiPolygon xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
277
    <gml:polygonMembers>
 
278
        <gml:Polygon>
 
279
            <gml:exterior>
 
280
                <gml:LinearRing>
 
281
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
282
                </gml:LinearRing>
 
283
            </gml:exterior>
 
284
            <gml:interior>
 
285
                <gml:LinearRing>
 
286
                    <gml:posList>2 3 4 5 6 7 2 3</gml:posList>
 
287
                </gml:LinearRing>
 
288
            </gml:interior>    
 
289
            <gml:interior>
 
290
                <gml:LinearRing>
 
291
                    <gml:posList>3 4 5 6 7 8 3 4</gml:posList>
 
292
                </gml:LinearRing>
 
293
            </gml:interior>
 
294
        </gml:Polygon>
 
295
        <gml:Polygon>
 
296
            <gml:exterior>
 
297
                <gml:LinearRing>
 
298
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
299
                </gml:LinearRing>
 
300
            </gml:exterior>
 
301
        </gml:Polygon>
 
302
    </gml:polygonMembers>
 
303
</gml:MultiPolygon>
 
304
--></div>
 
305
<div id="v3/multipolygon-singular.xml"><!--
 
306
<gml:MultiPolygon xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
307
    <gml:polygonMember>
 
308
        <gml:Polygon>
 
309
            <gml:exterior>
 
310
                <gml:LinearRing>
 
311
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
312
                </gml:LinearRing>
 
313
            </gml:exterior>
 
314
            <gml:interior>
 
315
                <gml:LinearRing>
 
316
                    <gml:posList>2 3 4 5 6 7 2 3</gml:posList>
 
317
                </gml:LinearRing>
 
318
            </gml:interior>    
 
319
            <gml:interior>
 
320
                <gml:LinearRing>
 
321
                    <gml:posList>3 4 5 6 7 8 3 4</gml:posList>
 
322
                </gml:LinearRing>
 
323
            </gml:interior>
 
324
        </gml:Polygon>
 
325
    </gml:polygonMember>
 
326
    <gml:polygonMember>
 
327
        <gml:Polygon>
 
328
            <gml:exterior>
 
329
                <gml:LinearRing>
 
330
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
331
                </gml:LinearRing>
 
332
            </gml:exterior>
 
333
        </gml:Polygon>
 
334
    </gml:polygonMember>
 
335
</gml:MultiPolygon>
 
336
--></div>
 
337
<div id="v3/multisurface-plural.xml"><!--
 
338
<gml:MultiSurface xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
339
    <gml:surfaceMembers>
 
340
        <gml:Polygon>
 
341
            <gml:exterior>
 
342
                <gml:LinearRing>
 
343
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
344
                </gml:LinearRing>
 
345
            </gml:exterior>
 
346
            <gml:interior>
 
347
                <gml:LinearRing>
 
348
                    <gml:posList>2 3 4 5 6 7 2 3</gml:posList>
 
349
                </gml:LinearRing>
 
350
            </gml:interior>    
 
351
            <gml:interior>
 
352
                <gml:LinearRing>
 
353
                    <gml:posList>3 4 5 6 7 8 3 4</gml:posList>
 
354
                </gml:LinearRing>
 
355
            </gml:interior>
 
356
        </gml:Polygon>
 
357
        <gml:Polygon>
 
358
            <gml:exterior>
 
359
                <gml:LinearRing>
 
360
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
361
                </gml:LinearRing>
 
362
            </gml:exterior>
 
363
        </gml:Polygon>
 
364
    </gml:surfaceMembers>
 
365
</gml:MultiSurface>
 
366
--></div>
 
367
<div id="v3/multisurface-singular.xml"><!--
 
368
<gml:MultiSurface xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
369
    <gml:surfaceMember>
 
370
        <gml:Polygon>
 
371
            <gml:exterior>
 
372
                <gml:LinearRing>
 
373
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
374
                </gml:LinearRing>
 
375
            </gml:exterior>
 
376
            <gml:interior>
 
377
                <gml:LinearRing>
 
378
                    <gml:posList>2 3 4 5 6 7 2 3</gml:posList>
 
379
                </gml:LinearRing>
 
380
            </gml:interior>    
 
381
            <gml:interior>
 
382
                <gml:LinearRing>
 
383
                    <gml:posList>3 4 5 6 7 8 3 4</gml:posList>
 
384
                </gml:LinearRing>
 
385
            </gml:interior>
 
386
        </gml:Polygon>
 
387
    </gml:surfaceMember>
 
388
    <gml:surfaceMember>
 
389
        <gml:Polygon>
 
390
            <gml:exterior>
 
391
                <gml:LinearRing>
 
392
                    <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
393
                </gml:LinearRing>
 
394
            </gml:exterior>
 
395
        </gml:Polygon>
 
396
    </gml:surfaceMember>
 
397
</gml:MultiSurface>
 
398
--></div>
 
399
<div id="v3/point.xml"><!--
 
400
<gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
401
  <gml:pos>1 2</gml:pos>
 
402
</gml:Point>
 
403
--></div>
 
404
<div id="v3/polygon.xml"><!--
 
405
<gml:Polygon xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
406
    <gml:exterior>
 
407
        <gml:LinearRing>
 
408
            <gml:posList>1 2 3 4 5 6 1 2</gml:posList>
 
409
        </gml:LinearRing>
 
410
    </gml:exterior>
 
411
    <gml:interior>
 
412
        <gml:LinearRing>
 
413
            <gml:posList>2 3 4 5 6 7 2 3</gml:posList>
 
414
        </gml:LinearRing>
 
415
    </gml:interior>    
 
416
    <gml:interior>
 
417
        <gml:LinearRing>
 
418
            <gml:posList>3 4 5 6 7 8 3 4</gml:posList>
 
419
        </gml:LinearRing>
 
420
    </gml:interior>    
 
421
</gml:Polygon>
 
422
--></div>
 
423
<div id="v3/topp-states-gml.xml"><!--
 
424
<?xml version="1.0" encoding="UTF-8"?>
 
425
<gml:featureMembers xsi:schemaLocation="http://www.openplans.org/topp http://sigma.openplans.org:80/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=topp:states http://www.opengis.net/gml http://schemas.opengis.net/gml/3.2.1/gml.xsd" xmlns:topp="http://www.openplans.org/topp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml"><topp:states fid="states.1"><topp:the_geom><gml:MultiPolygon srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:polygonMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>37.511 -88.071 37.476 -88.087 37.442 -88.311 37.409 -88.359 37.421 -88.419 37.401 -88.467 37.296 -88.511 37.257 -88.501 37.205 -88.451 37.156 -88.422 37.098 -88.451 37.072 -88.476 37.068 -88.491 37.064 -88.517 37.072 -88.559 37.109 -88.614 37.135 -88.688 37.141 -88.739 37.152 -88.746 37.202 -88.863 37.218 -88.932 37.221 -88.993 37.185 -89.065 37.112 -89.116 37.093 -89.146 37.064 -89.169 37.025 -89.174 36.998 -89.151 36.988 -89.129 36.986 -89.193 37.028 -89.211 37.041 -89.237 37.087 -89.264 37.091 -89.284 37.085 -89.303 37.061 -89.309 37.027 -89.264 37.008 -89.262 36.999 -89.282 37.009 -89.311 37.049 -89.382 37.099 -89.379 37.137 -89.423 37.165 -89.441 37.224 -89.468 37.253 -89.465 37.256 -89.489 37.276 -89.513 37.304 -89.513 37.329 -89.501 37.339 -89.468 37.355 -89.435 37.411 -89.427 37.453 -89.453 37.491 -89.494 37.571 -89.524 37.615 -89.513 37.651 -89.519 37.679 -89.513 37.694 -89.521 37.706 -89.581 37.745 -89.666 37.783 -89.675 37.804 -89.691 37.841 -89.728 37.905 -89.851 37.905 -89.861 37.891 -89.866 37.875 -89.901 37.878 -89.937 37.911 -89.978 37.963 -89.958 37.969 -90.011 37.993 -90.041 38.032 -90.119 38.053 -90.134 38.088 -90.207 38.122 -90.254 38.166 -90.289 38.188 -90.336 38.234 -90.364 38.323 -90.369 38.365 -90.358 38.391 -90.339 38.427 -90.301 38.518 -90.265 38.532 -90.261 38.562 -90.241 38.611 -90.183 38.658 -90.183 38.701 -90.202 38.723 -90.196 38.773 -90.163 38.785 -90.135 38.801 -90.121 38.831 -90.113 38.853 -90.132 38.914 -90.243 38.924 -90.278 38.924 -90.319 38.962 -90.413 38.959 -90.469 38.891 -90.531 38.871 -90.571 38.881 -90.627 38.935 -90.668 39.037 -90.706 39.058 -90.707 39.093 -90.691 39.144 -90.716 39.195 -90.718 39.224 -90.732 39.247 -90.738 39.296 -90.779 39.351 -90.851 39.401 -90.947 39.444 -91.036 39.473 -91.064 39.528 -91.093 39.552 -91.156 39.601 -91.203 39.685 -91.317 39.724 -91.367 39.761 -91.373 39.803 -91.381 39.863 -91.449 39.885 -91.451 39.901 -91.434 39.921 -91.431 39.946 -91.447 40.005 -91.487 40.066 -91.504 40.134 -91.516 40.201 -91.506 40.251 -91.498 40.309 -91.486 40.371 -91.448 40.386 -91.418 40.392 -91.385 40.402 -91.372 40.447 -91.385 40.503 -91.374 40.528 -91.382 40.547 -91.412 40.572 -91.411 40.603 -91.375 40.639 -91.262 40.643 -91.214 40.656 -91.162 40.682 -91.129 40.705 -91.119 40.761 -91.092 40.833 -91.088 40.879 -91.049 40.923 -90.983 40.951 -90.961 41.071 -90.954 41.104 -90.957 41.144 -90.991 41.165 -91.018 41.176 -91.056 41.231 -91.101 41.267 -91.102 41.334 -91.073 41.401 -91.055 41.423 -91.027 41.431 -91.001 41.421 -90.949 41.444 -90.844 41.449 -90.779 41.451 -90.708 41.462 -90.658 41.509 -90.601 41.525 -90.541 41.527 -90.454 41.543 -90.434 41.567 -90.423 41.586 -90.348 41.602 -90.339 41.649 -90.341 41.722 -90.326 41.756 -90.304 41.781 -90.255 41.806 -90.195 41.931 -90.154 41.983 -90.142 42.033 -90.151 42.061 -90.168 42.103 -90.166 42.121 -90.176 42.122 -90.191 42.159 -90.231 42.197 -90.323 42.211 -90.367 42.242 -90.407 42.263 -90.417 42.341 -90.427 42.361 -90.441 42.388 -90.491 42.421 -90.563 42.461 -90.605 42.475 -90.648 42.494 -90.651 42.509 -90.638 42.508 -90.419 42.504 -89.923 42.503 -89.834 42.497 -89.401 42.497 -89.359 42.491 -88.939 42.491 -88.764 42.489 -88.706 42.491 -88.297 42.489 -88.194 42.489 -87.797 42.314 -87.836 42.156 -87.761 42.059 -87.671 41.847 -87.612 41.723 -87.529 41.469 -87.532 41.301 -87.532 41.173 -87.531 41.009 -87.532 40.745 -87.532 40.494 -87.537 40.483 -87.535 40.166 -87.535 39.887 -87.535 39.609 -87.535 39.477 -87.538 39.351 -87.541 39.338 -87.597 39.307 -87.625 39.297 -87.611 39.281 -87.615 39.258 -87.606 39.248 -87.584 39.208 -87.588 39.198 -87.594 39.196 -87.607 39.168 -87.644 39.146 -87.671 39.131 -87.659 39.113 -87.662 39.103 -87.631 39.088 -87.631 39.084 -87.612 39.062 -87.585 38.995 -87.581 38.994 -87.591 38.977 -87.547 38.963 -87.533 38.931 -87.531 38.904 -87.539 38.869 -87.559 38.857 -87.551 38.795 -87.507 38.776 -87.519 38.769 -87.508 38.736 -87.508 38.685 -87.543 38.672 -87.588 38.642 -87.625 38.622 -87.628 38.599 -87.619 38.593 -87.641 38.573 -87.652 38.547 -87.672 38.515 -87.651 38.501 -87.653 38.504 -87.679 38.481 -87.692 38.466 -87.756 38.457 -87.758 38.445 -87.738 38.417 -87.748 38.378 -87.784 38.352 -87.834 38.286 -87.851 38.285 -87.863 38.316 -87.874 38.315 -87.883 38.301 -87.888 38.281 -87.914 38.302 -87.913 38.304 -87.925 38.241 -87.981 38.234 -87.986 38.201 -87.977 38.171 -87.932 38.157 -87.931 38.136 -87.951 38.131 -87.973 38.103 -88.018 38.092 -88.012 38.096 -87.964 38.073 -87.975 38.054 -88.034 38.045 -88.043 38.038 -88.041 38.033 -88.021 38.008 -88.029 37.975 -88.021 37.956 -88.042 37.934 -88.041 37.929 -88.064 37.944 -88.078 37.923 -88.084 37.917 -88.031 37.905 -88.026 37.896 -88.044 37.906 -88.101 37.895 -88.101 37.867 -88.075 37.843 -88.034 37.827 -88.042 37.831 -88.089 37.817 -88.086 37.805 -88.035 37.735 -88.072 37.701 -88.133 37.661 -88.159 37.628 -88.157 37.583 -88.134 37.511 -88.071</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:polygonMember></gml:MultiPolygon></topp:the_geom><topp:STATE_NAME>Illinois</topp:STATE_NAME><topp:STATE_FIPS>17</topp:STATE_FIPS><topp:SUB_REGION>E N Cen</topp:SUB_REGION><topp:STATE_ABBR>IL</topp:STATE_ABBR><topp:LAND_KM>143986.61</topp:LAND_KM><topp:WATER_KM>1993.335</topp:WATER_KM><topp:PERSONS>1.143E7</topp:PERSONS><topp:FAMILIES>2924880.0</topp:FAMILIES><topp:HOUSHOLD>4202240.0</topp:HOUSHOLD><topp:MALE>5552233.0</topp:MALE><topp:FEMALE>5878369.0</topp:FEMALE><topp:WORKERS>4199206.0</topp:WORKERS><topp:DRVALONE>3741715.0</topp:DRVALONE><topp:CARPOOL>652603.0</topp:CARPOOL><topp:PUBTRANS>538071.0</topp:PUBTRANS><topp:EMPLOYED>5417967.0</topp:EMPLOYED><topp:UNEMPLOY>385040.0</topp:UNEMPLOY><topp:SERVICE>1360159.0</topp:SERVICE><topp:MANUAL>828906.0</topp:MANUAL><topp:P_MALE>0.486</topp:P_MALE><topp:P_FEMALE>0.514</topp:P_FEMALE><topp:SAMP_POP>1747776.0</topp:SAMP_POP></topp:states><topp:states fid="states.2"><topp:the_geom><gml:MultiPolygon srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:polygonMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>38.966 -77.008 38.889 -76.911 38.788 -77.045 38.813 -77.035 38.829 -77.045 38.838 -77.041 38.862 -77.039 38.886 -77.067 38.915 -77.078 38.932 -77.122 38.993 -77.042 38.966 -77.008</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:polygonMember></gml:MultiPolygon></topp:the_geom><topp:STATE_NAME>District of Columbia</topp:STATE_NAME><topp:STATE_FIPS>11</topp:STATE_FIPS><topp:SUB_REGION>S Atl</topp:SUB_REGION><topp:STATE_ABBR>DC</topp:STATE_ABBR><topp:LAND_KM>159.055</topp:LAND_KM><topp:WATER_KM>17.991</topp:WATER_KM><topp:PERSONS>606900.0</topp:PERSONS><topp:FAMILIES>122087.0</topp:FAMILIES><topp:HOUSHOLD>249634.0</topp:HOUSHOLD><topp:MALE>282970.0</topp:MALE><topp:FEMALE>323930.0</topp:FEMALE><topp:WORKERS>229975.0</topp:WORKERS><topp:DRVALONE>106694.0</topp:DRVALONE><topp:CARPOOL>36621.0</topp:CARPOOL><topp:PUBTRANS>111422.0</topp:PUBTRANS><topp:EMPLOYED>303994.0</topp:EMPLOYED><topp:UNEMPLOY>23442.0</topp:UNEMPLOY><topp:SERVICE>65498.0</topp:SERVICE><topp:MANUAL>22407.0</topp:MANUAL><topp:P_MALE>0.466</topp:P_MALE><topp:P_FEMALE>0.534</topp:P_FEMALE><topp:SAMP_POP>72696.0</topp:SAMP_POP></topp:states><topp:states fid="states.3"><topp:the_geom><gml:MultiPolygon srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:polygonMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>38.557 -75.707 38.649 -75.711 38.831 -75.724 39.141 -75.752 39.247 -75.761 39.295 -75.764 39.383 -75.772 39.723 -75.791 39.724 -75.775 39.774 -75.745 39.821 -75.695 39.838 -75.644 39.841 -75.583 39.826 -75.471 39.798 -75.421 39.789 -75.412 39.778 -75.428 39.763 -75.461 39.741 -75.475 39.719 -75.476 39.714 -75.489 39.612 -75.611 39.566 -75.562 39.463 -75.591 39.366 -75.515 39.257 -75.402 39.073 -75.397 39.012 -75.324 38.945 -75.307 38.808 -75.191 38.799 -75.083 38.449 -75.045 38.449 -75.068 38.451 -75.093 38.455 -75.351 38.463 -75.699 38.557 -75.707</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:polygonMember></gml:MultiPolygon></topp:the_geom><topp:STATE_NAME>Delaware</topp:STATE_NAME><topp:STATE_FIPS>10</topp:STATE_FIPS><topp:SUB_REGION>S Atl</topp:SUB_REGION><topp:STATE_ABBR>DE</topp:STATE_ABBR><topp:LAND_KM>5062.456</topp:LAND_KM><topp:WATER_KM>1385.022</topp:WATER_KM><topp:PERSONS>666168.0</topp:PERSONS><topp:FAMILIES>175867.0</topp:FAMILIES><topp:HOUSHOLD>247497.0</topp:HOUSHOLD><topp:MALE>322968.0</topp:MALE><topp:FEMALE>343200.0</topp:FEMALE><topp:WORKERS>247566.0</topp:WORKERS><topp:DRVALONE>258087.0</topp:DRVALONE><topp:CARPOOL>42968.0</topp:CARPOOL><topp:PUBTRANS>8069.0</topp:PUBTRANS><topp:EMPLOYED>335147.0</topp:EMPLOYED><topp:UNEMPLOY>13945.0</topp:UNEMPLOY><topp:SERVICE>87973.0</topp:SERVICE><topp:MANUAL>44140.0</topp:MANUAL><topp:P_MALE>0.485</topp:P_MALE><topp:P_FEMALE>0.515</topp:P_FEMALE><topp:SAMP_POP>102776.0</topp:SAMP_POP></topp:states></gml:featureMembers>
 
426
--></div>
 
427
<div id="v3/topp-states-wfs.xml"><!--
 
428
<?xml version="1.0" encoding="UTF-8"?>
 
429
<wfs:FeatureCollection numberOfFeatures="3" timeStamp="2008-09-12T00:24:21.013-04:00" xsi:schemaLocation="http://www.openplans.org/topp http://sigma.openplans.org:80/geoserver/wfs?service=WFS&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typeName=topp:states http://www.opengis.net/wfs http://sigma.openplans.org:80/geoserver/schemas/wfs/1.1.0/wfs.xsd" xmlns:ogc="http://www.opengis.net/ogc" xmlns:opengeo="http://open-geo.com" xmlns:tiger="http://www.census.gov" xmlns:wfs="http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:seb="http://seb.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink"><gml:featureMembers><topp:states gml:id="states.1"><gml:boundedBy><gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:lowerCorner>36.986 -91.516</gml:lowerCorner><gml:upperCorner>42.509 -87.507</gml:upperCorner></gml:Envelope></gml:boundedBy><topp:the_geom><gml:MultiSurface srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>37.511 -88.071 37.476 -88.087 37.442 -88.311 37.409 -88.359 37.421 -88.419 37.401 -88.467 37.296 -88.511 37.257 -88.501 37.205 -88.451 37.156 -88.422 37.098 -88.451 37.072 -88.476 37.068 -88.491 37.064 -88.517 37.072 -88.559 37.109 -88.614 37.135 -88.688 37.141 -88.739 37.152 -88.746 37.202 -88.863 37.218 -88.932 37.221 -88.993 37.185 -89.065 37.112 -89.116 37.093 -89.146 37.064 -89.169 37.025 -89.174 36.998 -89.151 36.988 -89.129 36.986 -89.193 37.028 -89.211 37.041 -89.237 37.087 -89.264 37.091 -89.284 37.085 -89.303 37.061 -89.309 37.027 -89.264 37.008 -89.262 36.999 -89.282 37.009 -89.311 37.049 -89.382 37.099 -89.379 37.137 -89.423 37.165 -89.441 37.224 -89.468 37.253 -89.465 37.256 -89.489 37.276 -89.513 37.304 -89.513 37.329 -89.501 37.339 -89.468 37.355 -89.435 37.411 -89.427 37.453 -89.453 37.491 -89.494 37.571 -89.524 37.615 -89.513 37.651 -89.519 37.679 -89.513 37.694 -89.521 37.706 -89.581 37.745 -89.666 37.783 -89.675 37.804 -89.691 37.841 -89.728 37.905 -89.851 37.905 -89.861 37.891 -89.866 37.875 -89.901 37.878 -89.937 37.911 -89.978 37.963 -89.958 37.969 -90.011 37.993 -90.041 38.032 -90.119 38.053 -90.134 38.088 -90.207 38.122 -90.254 38.166 -90.289 38.188 -90.336 38.234 -90.364 38.323 -90.369 38.365 -90.358 38.391 -90.339 38.427 -90.301 38.518 -90.265 38.532 -90.261 38.562 -90.241 38.611 -90.183 38.658 -90.183 38.701 -90.202 38.723 -90.196 38.773 -90.163 38.785 -90.135 38.801 -90.121 38.831 -90.113 38.853 -90.132 38.914 -90.243 38.924 -90.278 38.924 -90.319 38.962 -90.413 38.959 -90.469 38.891 -90.531 38.871 -90.571 38.881 -90.627 38.935 -90.668 39.037 -90.706 39.058 -90.707 39.093 -90.691 39.144 -90.716 39.195 -90.718 39.224 -90.732 39.247 -90.738 39.296 -90.779 39.351 -90.851 39.401 -90.947 39.444 -91.036 39.473 -91.064 39.528 -91.093 39.552 -91.156 39.601 -91.203 39.685 -91.317 39.724 -91.367 39.761 -91.373 39.803 -91.381 39.863 -91.449 39.885 -91.451 39.901 -91.434 39.921 -91.431 39.946 -91.447 40.005 -91.487 40.066 -91.504 40.134 -91.516 40.201 -91.506 40.251 -91.498 40.309 -91.486 40.371 -91.448 40.386 -91.418 40.392 -91.385 40.402 -91.372 40.447 -91.385 40.503 -91.374 40.528 -91.382 40.547 -91.412 40.572 -91.411 40.603 -91.375 40.639 -91.262 40.643 -91.214 40.656 -91.162 40.682 -91.129 40.705 -91.119 40.761 -91.092 40.833 -91.088 40.879 -91.049 40.923 -90.983 40.951 -90.961 41.071 -90.954 41.104 -90.957 41.144 -90.991 41.165 -91.018 41.176 -91.056 41.231 -91.101 41.267 -91.102 41.334 -91.073 41.401 -91.055 41.423 -91.027 41.431 -91.001 41.421 -90.949 41.444 -90.844 41.449 -90.779 41.451 -90.708 41.462 -90.658 41.509 -90.601 41.525 -90.541 41.527 -90.454 41.543 -90.434 41.567 -90.423 41.586 -90.348 41.602 -90.339 41.649 -90.341 41.722 -90.326 41.756 -90.304 41.781 -90.255 41.806 -90.195 41.931 -90.154 41.983 -90.142 42.033 -90.151 42.061 -90.168 42.103 -90.166 42.121 -90.176 42.122 -90.191 42.159 -90.231 42.197 -90.323 42.211 -90.367 42.242 -90.407 42.263 -90.417 42.341 -90.427 42.361 -90.441 42.388 -90.491 42.421 -90.563 42.461 -90.605 42.475 -90.648 42.494 -90.651 42.509 -90.638 42.508 -90.419 42.504 -89.923 42.503 -89.834 42.497 -89.401 42.497 -89.359 42.491 -88.939 42.491 -88.764 42.489 -88.706 42.491 -88.297 42.489 -88.194 42.489 -87.797 42.314 -87.836 42.156 -87.761 42.059 -87.671 41.847 -87.612 41.723 -87.529 41.469 -87.532 41.301 -87.532 41.173 -87.531 41.009 -87.532 40.745 -87.532 40.494 -87.537 40.483 -87.535 40.166 -87.535 39.887 -87.535 39.609 -87.535 39.477 -87.538 39.351 -87.541 39.338 -87.597 39.307 -87.625 39.297 -87.611 39.281 -87.615 39.258 -87.606 39.248 -87.584 39.208 -87.588 39.198 -87.594 39.196 -87.607 39.168 -87.644 39.146 -87.671 39.131 -87.659 39.113 -87.662 39.103 -87.631 39.088 -87.631 39.084 -87.612 39.062 -87.585 38.995 -87.581 38.994 -87.591 38.977 -87.547 38.963 -87.533 38.931 -87.531 38.904 -87.539 38.869 -87.559 38.857 -87.551 38.795 -87.507 38.776 -87.519 38.769 -87.508 38.736 -87.508 38.685 -87.543 38.672 -87.588 38.642 -87.625 38.622 -87.628 38.599 -87.619 38.593 -87.641 38.573 -87.652 38.547 -87.672 38.515 -87.651 38.501 -87.653 38.504 -87.679 38.481 -87.692 38.466 -87.756 38.457 -87.758 38.445 -87.738 38.417 -87.748 38.378 -87.784 38.352 -87.834 38.286 -87.851 38.285 -87.863 38.316 -87.874 38.315 -87.883 38.301 -87.888 38.281 -87.914 38.302 -87.913 38.304 -87.925 38.241 -87.981 38.234 -87.986 38.201 -87.977 38.171 -87.932 38.157 -87.931 38.136 -87.951 38.131 -87.973 38.103 -88.018 38.092 -88.012 38.096 -87.964 38.073 -87.975 38.054 -88.034 38.045 -88.043 38.038 -88.041 38.033 -88.021 38.008 -88.029 37.975 -88.021 37.956 -88.042 37.934 -88.041 37.929 -88.064 37.944 -88.078 37.923 -88.084 37.917 -88.031 37.905 -88.026 37.896 -88.044 37.906 -88.101 37.895 -88.101 37.867 -88.075 37.843 -88.034 37.827 -88.042 37.831 -88.089 37.817 -88.086 37.805 -88.035 37.735 -88.072 37.701 -88.133 37.661 -88.159 37.628 -88.157 37.583 -88.134 37.511 -88.071</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></topp:the_geom><topp:STATE_NAME>Illinois</topp:STATE_NAME><topp:STATE_FIPS>17</topp:STATE_FIPS><topp:SUB_REGION>E N Cen</topp:SUB_REGION><topp:STATE_ABBR>IL</topp:STATE_ABBR><topp:LAND_KM>143986.61</topp:LAND_KM><topp:WATER_KM>1993.335</topp:WATER_KM><topp:PERSONS>1.143E7</topp:PERSONS><topp:FAMILIES>2924880.0</topp:FAMILIES><topp:HOUSHOLD>4202240.0</topp:HOUSHOLD><topp:MALE>5552233.0</topp:MALE><topp:FEMALE>5878369.0</topp:FEMALE><topp:WORKERS>4199206.0</topp:WORKERS><topp:DRVALONE>3741715.0</topp:DRVALONE><topp:CARPOOL>652603.0</topp:CARPOOL><topp:PUBTRANS>538071.0</topp:PUBTRANS><topp:EMPLOYED>5417967.0</topp:EMPLOYED><topp:UNEMPLOY>385040.0</topp:UNEMPLOY><topp:SERVICE>1360159.0</topp:SERVICE><topp:MANUAL>828906.0</topp:MANUAL><topp:P_MALE>0.486</topp:P_MALE><topp:P_FEMALE>0.514</topp:P_FEMALE><topp:SAMP_POP>1747776.0</topp:SAMP_POP></topp:states><topp:states gml:id="states.2"><gml:boundedBy><gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:lowerCorner>38.788 -77.122</gml:lowerCorner><gml:upperCorner>38.993 -76.911</gml:upperCorner></gml:Envelope></gml:boundedBy><topp:the_geom><gml:MultiSurface srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>38.966 -77.008 38.889 -76.911 38.788 -77.045 38.813 -77.035 38.829 -77.045 38.838 -77.041 38.862 -77.039 38.886 -77.067 38.915 -77.078 38.932 -77.122 38.993 -77.042 38.966 -77.008</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></topp:the_geom><topp:STATE_NAME>District of Columbia</topp:STATE_NAME><topp:STATE_FIPS>11</topp:STATE_FIPS><topp:SUB_REGION>S Atl</topp:SUB_REGION><topp:STATE_ABBR>DC</topp:STATE_ABBR><topp:LAND_KM>159.055</topp:LAND_KM><topp:WATER_KM>17.991</topp:WATER_KM><topp:PERSONS>606900.0</topp:PERSONS><topp:FAMILIES>122087.0</topp:FAMILIES><topp:HOUSHOLD>249634.0</topp:HOUSHOLD><topp:MALE>282970.0</topp:MALE><topp:FEMALE>323930.0</topp:FEMALE><topp:WORKERS>229975.0</topp:WORKERS><topp:DRVALONE>106694.0</topp:DRVALONE><topp:CARPOOL>36621.0</topp:CARPOOL><topp:PUBTRANS>111422.0</topp:PUBTRANS><topp:EMPLOYED>303994.0</topp:EMPLOYED><topp:UNEMPLOY>23442.0</topp:UNEMPLOY><topp:SERVICE>65498.0</topp:SERVICE><topp:MANUAL>22407.0</topp:MANUAL><topp:P_MALE>0.466</topp:P_MALE><topp:P_FEMALE>0.534</topp:P_FEMALE><topp:SAMP_POP>72696.0</topp:SAMP_POP></topp:states><topp:states gml:id="states.3"><gml:boundedBy><gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:lowerCorner>38.449 -75.791</gml:lowerCorner><gml:upperCorner>39.841 -75.045</gml:upperCorner></gml:Envelope></gml:boundedBy><topp:the_geom><gml:MultiSurface srsName="urn:x-ogc:def:crs:EPSG:4326"><gml:surfaceMember><gml:Polygon><gml:exterior><gml:LinearRing><gml:posList>38.557 -75.707 38.649 -75.711 38.831 -75.724 39.141 -75.752 39.247 -75.761 39.295 -75.764 39.383 -75.772 39.723 -75.791 39.724 -75.775 39.774 -75.745 39.821 -75.695 39.838 -75.644 39.841 -75.583 39.826 -75.471 39.798 -75.421 39.789 -75.412 39.778 -75.428 39.763 -75.461 39.741 -75.475 39.719 -75.476 39.714 -75.489 39.612 -75.611 39.566 -75.562 39.463 -75.591 39.366 -75.515 39.257 -75.402 39.073 -75.397 39.012 -75.324 38.945 -75.307 38.808 -75.191 38.799 -75.083 38.449 -75.045 38.449 -75.068 38.451 -75.093 38.455 -75.351 38.463 -75.699 38.557 -75.707</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember></gml:MultiSurface></topp:the_geom><topp:STATE_NAME>Delaware</topp:STATE_NAME><topp:STATE_FIPS>10</topp:STATE_FIPS><topp:SUB_REGION>S Atl</topp:SUB_REGION><topp:STATE_ABBR>DE</topp:STATE_ABBR><topp:LAND_KM>5062.456</topp:LAND_KM><topp:WATER_KM>1385.022</topp:WATER_KM><topp:PERSONS>666168.0</topp:PERSONS><topp:FAMILIES>175867.0</topp:FAMILIES><topp:HOUSHOLD>247497.0</topp:HOUSHOLD><topp:MALE>322968.0</topp:MALE><topp:FEMALE>343200.0</topp:FEMALE><topp:WORKERS>247566.0</topp:WORKERS><topp:DRVALONE>258087.0</topp:DRVALONE><topp:CARPOOL>42968.0</topp:CARPOOL><topp:PUBTRANS>8069.0</topp:PUBTRANS><topp:EMPLOYED>335147.0</topp:EMPLOYED><topp:UNEMPLOY>13945.0</topp:UNEMPLOY><topp:SERVICE>87973.0</topp:SERVICE><topp:MANUAL>44140.0</topp:MANUAL><topp:P_MALE>0.485</topp:P_MALE><topp:P_FEMALE>0.515</topp:P_FEMALE><topp:SAMP_POP>102776.0</topp:SAMP_POP></topp:states></gml:featureMembers></wfs:FeatureCollection>
 
430
--></div>
 
431
<div id="v2/point-coord.xml"><!--
 
432
<gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
433
  <gml:coord>
 
434
    <gml:X>1</gml:X>
 
435
    <gml:Y>2</gml:Y>
 
436
  </gml:coord>
 
437
</gml:Point>
 
438
--></div>
 
439
<div id="v2/point-coordinates.xml"><!--
 
440
<gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
441
  <gml:coordinates decimal="." cs="," ts=" ">1,2</gml:coordinates>
 
442
</gml:Point>
 
443
--></div>
 
444
<div id="v2/linestring-coord.xml"><!--
 
445
<gml:LineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
446
  <gml:coord>
 
447
    <gml:X>1</gml:X>
 
448
    <gml:Y>2</gml:Y>
 
449
  </gml:coord>
 
450
  <gml:coord>
 
451
    <gml:X>3</gml:X>
 
452
    <gml:Y>4</gml:Y>
 
453
  </gml:coord>
 
454
</gml:LineString>
 
455
--></div>
 
456
<div id="v2/linestring-coordinates.xml"><!--
 
457
<gml:LineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
458
  <gml:coordinates decimal="." cs="," ts=" ">1,2 3,4</gml:coordinates>
 
459
</gml:LineString>
 
460
--></div>
 
461
<div id="v2/multipoint-coord.xml"><!--
 
462
<gml:MultiPoint xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
463
    <gml:pointMember>
 
464
        <gml:Point>
 
465
            <gml:coord>
 
466
                <gml:X>1</gml:X>
 
467
                <gml:Y>2</gml:Y>
 
468
            </gml:coord>
 
469
        </gml:Point>
 
470
    </gml:pointMember>
 
471
    <gml:pointMember>
 
472
        <gml:Point>
 
473
            <gml:coord>
 
474
                <gml:X>2</gml:X>
 
475
                <gml:Y>3</gml:Y>
 
476
            </gml:coord>
 
477
        </gml:Point>
 
478
    </gml:pointMember>
 
479
    <gml:pointMember>
 
480
        <gml:Point>
 
481
            <gml:coord>
 
482
                <gml:X>3</gml:X>
 
483
                <gml:Y>4</gml:Y>
 
484
            </gml:coord>
 
485
        </gml:Point>
 
486
    </gml:pointMember>
 
487
</gml:MultiPoint>
 
488
--></div>
 
489
<div id="v2/multipoint-coordinates.xml"><!--
 
490
<gml:MultiPoint xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
491
    <gml:pointMember>
 
492
        <gml:Point>
 
493
            <gml:coordinates decimal="." cs="," ts=" ">1,2</gml:coordinates>
 
494
        </gml:Point>
 
495
    </gml:pointMember>
 
496
    <gml:pointMember>
 
497
        <gml:Point>
 
498
            <gml:coordinates decimal="." cs="," ts=" ">2,3</gml:coordinates>
 
499
        </gml:Point>
 
500
    </gml:pointMember>
 
501
    <gml:pointMember>
 
502
        <gml:Point>
 
503
            <gml:coordinates decimal="." cs="," ts=" ">3,4</gml:coordinates>
 
504
        </gml:Point>
 
505
    </gml:pointMember>
 
506
</gml:MultiPoint>
 
507
--></div>
 
508
<div id="v2/multilinestring-coord.xml"><!--
 
509
<gml:MultiLineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
510
    <gml:lineStringMember>
 
511
        <gml:LineString>
 
512
            <gml:coord>
 
513
                <gml:X>1</gml:X>
 
514
                <gml:Y>2</gml:Y>
 
515
            </gml:coord>
 
516
            <gml:coord>
 
517
                <gml:X>2</gml:X>
 
518
                <gml:Y>3</gml:Y>
 
519
            </gml:coord>
 
520
        </gml:LineString>
 
521
    </gml:lineStringMember>
 
522
    <gml:lineStringMember>
 
523
        <gml:LineString>
 
524
            <gml:coord>
 
525
                <gml:X>3</gml:X>
 
526
                <gml:Y>4</gml:Y>
 
527
            </gml:coord>
 
528
            <gml:coord>
 
529
                <gml:X>4</gml:X>
 
530
                <gml:Y>5</gml:Y>
 
531
            </gml:coord>
 
532
        </gml:LineString>
 
533
    </gml:lineStringMember>
 
534
</gml:MultiLineString>
 
535
--></div>
 
536
<div id="v2/multilinestring-coordinates.xml"><!--
 
537
<gml:MultiLineString xmlns:gml="http://www.opengis.net/gml" srsName="foo">
 
538
    <gml:lineStringMember>
 
539
        <gml:LineString>
 
540
            <gml:coordinates decimal="." cs="," ts=" ">1,2 2,3</gml:coordinates>
 
541
        </gml:LineString>
 
542
    </gml:lineStringMember>
 
543
    <gml:lineStringMember>
 
544
        <gml:LineString>
 
545
            <gml:coordinates decimal="." cs="," ts=" ">3,4 4,5</gml:coordinates>
 
546
        </gml:LineString>
 
547
    </gml:lineStringMember>
 
548
</gml:MultiLineString>
 
549
--></div>
 
550
</body>
 
551
</html>