-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default Map Size too small #5349
Comments
I agree with your logic and would be +1 on increasing the default. Let's see what other devs think. |
+1, it's time. |
+1 fully agree |
Thanks @geographika ! (also filed a docs ticket for this: MapServer/MapServer-documentation/issues/162 ) |
also updated the related msautotest files. |
docs updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the maximum image size default is set to 2048 pixels. With increasingly large monitors and higher resolutions I keep hitting this limit when maximising browser windows, and getting an error message.
It is confusing to new users, and requires having to always add a
MAXSIZE 4096
line to each new map file.I'd propose increasing the default to 4096. Users concerned about increased stress on their servers are more likely to know how to change this setting, than new users getting an error.
I believe it should be a case of simply increasing the following?
#define MS_MAXIMAGESIZE_DEFAULT 2048
https://github.com/mapserver/mapserver/blob/66309eebb7ba0dc70469efeb40f865a8e88fafbd/mapserver.h#L262
It was last updated in 2003 - so hopefully most hardware has been updated since then..
The text was updated successfully, but these errors were encountered: