Default Map Size too small #5349

Closed
geographika opened this Issue Nov 16, 2016 · 6 comments

Projects

None yet

4 participants

@geographika
Contributor

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..

@dmorissette
Contributor

I agree with your logic and would be +1 on increasing the default. Let's see what other devs think.

@tomkralidis
Member

+1, it's time.

@jmckenna
Member

+1 fully agree

@jmckenna jmckenna closed this in 1e8266b Dec 1, 2016
@jmckenna
Member
jmckenna commented Dec 1, 2016

Thanks @geographika !

(also filed a docs ticket for this: mapserver/docs#162 )

@jmckenna
Member
jmckenna commented Dec 1, 2016

also updated the related msautotest files.

@jmckenna
Member
jmckenna commented Dec 9, 2016

docs updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment