[Mapserver-users] RE: strange behavior of reference map

Tomko tomko at gku.sk
Wed Apr 14 06:22:28 PDT 2004


HI,
Thsnks for the idea. I have thought about it, and the aspect ratio is
fine! For the moment, I have scaled down the ref. Image to 110 pix and
it work fine. BUt it is small!!

Thanks

Martin

-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com] 
Sent: Wednesday, April 14, 2004 2:38 PM
To: tomko at gku.sk
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] strange behavior of reference map

I am just guessing but I think it need to be the same aspect ratio as 
you map image so map_h/map_w = ref_h/ref_w.

-Steve

Tomko wrote:

> HI list,
> I am trying to fix a problem that I am encountering from the very
> beginning, but it was never on the top of the list...
> 
> When I display my reference map, the rectangle that should show the
> position on the map doesn§t fit  - this means, when I initialize at
the
> full extent, The rectangle is smaller. It should be 230*110 pixels
(the
> size of the reference.png). But the rectangle displaying the position
> covers only about 2/3 of the area in the y direction, the size in the
X
> direction is fine. I have checked the resolution of the reference
image,
> its size, and extent (i fit fits to the geografical extent of the
> country.) Everything's ok. Is there a size limit for refrence images?
Or
> it must be a square?
> PLease, help!
> 
> Martin
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 






More information about the MapServer-users mailing list