Hi everyone, thank you for such quick responses!

So in terms of if I'm using Tomcat to serve Geoserver, I'm not certain - I
am using a standard install so I thought this used the built-in webserver -
which I assume is Java?

Secondly, while joining two layers together might help a bit to keep the
url length down - it won't be a permanent solution for me because of the
dynamism required by the cql_filter (this would vary in length)

Thirdly, unfortunately I cannot use POST because I'm integrating it into
Mapbox which seems to want a url (no post options as far as I can tell).

Thank you so much for all your responses so far, if there is any other
suggestion I'd really appreciate it - for example a way to perhaps alter
the webserver to handle longer urls?



On Thu, Jun 18, 2020 at 12:24 PM Ian Turton <ijtur...@gmail.com> wrote:

> 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

Reply via email to