Selaa lähdekoodia

updated test with local copy of mapserver

Jachym Cepicky 14 vuotta sitten
vanhempi
commit
a8e5979520

+ 0 - 11
tests/config.cfg

@@ -1,11 +0,0 @@
-[OWSViewer]
-cachedir=/tmp/
-logging=DEBUG
-
-[MapServer]
-tempdir=/tmp/
-errorfile=/tmp/mapserv.log
-imagepath=/tmp/mapserv/
-onlineresource="http://localhost/cgi-bin/owsviewer.cgi"
-srs="EPSG:4326 EPSG:102067 EPSG:3035 EPSG:900913"
-

BIN
tests/mapfiles/dem.tif


+ 29 - 0
tests/mapfiles/linie.gml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<ogr:FeatureCollection
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://ogr.maptools.org/ linie.xsd"
+     xmlns:ogr="http://ogr.maptools.org/"
+     xmlns:gml="http://www.opengis.net/gml">
+  <gml:boundedBy>
+    <gml:Box>
+      <gml:coord><gml:X>12.73534180854241</gml:X><gml:Y>48.15241851478495</gml:Y></gml:coord>
+      <gml:coord><gml:X>18.61281586021506</gml:X><gml:Y>51.4318325306153</gml:Y></gml:coord>
+    </gml:Box>
+  </gml:boundedBy>
+                           
+  <gml:featureMember>
+    <ogr:line fid="F0">
+      <ogr:geometryProperty><gml:LineString><gml:coordinates>13.282972110215054,51.329947823327359 12.748077396953406,50.763214139038233 12.735341808542413,48.992967349910394 13.416695788530467,48.324348958333331 14.301819183094386,49.075748674581838 14.257244623655914,50.801420904271204 13.276604316009559,51.323580029121864 13.276604316009559,51.323580029121864</gml:coordinates></gml:LineString></ogr:geometryProperty>
+    </ogr:line>
+  </gml:featureMember>
+  <gml:featureMember>
+    <ogr:line fid="F1">
+      <ogr:geometryProperty><gml:LineString><gml:coordinates>14.671151247013142,51.380890176971327 15.619952583632021,48.152418514784948 16.040227001194744,51.304476646505378 16.435030241935486,48.196993074223414 17.14185539874552,51.310844440710873 17.135487604540025,51.304476646505378</gml:coordinates></gml:LineString></ogr:geometryProperty>
+    </ogr:line>
+  </gml:featureMember>
+  <gml:featureMember>
+    <ogr:line fid="F2">
+      <ogr:geometryProperty><gml:LineString><gml:coordinates>18.612815860215058,51.100707231929512 18.103392323775392,51.431832530615296 17.31378584229391,50.833259875298687 18.421782034050182,49.349563825418159 17.912358497610516,48.40076248879928 17.065441868279571,49.056645291965353 17.065441868279571,49.056645291965353</gml:coordinates></gml:LineString></ogr:geometryProperty>
+    </ogr:line>
+  </gml:featureMember>
+</ogr:FeatureCollection>

+ 71 - 0
tests/mapfiles/ows.map

@@ -0,0 +1,71 @@
+MAP
+NAME "OWS Server"
+STATUS ON
+SIZE 250 250
+EXTENT -180 -90 180 90
+SHAPEPATH "./"
+IMAGECOLOR 255 255 255
+
+WEB
+  IMAGEPATH "tmp/" 
+  IMAGEURL "/tmp/"
+  METADATA
+    "wfs_title"            "OWS Server"  ## REQUIRED
+    "wcs_srs"               "EPSG:4326 EPSG:102067"  ## Recommended
+    "ows_enable_request" "*"
+    "ows_updatesequence" "2011-29-05T00:24:00"
+    "ows_abstract"      "OWS Server for OWSProxy testing purposes"
+  END
+END
+
+PROJECTION
+  "init=epsg:4326"
+END
+
+LAYER
+  NAME "line"
+  METADATA
+    "wfs_title"    "Line" ## REQUIRED
+    "gml_featureid" "cat" ## REQUIRED
+    "gml_include_items" "all"  ## Optional (serves all attributes for layer)
+  END
+  TYPE LINE
+  STATUS ON
+  CONNECTIONTYPE OGR
+  CONNECTION "line.xml"
+  PROJECTION
+    "init=epsg:4326"
+  END
+  EXTENT -103.8706 44.370035 -103.86814 44.37294
+  DUMP TRUE           ## REQUIRED
+  CLASS
+    NAME "Linie"
+    STYLE
+      COLOR 0 155 0
+      OUTLINECOLOR 120 120 120
+    END
+    TEMPLATE "foo.html"
+  END
+END # Layer
+
+LAYER
+    NAME "dem"
+    TYPE RASTER
+    DATA "dem_cr-jtsk.tif"
+    PROJECTION
+        "init=epsg:102067"
+    END
+    STATUS ON
+    DEBUG ON
+    METADATA
+        "wms_name"            "dem"
+        "wms_title"            "CR dem"
+        "wms_server_version"  "1.1.1"
+        "wms_format"          "image/png"
+        "wcs_label"           "Elevation/Bathymetry"  ### required
+        "wcs_rangeset_name"   "Range 1"               ### required to support DescribeCoverage request
+        "wcs_rangeset_label"  "My Label"              ### required to support DescribeCoverage request
+    END
+END
+
+END # Map File

