Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Ian Walberg
Jukka, If I understand the problem correctly I have changed the "gml_featureid" field to use the "id' field in the database. This now displays correctly in the browser and the text field with the '&' displays correctly. http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&S

Re: [mapserver-users] Different positions of feature points in MapServer 6.4 and 7.0.1

2016-04-22 Thread thomas bonfort
Thomas, Unless you provide a zero-effort patch, bribe a maintainer to do it for you, or persuade a maintainer that the bug is critical, I would say that there is very little chance the text handling behavior you are seeing with 7.0 will be backported to the 6.4 branch. Regards, Thomas On 22 April

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Rahkonen Jukka (MML)
Found a way for controlling gml:id, it is in the documentation http://mapserver.org/ogc/wfs_server.html wfs_featureid (Required for MapServer 4.10) Field to be used for the ID of the feature in the output GML. gml_featureid or ows_featureid can be specified instead. The default behavior is

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Rahkonen Jukka (MML)
Hi, You do not need to understand GML or WFS, we must just get the configuration right. How have you created your table? Spatialite-gui has a tool in the right click menu "Show CREATE statement" or you can use SQL command PRAGMA table_info('name_of_your_table'). Send the output or check at leas

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Even Rouault
Le vendredi 22 avril 2016 17:18:36, Ian Walberg a écrit : > Jukka, > > Thanks for replying and what I would hope to get is "Rio&Paulo" as you > say. > > However I do not understand your explanation. Jukka meant that per the GML specification, it is illegal to have "funky" characters like &, XML

[mapserver-users] Different positions of feature points in MapServer 6.4 and 7.0.1

2016-04-22 Thread Kloß , Thomas - LISt
Dear MapServer users, we are using two different mapserver version in our organization: 6.4 and 7.0.1. In each mapfile there is a so called "copyright layer" with some origin information: LAYER NAME Watersign GROUP "Orthofotos" STATUS ON TRANSFORM

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Ian Walberg
Jukka, Thanks for replying and what I would hope to get is "Rio&Paulo" as you say. However I do not understand your explanation. Regards Ian -Original Message- From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] Sent: Friday, April 22, 2016 8:14 AM To: Ian Walberg

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Rahkonen Jukka (MML)
Hi Ian, I can see that those names are used as a part of gml:id: http://www.datypic.com/sc/niem20/a-gml_id.html is of type xsd:ID http://www.datypic.com/sc/xsd/t-xsd_ID.html which must be NCName, which in turn means that "it must start with a letter or underscore, and can only contain letters,

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-22 Thread Ian Walberg
Folks, I think we may be taking about different things, the wfs requests below show the problem we are seeing. There are 2 cities in each of the sqlite databases and the only difference is on has the text 'and' and the other has the symbol '&' Layer DATA_TEST - INSERT INTO "test" VALUES('-14.2