[mapserver-users] Re: multiple map layers with different scales

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Jul 20 10:48:05 PDT 2010


This is still confusing MapServer. Remember the map size is fixed, so you're asking to do contradictory things, either a map using:

  - mapxy and buffer OR
  - mapxy and scaledenom

You can't do both...

Steve
 	

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of easyl
Sent: Tuesday, July 20, 2010 8:31 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Re: multiple map layers with different scales


then I tried 

mapserv?map=mapfile.map
              &layers=ALL
              &mode=MAP
              &mapxy=12+45
              &buffer=30
              &mapsize=500+500             
              &SCALEDENOM=45000

The mapserver just calculated out an extreme large extent and the region
where I am interested in is rendered as small as just one point. (larger
SCALEDENOM -> larger extent)

According to http://mapserver.org/cgi/controls.html the mapsize or imgsize
should only affect the pixel size of output image. The "buffer" should work
with mapxy for limiting map extent. But changing the "buffer" in above
example did not affect the map extent. 



-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/multiple-map-layers-with-different-scales-tp5292120p5316617.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list