However, it was an excluded option:
“I cannot use POST because my implementation uses Mapbox which calls a url and 
not post variables.”

-Jukka Rahkonen-

Lähettäjä: Ian Turton <[email protected]>
Lähetetty: torstai 18. kesäkuuta 2020 18.24
Vastaanottaja: [email protected]
Kopio: geoserver-users <[email protected]>
Aihe: Re: [Geoserver-users] WMS long urls (GetMap)

You could switch to a POST request and then URL length ceases to be an issue.

Ian

On Thu, 18 Jun 2020 at 15:06, Risharde 
<[email protected]<mailto:[email protected]>> wrote:
Hi everyone! I have an issue that I'm struggling to resolve and I'm hoping 
someone may be able to assist or guide me.

I am trying to use the GetMap feature from the WMS service (which works). 
However it seems when I add a cql_filter to the url, I get an error message 
that the request is invalid. If I remove some other get fields within the url 
(layers in particular - which shortens the url), then I get a response.

It seems that when the url is over 200+ characters, I get the issue. My 
question is, can I somehow get geoserver to accept longer URLs? I cannot use 
POST because my implementation uses Mapbox which calls a url and not post 
variables.

Any help would be appreciated, thank you!
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to