[mapserver-users] How to use MINSCALEDENOM & MAXSCALEDENOM with dynamic image size?
John Maurer
maurerj at nsidc.org
Tue Dec 9 07:20:50 PST 2008
Thanks for the notice, Tamas. That sounds like what I need.
Cheers,
John
Tamas Szekeres wrote:
> John,
>
> I guess it might be the same problem that I've already addressed in
> http://trac.osgeo.org/mapserver/ticket/2738
>
> The related changes have already been applied in the development
> version (SVN trunk) so you can test it.
>
> Best regards,
>
> Tamas
>
>
> 2008/12/9 John Maurer <maurerj at nsidc.org <mailto:maurerj at nsidc.org>>
>
> Dear MapServer Users,
> Defining a minimum and maximum scale denominator for a layer seems
> problematic to me when the resulting image size can be arbitrarily
> specified by the end user. For instance, doubling the image size
> (e.g. 400px to 800px) on the same map will double the scale
> denominator (e.g. 24,000 to 48,000)--a layer may display at one
> image size but not the other because of this. A more useful
> criteria would be to specify the minimum and maximum pixel size
> for a layer (e.g. 1 km and 5 km), which is independent of the
> image size. This must be a common problem for MapServer
> application developers since a WMS call requires an image width
> and height. Has anyone come up with a workaround for this? Or am I
> understanding things incorrectly? Thanks for any help!
> Best Regards,
>
> --
> John Maurer
> Web/Database Applications Engineer
> National Snow and Ice Data Center (NSIDC)
> University of Colorado at Boulder
> http://cires.colorado.edu/~maurerj
> <http://cires.colorado.edu/%7Emaurerj>
> +1-303-586-1677
> ------------------------------------
> "Without geography, you're nowhere!"
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
John Maurer
Web/Database Applications Engineer
National Snow and Ice Data Center (NSIDC)
University of Colorado at Boulder
http://cires.colorado.edu/~maurerj
+1-303-586-1677
------------------------------------
"Without geography, you're nowhere!"
More information about the MapServer-users
mailing list