]> dev.renevier.net Git - syp.git/blob - openlayers/examples/gml/polygon.xml
initial commit
[syp.git] / openlayers / examples / gml / polygon.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd                         http://mapserver.gis.umn.edu/mapserver http://aneto.oco/cgi-bin/worldwfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=polygon&amp;OUTPUTFORMAT=XMLSCHEMA">
3       <gml:boundedBy>
4         <gml:Box srsName="EPSG:4326">
5                 <gml:coordinates>-0.768746,47.003018 3.002191,47.925567</gml:coordinates>
6         </gml:Box>
7       </gml:boundedBy>
8     <gml:featureMember>
9       <ms:polygon fid="1">
10         <gml:boundedBy>
11                 <gml:Box srsName="EPSG:4326">
12                         <gml:coordinates>-0.768746,47.003018 0.532597,47.925567</gml:coordinates>
13                 </gml:Box>
14         </gml:boundedBy>
15         <ms:msGeometry>
16         <gml:MultiPolygon srsName="EPSG:4326">
17         <gml:polygonMember>
18           <gml:Polygon>
19             <gml:outerBoundaryIs>
20               <gml:LinearRing>
21                 <gml:coordinates>-0.318987,47.003018 -0.768746,47.358268 -0.574463,47.684285 -0.347374,47.854602 -0.006740,47.925567 0.135191,47.726864 0.149384,47.599127 0.419052,47.670092 0.532597,47.428810 0.305508,47.443003 0.475824,47.144948 0.064225,47.201721 -0.318987,47.003018 </gml:coordinates>
22               </gml:LinearRing>
23             </gml:outerBoundaryIs>
24             <gml:innerBoundaryIs>
25               <gml:LinearRing>
26                 <gml:coordinates>-0.035126,47.485582 -0.035126,47.485582 -0.049319,47.641706 -0.233829,47.655899 -0.375760,47.457196 -0.276408,47.286879 -0.035126,47.485582 </gml:coordinates>
27               </gml:LinearRing>
28             </gml:innerBoundaryIs>
29           </gml:Polygon>
30         </gml:polygonMember>
31         </gml:MultiPolygon>
32         </ms:msGeometry>
33         <ms:ogc_fid>1</ms:ogc_fid>
34         <ms:name>My Polygon with hole</ms:name>
35         <ms:id>0</ms:id>
36       </ms:polygon>
37     </gml:featureMember>
38     <gml:featureMember>
39       <ms:polygon fid="2">
40         <gml:boundedBy>
41                 <gml:Box srsName="EPSG:4326">
42                         <gml:coordinates>1.511919,47.088176 3.002191,47.882988</gml:coordinates>
43                 </gml:Box>
44         </gml:boundedBy>
45         <ms:msGeometry>
46         <gml:Polygon srsName="EPSG:4326">
47           <gml:outerBoundaryIs>
48             <gml:LinearRing>
49               <gml:coordinates>1.625463,47.357844 1.511919,47.741057 1.880938,47.882988 2.420275,47.797830 2.789295,47.485582 3.002191,47.457196 2.874453,47.088176 2.178993,47.343651 1.625463,47.357844 </gml:coordinates>
50             </gml:LinearRing>
51           </gml:outerBoundaryIs>
52         </gml:Polygon>
53         </ms:msGeometry>
54         <ms:ogc_fid>2</ms:ogc_fid>
55         <ms:name>My simple Polygon</ms:name>
56         <ms:id>0</ms:id>
57       </ms:polygon>
58     </gml:featureMember>
59     <gml:featureMember>
60       <ms:polygon fid="3">
61         <gml:boundedBy>
62                 <gml:Box srsName="EPSG:4326">
63                         <gml:coordinates>0.000000,45.000000 2.000000,47.000000</gml:coordinates>
64                 </gml:Box>
65         </gml:boundedBy>
66         <ms:msGeometry>
67         <gml:MultiPolygon srsName="EPSG:4326">
68         <gml:polygonMember>
69           <gml:Polygon>
70             <gml:outerBoundaryIs>
71               <gml:LinearRing>
72                 <gml:coordinates>0.000000,45.000000 2.000000,45.000000 2.000000,47.000000 0.000000,47.000000 0.000000,45.000000 </gml:coordinates>
73               </gml:LinearRing>
74             </gml:outerBoundaryIs>
75             <gml:innerBoundaryIs>
76               <gml:LinearRing>
77                 <gml:coordinates>0.500000,45.500000 1.500000,45.500000 1.500000,46.500000 0.500000,46.500000 0.500000,45.500000 </gml:coordinates>
78               </gml:LinearRing>
79             </gml:innerBoundaryIs>
80           </gml:Polygon>
81         </gml:polygonMember>
82         </gml:MultiPolygon>
83         </ms:msGeometry>
84         <ms:ogc_fid>3</ms:ogc_fid>
85         <ms:name>my polygon with hole</ms:name>
86         <ms:id>3</ms:id>
87       </ms:polygon>
88     </gml:featureMember>
89 </wfs:FeatureCollection>