[mapserver-dev] Scale computations for non-square pixels...

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Tue Jul 24 08:57:12 PDT 2018


I think I would lean towards the larger cellsize.  The diagonal approach seems like it might introduce some rounding problems too easily.

Now, one thing to think about here, are those odd-duck users (like myself) who actually do request tall/skinny and low/wide images on purpose for custom map assembly purposes.  I’ve done so for building custom map collars and non-square gridding (profiles with different scales) for example.  There may also be a need to override (if not already an option) such a setting so as to still get the zoomed-in features to be drawn in these stretched images.


On Jul 24, 2018, at 10:22 AM, Lime, Steve D (MNIT) <steve.lime at state.mn.us<mailto:steve.lime at state.mn.us>> wrote:

Hi all: We have a ticket out there regarding scale computation with non-square pixels (seehttps://github.com/mapserver/mapserver/issues/5625). It should be easy to implement a fix, to the extent it’s possible to come up with a single scale value when that’s
really not the case. Any opinions on what a “best” approach would be? --Steve
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>

"Do, or do not. There is no try."
- Yoda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20180724/e7ad4ace/attachment.html>

More information about the mapserver-dev mailing list