[mapserver-users] Raster Strategies Examples

Stephen Woodbridge woodbri at swoodbridge.com
Tue Aug 3 10:12:19 EDT 2010


Daniel Morissette wrote:
> Jan Hartmann wrote:
>> Would it make sense to add this functionality to MapServer? Finding
>> scale breakpoints is a hassle indeed!
>>
> 
> Jeff McKenna wrote:
>> I've always used a simple CGI template containing the [scaledenom] parameter.
>> I plan to simplify this for MS4W users.
> 
> 
> Jan, Jeff,
> 
> If you have ideas of an easier mechanism to help determine scales that
> you would like to see added in MapServer then please share them... I'd
> be happy to help improve this.
> 

I always setup a trivial OpenLayers viewer with the scale control turned 
on and it displays the scale over the map. This has the benefit, that I 
can make changes to the mapfile and see them in OL by just a slight pan 
to refresh the map. I use singleTile: true, ratio:1 on the layer.

This has the advantage of bringing the scale value and the map together 
so you can better visualize the changes and see the effect of changes.

-Steve W


More information about the mapserver-users mailing list