[mapserver-dev] FW: [mapserver/mapserver] Default Map Size too small (#5349)

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Thu Nov 17 15:38:37 PST 2016


Any reason not to do this? The reason the setting exists is rather obvious. I checked many of my mapfiles and indeed I bump the value to 4096. Not for printing but for generating metatiles. I think that's a stronger argument... --Steve

________________________________
From: Seth G [notifications at github.com]
Sent: Wednesday, November 16, 2016 2:47 AM
To: mapserver/mapserver
Subject: [mapserver/mapserver] Default Map Size too small (#5349)


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

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/mapserver/mapserver/issues/5349>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABhm-_L5ZzWv-CqcKR5rT6mCKOU3UB0Rks5q-sMIgaJpZM4KzjdV>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20161117/1799bf14/attachment.html>


More information about the mapserver-dev mailing list