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 <risha...@gmail.com> 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 > > > Geoserver-users@lists.sourceforge.net > 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users