Re: [mapserver-users] WFS in MapServer?
Jeff I tested MS4W 3.1.0 beta and it works fine regarding my issue, i.e. no problem. I'm gonna continue using this version. Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052163.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 in MapServer?
Hello, You can also test with the latest MapServer/MS4W beta release (see http://lists.maptools.org/pipermail/ms4w-users/2013-April/002230.html). Enjoy, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2013-05-08 12:01 PM, saka royban wrote: > I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not > understands MAXFEATURES parameter correctly. > No matter MAXFEATURES specified by client or in map file and no matter what > number specified for MAXFEATURES , mapserver always returns less features > than MAXFEATURES (in response to GetFeature request). > If i use MAXFEATURES without any filter, mapserver acts correctly and > returned features exactly equals MAXFEATURES. But when i specify a filter, > the problem shows up. If i don't use MAXFEATURES parameter, mapserver > returns all records which satisfy the filter. If i use a MAXFEATURES in > client request (wheter it's a direct GET request or a request made by > OpenLayers), or if i use MAXFEATURES in Layer level, or if i use > wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned > result by mapserver always is less than the number specified for MAXFEATURES > (I'm sure that more features satisfy the filter). There is no error in debug > file. I've also changed the data source (to another shapefile) but again no > help. > Then, i decided to test prevoius versions of MSW. I transfered my app from > MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED. > It takes me a long time to understand that the problem goes back to windows > version of mapserver, not my configurations. > It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug > submitting. So, someone professional inform those guys (maybe Jeff Mckenna) > at mapTools about it instead, please. > > Best Regards > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WFS in MapServer?
I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not understands MAXFEATURES parameter correctly. No matter MAXFEATURES specified by client or in map file and no matter what number specified for MAXFEATURES , mapserver always returns less features than MAXFEATURES (in response to GetFeature request). If i use MAXFEATURES without any filter, mapserver acts correctly and returned features exactly equals MAXFEATURES. But when i specify a filter, the problem shows up. If i don't use MAXFEATURES parameter, mapserver returns all records which satisfy the filter. If i use a MAXFEATURES in client request (wheter it's a direct GET request or a request made by OpenLayers), or if i use MAXFEATURES in Layer level, or if i use wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned result by mapserver always is less than the number specified for MAXFEATURES (I'm sure that more features satisfy the filter). There is no error in debug file. I've also changed the data source (to another shapefile) but again no help. Then, i decided to test prevoius versions of MSW. I transfered my app from MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED. It takes me a long time to understand that the problem goes back to windows version of mapserver, not my configurations. It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug submitting. So, someone professional inform those guys (maybe Jeff Mckenna) at mapTools about it instead, please. Best Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052119.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 in MapServer?
alic SIZE 10 ANTIALIAS TRUE POSITION CC PARTIALS FALSE MINDISTANCE 250 BUFFER 4 END END CLASS NAME 'South America' EXPRESSION 'South America' STYLE COLOR 255 192 96 END LABEL COLOR 64 64 64 OUTLINECOLOR 212 212 212 TYPE TRUETYPE FONT vera_sans-bold-italic SIZE 10 ANTIALIAS TRUE POSITION CC PARTIALS FALSE MINDISTANCE 250 BUFFER 4 END END END # World polygon classified by continents ends here Any help would be really appreciated. Regards. From: Rahkonen Jukka To: 'Saka Royban' ; 'MapServer' Sent: Monday, April 29, 2013 3:20 PM Subject: Re: [mapserver-users] WFS in MapServer? No, it may just be that your question is a bit hard to answer. Could you give us a bit more information about your data, mapfile and WFS request you have been using? Ogrinfo report about the datasource, layer definitions from the mapfile and at least the extents from the map level are needed. A hand written WFS url is most useful but if you can capture with Firebug or something what Openlayers is really sending if will do as well. Set also DEBUG 5 and CONFIG "CPL_DEBUG" "ON" into your layer setting in the mapfile and study what you get into the ms_errorfile. I do not believe that Mapserver WFS is 100% compliant but it may still be good enough. Speed depends usually much more on how the data in the backend is arranged than on the server. Here you can get some OpenStreetMap poinst from a very weak server http://hip.latuviitta.org/cgi-bin/ms_ows?service=wfs&version=1.0.0&request=getfeature&typename=osm_pisteet&maxfeatures=1000 and this will give you some areas http://hip.latuviitta.org/cgi-bin/ms_ows?service=wfs&version=1.0.0&request=getfeature&typename=osm_alueet&maxfeatures=1000 There is also another member in the Mapserver family, TinyOWS, which has cleared all the CITE tests for WFS and which can do also WFS-T. However, it works only with PostGIS. -Jukka Rahkonen- Saka Royban wrote Have i banned by mailing list users or admin? From:Saka Royban To: MapServer Sent: Saturday, April 27, 2013 5:46 PM Subject: [mapserver-users] WFS in MapServer? Hi all As a newbie, i've got confused. I've set up a WFS server with mapserver and then get some queries, Once by URL and another time by using OpenLayers. But the result GML contains just part of data that it must. (I've set MaxFeatures to 100 but GML contains less than 100 while there is more than 100 features in compliance with my query) Then i got to page 560 of mapserver documentation, which says some statistics about WFS OGC test suites. So now, my question is that "Is MapServer doing totally well in providing WFS? Is it in full compliance with OGC WFS specification?" or we should not expectmuch from mapserver WFS server. If not so, i'm looking for some real implementation of mapserver WMS and WFS to see the speed and other things. Could u provide me some links? Thanks in advance ___ 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
Re: [mapserver-users] WFS in MapServer?
No, it may just be that your question is a bit hard to answer. Could you give us a bit more information about your data, mapfile and WFS request you have been using? Ogrinfo report about the datasource, layer definitions from the mapfile and at least the extents from the map level are needed. A hand written WFS url is most useful but if you can capture with Firebug or something what Openlayers is really sending if will do as well. Set also DEBUG 5 and CONFIG "CPL_DEBUG" "ON" into your layer setting in the mapfile and study what you get into the ms_errorfile. I do not believe that Mapserver WFS is 100% compliant but it may still be good enough. Speed depends usually much more on how the data in the backend is arranged than on the server. Here you can get some OpenStreetMap poinst from a very weak server http://hip.latuviitta.org/cgi-bin/ms_ows?service=wfs&version=1.0.0&request=getfeature&typename=osm_pisteet&maxfeatures=1000 and this will give you some areas http://hip.latuviitta.org/cgi-bin/ms_ows?service=wfs&version=1.0.0&request=getfeature&typename=osm_alueet&maxfeatures=1000 There is also another member in the Mapserver family, TinyOWS, which has cleared all the CITE tests for WFS and which can do also WFS-T. However, it works only with PostGIS. -Jukka Rahkonen- Saka Royban wrote Have i banned by mailing list users or admin? From: Saka Royban mailto:sakaroy...@yahoo.com>> To: MapServer mailto:mapserver-users@lists.osgeo.org>> Sent: Saturday, April 27, 2013 5:46 PM Subject: [mapserver-users] WFS in MapServer? Hi all As a newbie, i've got confused. I've set up a WFS server with mapserver and then get some queries, Once by URL and another time by using OpenLayers. But the result GML contains just part of data that it must. (I've set MaxFeatures to 100 but GML contains less than 100 while there is more than 100 features in compliance with my query) Then i got to page 560 of mapserver documentation, which says some statistics about WFS OGC test suites. So now, my question is that "Is MapServer doing totally well in providing WFS? Is it in full compliance with OGC WFS specification?" or we should not expectmuch from mapserver WFS server. If not so, i'm looking for some real implementation of mapserver WMS and WFS to see the speed and other things. Could u provide me some links? Thanks in advance ___ mapserver-users mailing list mapserver-users@lists.osgeo.org<mailto: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
Re: [mapserver-users] WFS in MapServer?
Have i banned by mailing list users or admin? From: Saka Royban To: MapServer Sent: Saturday, April 27, 2013 5:46 PM Subject: [mapserver-users] WFS in MapServer? Hi all As a newbie, i've got confused. I've set up a WFS server with mapserver and then get some queries, Once by URL and another time by using OpenLayers. But the result GML contains just part of data that it must. (I've set MaxFeatures to 100 but GML contains less than 100 while there is more than 100 features in compliance with my query) Then i got to page 560 of mapserver documentation, which says some statistics about WFS OGC test suites. So now, my question is that "Is MapServer doing totally well in providing WFS? Is it in full compliance with OGC WFS specification?" or we should not expectmuch from mapserver WFS server. If not so, i'm looking for some real implementation of mapserver WMS and WFS to see the speed and other things. Could u provide me some links? Thanks in advance ___ 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
[mapserver-users] WFS in MapServer?
Hi all As a newbie, i've got confused. I've set up a WFS server with mapserver and then get some queries, Once by URL and another time by using OpenLayers. But the result GML contains just part of data that it must. (I've set MaxFeatures to 100 but GML contains less than 100 while there is more than 100 features in compliance with my query) Then i got to page 560 of mapserver documentation, which says some statistics about WFS OGC test suites. So now, my question is that "Is MapServer doing totally well in providing WFS? Is it in full compliance with OGC WFS specification?" or we should not expectmuch from mapserver WFS server. If not so, i'm looking for some real implementation of mapserver WMS and WFS to see the speed and other things. Could u provide me some links? Thanks in advance ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users