[mapserver-users] MAP EXTENT
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Apr 11 08:48:49 PDT 2002
Stefano,
I am not sure if this is the problem but you aspect ratio of image size
to map EXTENTS is not 1:1
image dH=600
dW=600
ratio=600/600 = 1
extents dx=(14.82- 6.17)=8.65
dy=(47.14-42.98)=4.84
ratio=8.65/4.84=1.79 which != 1 above
so try:
EXTENTS 6.17 40.735 14.82 49.385
-Steve
Stefano Bonnin wrote:
>
> I have yet presented this problem but nobody answered me, please:
>
> say me if this is a too stupid question ...
>
> I have a map (North Italy) and I'm trying to display it with Mapserver.
> The map is displayed but only a "fragment" of the map appear on the screen.
> If I want to see the remainder of the map I have to use the pan function.
>
> How can I do in orther to view all the map?
>
> This is my map file (a fragment):
>
> NAME DEMO
> STATUS ON
> SIZE 600 600
> EXTENT 6.174567 42.975424 14.815678 47.143435
>
> UNITS DD
> SHAPEPATH "data"
> IMAGECOLOR 255 255 255
> SYMBOLSET "/Program Files/Apache
> Group/Apache/htdocs/Nord/symbols/symbol.sym"
> FONTSET "/WINNT/Fonts/fonts.list"
>
> If I try to modify the EXTENT nothing happen, another fragment of the map is
> displayed (but not the entire map)
>
> Somebody can help me? I hope so ......
>
> Thanks,
>
> Stefano B.
>
> ---
> Outgoing mail is certified Virus Free. (FLASHH!)
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.345 / Virus Database: 193 - Release Date: 09/04/02
More information about the MapServer-users
mailing list