[mapserver-users] mapserver 6.4 wfs xsd
Kralidis, Tom (EC)
tom.kralidis at canada.ca
Wed Nov 21 10:21:40 PST 2018
The XSD file corresponding to http://mapserver.gis.umn.edu/mapserver is generated on the fly
by MapServer itself. From your example:
<wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver /cgi-bin/mapserv?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=observation___temperature&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1 http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" numberOfFeatures="1">
<gml:boundedBy>
you will see that the xsi:schemaLocation attribute is a list of '<namespace-uri> <xsd> <namespace-uri> <xsd> ...'
Which in your case evaluates to:
/cgi-bin/mapserv?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=observation___temperature&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1
which is a relative URL. Either complete this URL or update your mapfile settings (MAP.WEB.METADATA.ows_onlineresource)
accordingly and you should be able to see the resulting XML Schema.
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> On Behalf Of Merlet, Sebastien (External)
Sent: November 21, 2018 11:18
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] mapserver 6.4 wfs xsd
When I check getFeature xml response using XMLSpear I'm asked a path to the namespace http://mapserver.gis.umn.edu/mapserver.
Where can I find a xsd to validate the ms tags? (file test attached)
Thanks for your answer
This document, technology or software does not contain French national dual-use or military controlled data nor US national dual-use or military controlled data.
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
More information about the MapServer-users
mailing list