Re: [mapserver-users] Mapscript C# and OWSRequest parameters

2021-05-31 Thread Jelmer Baas via mapserver-users
Hi Seth, Thanks for the pointer, I’ll give this a try. (Your mail got caught in a spam filter; apologies) Regards, Jelmer Baas From: mapserver-users On Behalf Of Seth G Sent: donderdag 27 mei 2021 20:35 To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapscript C# and OWSRequ

Re: [mapserver-users] WFS Client returns data at random with very same call

2021-05-31 Thread Lars Fricke via mapserver-users
Title: SkenData Email Signat Even, Thank you for your findings. There may be another issue. I also had tried to use the secondary EPSG:4326 in my mapfile but that didn't succeed either. I just tried putting in the EPSG in the .xml file but I still d

Re: [mapserver-users] Mapscript C# and OWSRequest parameters

2021-05-31 Thread Jelmer Baas via mapserver-users
Hi all, Well, that route was a short one. Yes, I can call installStdinFromBuffer, but actually reading something via bufferRead: int msIO_bufferRead( void *cbData, void *data, int byteCount ) { (void)cbData; (void)data; (void)byteCount; /* not implemented yet. */ return 0; } Unless I

Re: [mapserver-users] Mapscript C# and OWSRequest parameters

2021-05-31 Thread Seth G via mapserver-users
Hi Jelmer, There is no issue using MapServer to handle WFS POST requests, but it seems as though this functionality was never implemented for the MapScript bindings. See links: https://github.com/MapServer/MapServer/issues/1788#issuecomment-42658553 > To implement this, we would need to actua

[mapserver-users] Styling a WFS ? or not ?

2021-05-31 Thread mathias cunault via mapserver-users
Hello, It seems that styling a WFS is nonsense according to what I found on the net (?). And I couldn't do it until now. But in Mapserver doc there is an example with a WFS and a style https://www.mapserver.org/ogc/wfs_server.html . So I am a bit confused : is there a way to stylize a WFS layer or

Re: [mapserver-users] Mapscript C# and OWSRequest parameters

2021-05-31 Thread Seth G via mapserver-users
Actually as there are no URL limits with MapScript you should be able to add your filter as a WFS GET parameter and skip using POST requests altogether. https://www.mapserver.org/fr/ogc/filter_encoding.html#tests -- web:http://geographika.co.uk twitter: @geographika On Mon, May 31, 2021, at

Re: [mapserver-users] Styling a WFS ? or not ?

2021-05-31 Thread Jeff McKenna via mapserver-users
Hi Mathias, Styling of WFS services happens on the client-side. For example, see this WFS-client layer example, where you can set any color that you wish for this 'continents' layer that is served through a remote WFS service : https://www.mapserver.org/ogc/wfs_client.html#example-wfs-layer

Re: [mapserver-users] Styling a WFS ? or not ?

2021-05-31 Thread Rahkonen Jukka (MML) via mapserver-users
Hi, Mapserver can serve a layers through different services. STYLE is not for WFS but it can be used in &mode=map or in the WMS service. Similarly Geoserver can deliver GML data http://demo.geo-solutions.it/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=topp:states&max

Re: [mapserver-users] Styling a WFS ? or not ?

2021-05-31 Thread WhereGroup
BUT... (more as an anwser to jeff): Mathias is right, WFS needs no style information on server-side. The wohle class-section of the example is not necessary (useless if only used für wfs-requests). shp2img might use it but a wfs-request doesn't and a wms-request should not work, because the examp

[mapserver-users] Fwd: WFS query on WFS layer is very slow

2021-05-31 Thread Stéphane Brunner via mapserver-users
Hello, I have a layer configured like this: LAYER NAME "borne_hydrante" GROUP "borne_hydrante_gr" TYPE POINT TEMPLATE "ttt" CONNECTIONTYPE WFS CONNECTION "https://bdbh.eca-vaud.ch/ows?"; METADATA "wfs_title" "borne_hydrante" "wfs_typename" "ms:borne_hyd