+ 0 - 25
tests/owsviewer_tests.py

@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-
-import unittest
-import os,sys
-
-OWSVIEWER_DIR=os.path.abspath(os.path.join(os.path.dirname(__file__),".."))
-
-sys.path.append(OWSVIEWER_DIR+"/../")
-
-import owsviewer
-
-class TestBasicOWS(unittest.TestCase):
-
-    config = None
-
-    def setUp(self):
-        self.config = os.path.join(OWSVIEWER_DIR,"config.cfg")
-
-    def test(self):
-
-        owsv = owsviewer.OWSViewer(self.config)
-        pass
-
-if __name__ == "__main__":
-    unittest.main()

+ 2 - 0
tests/test.cfg-default

@@ -0,0 +1,2 @@
+[OWSServer]
+owsserver=http://localhost/cgi-bin/mapserv

+ 29 - 0
tests/test_ows.py

@@ -0,0 +1,29 @@
+#!/usr/bin/env python
+# coding=utf-8
+
+import unittest
+import logging
+import os,sys
+from ConfigParser import ConfigParser
+import urllib
+import urlparse
+
+OWSVIEWER_DIR=os.path.abspath(os.path.join(os.path.dirname(__file__),".."))
+sys.path.append(OWSVIEWER_DIR)
+
+class TestOWS(unittest.TestCase):
+
+    owsUrl = None
+
+    def setUp(self):
+        logging.basicConfig(level=logging.DEBUG)
+        mapfile = os.path.join(OWSVIEWER_DIR,"tests","mapfiles","ows.map")
+        config = ConfigParser()
+        config.read(os.path.join(OWSVIEWER_DIR,"tests","test.cfg"))
+
+        owsUrl = urlparse.urlparse(config.get("OWSServer","owsserver"))
+        owsParams = urlparse.parse_qs(owsUrl[4])
+        owsParams["map"] = mapfile
+
+        self.owsUrl = urlparse.urlunparse((owsUrl[0],owsUrl[1],owsUrl[2], owsUrl[3],
+                                     urllib.unquote(urllib.urlencode(owsParams,True)),owsUrl[5]))

+ 0 - 4
tests/wcs_gdal.xml

@@ -1,4 +0,0 @@
-<WCS_GDAL>
-    <ServiceURL>http://localhost/cgi-bin/wcs</ServiceURL>
-    <CoverageName>dmt</CoverageName>
-</WCS_GDAL>

+ 0 - 344
tests/wfs_ogr.xml

