Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <xml...> to WFS stored query examples #163

Closed
havatv opened this issue Dec 21, 2016 · 2 comments
Closed

Add <xml...> to WFS stored query examples #163

havatv opened this issue Dec 21, 2016 · 2 comments

Comments

@havatv
Copy link
Contributor

havatv commented Dec 21, 2016

Subject: Re: [mapserver-users] About the WFS 2.0 stored query example
Date: Wed, 21 Dec 2016 11:36:55 +0000
From: Rahkonen Jukka (MML) jukka.rahkonen@maanmittauslaitos.fi

For making Mapserver to accept the definition of the stored query from a saved XML file I had to add xml header line

<?xml version="1.0" encoding="UTF-8"?>
 <StoredQueryDescription xmlns:xs="http://www.w3.org/2001/XMLSchema"  xmlns:gml="http://www.opengis.net/gml/3.2" id="bboxstoredquery">

It was not self-evident for me. Perhaps the examples in http://mapserver.org/ogc/wfs_server.html#stored-queries-wfs-2-0 could have this edit for making them more copy-paste ready.

@havatv
Copy link
Contributor Author

havatv commented Dec 21, 2016

The two examples have been updated with a new first line.

@havatv havatv closed this as completed Dec 21, 2016
@jratike80
Copy link

Thank you, I believe it is good to have the XML header line included even my description was wrong. At least it may help with titles and abstracts which have non-ASCII characters. Missing line is not the thing that prevents Mapserver from parsing the definition file but there is something else going on with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants