[mapserver-users] Problem with Colon in WFS Layer Name
Hello List, I am getting the following error when requesting for WFS getfeature on the layer which includes colon in it's name (example: Analysis1:VolumeOut:VECTOR). Failed to parse QName 'ms:Analysis1:'. It looks like mapserver failed to parse the layer including colon. But as per the documentation, the restrictions to WFS layer name is that layer names can not start with a digit or have spaces in them. I doesn't say anything about the colon. Can anyone help me to resolve this problem? Note: The layer name is designed to include colon. We can not omit it. Thanks, Hari ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problem with Colon in WFS Layer Name
Hi, Colons are absolutely denied in WFS feature type names and if you want to have a standard compliant WFS service you must remove the colon from the name. https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg20012.html -Jukka Rahkonen- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Hari Pradhan Lähetetty: 3. marraskuuta 2014 17:27 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] Problem with Colon in WFS Layer Name Hello List, I am getting the following error when requesting for WFS getfeature on the layer which includes colon in it's name (example: Analysis1:VolumeOut:VECTOR). Failed to parse QName 'ms:Analysis1:'. It looks like mapserver failed to parse the layer including colon. But as per the documentation, the restrictions to WFS layer name is that layer names can not start with a digit or have spaces in them. I doesn't say anything about the colon. Can anyone help me to resolve this problem? Note: The layer name is designed to include colon. We can not omit it. Thanks, Hari ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] WFS query slow on large postgis table (and small table disappointing as well)
Hi List, I'm experiencing real slow performance when doing WFS queries on a postgis table with about 150 records. A simple spatial query (which features in a box) takes about 1 to 2 minutes. In postgis the same query takes less than a second. Same story for attribute queries. Indeed on a postgis table with some 6 records things are still very very slow. WMS on the other hand is flying taking less than a second for rendering most tiles. By using the debug functions I see that mapserver fetches all features in the map extent (set at map level) and then starts filtering feature by feature which takes a long time. I found ticket http://trac.osgeo.org/mapserver/ticket/4049 which seems to be related. Is there any way to speed up this kind of WFS queries? Is there any progress on the ticket? Any help appreciated, MArco -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-query-slow-on-large-postgis-table-and-small-table-disappointing-as-well-tp5170988.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WFS query slow on large postgis table (and small table disappointing as well)
MapServer 7.0 should fix issues like this. A more general solution to the one presented in #4049 has been added to that version. You might try the development version and see how it goes. I'm surprised simple queries aren't working well though since older versions of MapServer have optimizations specific to PostGIS for those simple cases. Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of deduikertjes Sent: Monday, November 03, 2014 9:56 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WFS query slow on large postgis table (and small table disappointing as well) Hi List, I'm experiencing real slow performance when doing WFS queries on a postgis table with about 150 records. A simple spatial query (which features in a box) takes about 1 to 2 minutes. In postgis the same query takes less than a second. Same story for attribute queries. Indeed on a postgis table with some 6 records things are still very very slow. WMS on the other hand is flying taking less than a second for rendering most tiles. By using the debug functions I see that mapserver fetches all features in the map extent (set at map level) and then starts filtering feature by feature which takes a long time. I found ticket http://trac.osgeo.org/mapserver/ticket/4049 which seems to be related. Is there any way to speed up this kind of WFS queries? Is there any progress on the ticket? Any help appreciated, MArco -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-query-slow-on-large-postgis-table-and-small-table-disappointing-as-well-tp5170988.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users