@@ -1,344 +0,0 @@
-<OGRWFSDataSource>
-  <URL>http://bnhelp.cz/ows/crwfs?</URL>
-  <WFS_Capabilities version="1.0.0" updateSequence="0" xmlns="http://www.opengis.net/wfs" 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-capabilities.xsd">
-    <!-- MapServer version 5.0.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
-    <Service>
-      <Name>MapServer WFS</Name>
-      <Title>Help Service Gazeteer</Title>
-      <Abstract>Vyhledavani sidel WFS</Abstract>
-      <OnlineResource>http://www.bnhelp.cz/ows/crwfs?</OnlineResource>
-    </Service>
-    <Capability>
-      <Request>
-        <GetCapabilities>
-          <DCPType>
-            <HTTP>
-              <Get onlineResource="http://www.bnhelp.cz/ows/crwfs?" />
-            </HTTP>
-          </DCPType>
-          <DCPType>
-            <HTTP>
-              <Post onlineResource="http://www.bnhelp.cz/ows/crwfs?" />
-            </HTTP>
-          </DCPType>
-        </GetCapabilities>
-        <DescribeFeatureType>
-          <SchemaDescriptionLanguage>
-            <XMLSCHEMA />
-          </SchemaDescriptionLanguage>
-          <DCPType>
-            <HTTP>
-              <Get onlineResource="http://www.bnhelp.cz/ows/crwfs?" />
-            </HTTP>
-          </DCPType>
-          <DCPType>
-            <HTTP>
-              <Post onlineResource="http://www.bnhelp.cz/ows/crwfs?" />
-            </HTTP>
-          </DCPType>
-        </DescribeFeatureType>
-        <GetFeature>
-          <ResultFormat>
-            <GML2 />
-          </ResultFormat>
-          <DCPType>
-            <HTTP>
-              <Get onlineResource="http://www.bnhelp.cz/ows/crwfs?" />
-            </HTTP>
-          </DCPType>
-          <DCPType>
-            <HTTP>
-              <Post onlineResource="http://www.bnhelp.cz/ows/crwfs?" />
-            </HTTP>
-          </DCPType>
-        </GetFeature>
-      </Request>
-    </Capability>
-    <FeatureTypeList>
-      <Operations>
-        <Query />
-      </Operations>
-      <FeatureType>
-        <Name>nuts1</Name>
-        <Title>NUTS1</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="-73.2635" miny="-21.3428" maxx="120.131" maxy="83.6274" />
-        <!-- WARNING: Required Feature Id attribute (fid) not specified for this feature type. Make sure you set one of wfs_featureid, ows_feature_id or gml_featureid metadata. -->
-      </FeatureType>
-      <FeatureType>
-        <Name>states</Name>
-        <Title>states</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="-180" miny="-89.9" maxx="180" maxy="83.6747" />
-        <!-- WARNING: Required Feature Id attribute (fid) not specified for this feature type. Make sure you set one of wfs_featureid, ows_feature_id or gml_featureid metadata. -->
-      </FeatureType>
-      <FeatureType>
-        <Name>nuts2</Name>
-        <Title>NUTS2</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="-73.2635" miny="-21.3428" maxx="120.131" maxy="83.6274" />
-        <!-- WARNING: Required Feature Id attribute (fid) not specified for this feature type. Make sure you set one of wfs_featureid, ows_feature_id or gml_featureid metadata. -->
-      </FeatureType>
-      <FeatureType>
-        <Name>nuts3</Name>
-        <Title>NUTS2</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="-73.2635" miny="-21.3428" maxx="120.131" maxy="83.6274" />
-        <!-- WARNING: Required Feature Id attribute (fid) not specified for this feature type. Make sure you set one of wfs_featureid, ows_feature_id or gml_featureid metadata. -->
-      </FeatureType>
-      <FeatureType>
-        <Name>orp</Name>
-        <Title>Obce s rozsirenou pusobnosti</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="12.0972" miny="48.5542" maxx="18.8585" maxy="51.0558" />
-      </FeatureType>
-      <FeatureType>
-        <Name>okresy</Name>
-        <Title>Okresy CR</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="12.0972" miny="48.5542" maxx="18.8583" maxy="51.0558" />
-      </FeatureType>
-      <FeatureType>
-        <Name>sidla</Name>
-        <Title>Sidla CR</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="12.0696" miny="48.5297" maxx="18.9733" maxy="51.0388" />
-      </FeatureType>
-      <FeatureType>
-        <Name>kraje</Name>
-        <Title>Kraje CR</Title>
-        <SRS>EPSG:4326</SRS>
-        <LatLongBoundingBox minx="12.0977" miny="48.5542" maxx="18.8505" maxy="51.0552" />
-      </FeatureType>
-      <FeatureType>
-        <Name>usrgaz</Name>
-        <Title>User objects</Title>
-        <SRS>EPSG:4326</SRS>
-        <!-- WARNING: Mandatory LatLongBoundingBox could not be established for this layer.  Consider setting LAYER.EXTENT or wfs_extent metadata. -->
-        <!-- WARNING: Required Feature Id attribute (fid) not specified for this feature type. Make sure you set one of wfs_featureid, ows_feature_id or gml_featureid metadata. -->
-      </FeatureType>
-    </FeatureTypeList>
-    <ogc:Filter_Capabilities>
-      <ogc:Spatial_Capabilities>
-        <ogc:Spatial_Operators>
-          <ogc:Equals />
-          <ogc:Disjoint />
-          <ogc:Touches />
-          <ogc:Within />
-          <ogc:Overlaps />
-          <ogc:Crosses />
-          <ogc:Intersect />
-          <ogc:Contains />
-          <ogc:DWithin />
-          <ogc:BBOX />
-        </ogc:Spatial_Operators>
-      </ogc:Spatial_Capabilities>
-      <ogc:Scalar_Capabilities>
-        <ogc:Logical_Operators />
-        <ogc:Comparison_Operators>
-          <ogc:Simple_Comparisons />
-          <ogc:Like />
-          <ogc:Between />
-        </ogc:Comparison_Operators>
-      </ogc:Scalar_Capabilities>
-    </ogc:Filter_Capabilities>
-  </WFS_Capabilities>
-  <OGRWFSLayer name="okresy">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="okresy" type="ms:okresyType" substitutionGroup="gml:_Feature" />
-      <complexType name="okresyType">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="KODOK" type="string" />
-              <element name="NAZOK" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="nuts1">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="nuts1" type="ms:nuts1Type" substitutionGroup="gml:_Feature" />
-      <complexType name="nuts1Type">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="ARRGCDL0" type="string" />
-              <element name="COUNT" type="string" />
-              <element name="CNTRY_NAME" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="nuts2">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="nuts2" type="ms:nuts2Type" substitutionGroup="gml:_Feature" />
-      <complexType name="nuts2Type">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="AREA" type="string" />
-              <element name="PERIMETER" type="string" />
-              <element name="NUEC1MV6_" type="string" />
-              <element name="NUEC1MV6_I" type="string" />
-              <element name="NURGCD" type="string" />
-              <element name="NURGCDL0" type="string" />
-              <element name="NURGCDL1" type="string" />
-              <element name="NURGCDL2" type="string" />
-              <element name="ARRGCDL0" type="string" />
-              <element name="Rowid_" type="string" />
-              <element name="NURGCD_1" type="string" />
-              <element name="NURGNM" type="string" />
-              <element name="NURGCDL0_1" type="string" />
-              <element name="NURGCDL1_1" type="string" />
-              <element name="NURGCDL2_1" type="string" />
-              <element name="Rowid1" type="string" />
-              <element name="NURGCD_12" type="string" />
-              <element name="IGELCD" type="string" />
-              <element name="Rowid_1" type="string" />
-              <element name="IGELCD_1" type="string" />
-              <element name="IGELCDDS" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="orp">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="orp" type="ms:orpType" substitutionGroup="gml:_Feature" />
-      <complexType name="orpType">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="CISORP" type="string" />
-              <element name="NAZOB" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="kraje">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="kraje" type="ms:krajeType" substitutionGroup="gml:_Feature" />
-      <complexType name="krajeType">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:MultiPolygonPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="KRAJ_KOD" type="string" />
-              <element name="KRAJ_NAZEV" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="states">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="states" type="ms:statesType" substitutionGroup="gml:_Feature" />
-      <complexType name="statesType">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="NAME" type="string" />
-              <element name="CAPITAL" type="string" />
-              <element name="APPROX" type="string" />
-              <element name="AREA" type="string" />
-              <element name="SOURCETHM" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="nuts3">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="nuts3" type="ms:nuts3Type" substitutionGroup="gml:_Feature" />
-      <complexType name="nuts3Type">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="AREA" type="string" />
-              <element name="PERIMETER" type="string" />
-              <element name="NUEC1MV7_" type="string" />
-              <element name="NUEC1MV7_I" type="string" />
-              <element name="NURGCD" type="string" />
-              <element name="NURGCDL0" type="string" />
-              <element name="NURGCDL1" type="string" />
-              <element name="NURGCDL2" type="string" />
-              <element name="ARRGCDL0" type="string" />
-              <element name="NURGLBLV" type="string" />
-              <element name="NUFTTP" type="string" />
-              <element name="Rowid_" type="string" />
-              <element name="NURGCD_1" type="string" />
-              <element name="NURGNM" type="string" />
-              <element name="NURGCDL0_1" type="string" />
-              <element name="NURGCDL1_1" type="string" />
-              <element name="NURGCDL2_1" type="string" />
-              <element name="Rowid1" type="string" />
-              <element name="NURGCD_12" type="string" />
-              <element name="IGSACD" type="string" />
-              <element name="IGELCD" type="string" />
-              <element name="Rowid_1" type="string" />
-              <element name="IGELCD_1" type="string" />
-              <element name="IGELCDDS" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-  <OGRWFSLayer name="sidla">
-    <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="0.1">
-      <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd" />
-      <element name="sidla" type="ms:sidlaType" substitutionGroup="gml:_Feature" />
-      <complexType name="sidlaType">
-        <complexContent>
-          <extension base="gml:AbstractFeatureType">
-            <sequence>
-              <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1" />
-              <element name="CISLO" type="string" />
-              <element name="NAZEV" type="string" />
-              <element name="TYP" type="string" />
-              <element name="NAZEV_UNI" type="string" />
-              <element name="Y_JTS" type="string" />
-              <element name="X_JTS" type="string" />
-              <element name="Y" type="string" />
-              <element name="X" type="string" />
-              <element name="KN" type="string" />
-              <element name="NAZKR" type="string" />
-              <element name="KODOK" type="string" />
-              <element name="NAZOK" type="string" />
-              <element name="ICOB" type="string" />
-              <element name="NAZOB" type="string" />
-              <element name="KODORP" type="string" />
-              <element name="NAZORP" type="string" />
-              <element name="OKPO" type="string" />
-              <element name="KODPO" type="string" />
-              <element name="NAZEV_HLED" type="string" />
-            </sequence>
-          </extension>
-        </complexContent>
-      </complexType>
-    </schema>
-  </OGRWFSLayer>
-</OGRWFSDataSource>