[mapserver-users] About the WFS 2.0 stored query example

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Wed Dec 21 14:16:53 PST 2016


Attached, created with Notepad++, UTF-8 without BOM, unix style end-of-lines. It does not look bad to me but perhaps there are some odd characters.

-Jukka Rahkonen-



Lähettäjä: Even Rouault [mailto:even.rouault at spatialys.com]
Lähetetty: 21. joulukuuta 2016 18:48
Vastaanottaja: mapserver-users at lists.osgeo.org
Kopio: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi>; Jeff McKenna <jmckenna at gatewaygeomatics.com>
Aihe: Re: [mapserver-users] About the WFS 2.0 stored query example


On mercredi 21 décembre 2016 12:50:28 CET Rahkonen Jukka (MML) wrote:

> Hi,

>

> Håvard already made a doc issue, but I fear now that it is not only doc

> issue. When I tested my improved XML file I had also the inline stored

> query description active in the mapfile. I haven't had success yet with

> reading the description from file. However, this workflow works for me:

> - prepare the XML definition

> - remove white space and line feeds

> - escape all double quotes with backslash

> - copy the string into wfs storedquery inlinedef

>

> I was testing on Linux, Mapserver 7.0.3.



Jukka,



I suspect an issue with the text editor you used. The <?xml version="1.0" encoding="UTF-8"?> prolog line

is not needed if your XML is valid and UTF-8 encoded (it is the XML default encoding). And in the msautotest suite,

https://github.com/mapserver/mapserver/blob/branch-7-0/msautotest/wxs/data/wfs_200_allgeoms_filestoredquery.xml , there's no

such line.



Even



>

> -Jukka Rahkonen-

>

>

>

> Jeff McKenna wrote:

> Re: [mapserver-users] About the WFS 2.0 stored query example

>

> On 2016-12-21 6:36 AM, Rahkonen Jukka (MML) wrote:

>

> >

> >

> >

> >

> > 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.

> >

> >

> >

>

>

> Please file your documentation enhancements at

> https://github.com/mapserver/docs/issues Thank you.

> Wishing everyone a merry Christmas :)

>

> -jeff

>

>

> --

> Jeff McKenna

> MapServer Consulting and Training Services http://www.gatewaygeomatics.com/

>

>

>

>

> _______________________________________________

> mapserver-users mailing list

> mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>

> http://lists.osgeo.org/mailman/listinfo/mapserver-users

> _______________________________________________

> mapserver-users mailing list

> mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>

> http://lists.osgeo.org/mailman/listinfo/mapserver-users





--

Spatialys - Geospatial professional services

http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161221/4f45172f/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: idrangequery.txt
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161221/4f45172f/attachment-0001.txt>


More information about the mapserver-users mailing list