How do I embed any text onto the map
Steve Lime
steve.lime at DNR.STATE.MN.US
Fri Dec 2 08:57:22 PST 2005
Using 0..1 is a great idea and more flexible.
Steve
>>> Daryl Herzmann <akrherz at IASTATE.EDU> 12/02/05 10:27 AM >>>
Hi Steve,
> The problem you'll run into is that inline pixel coordinates are
> absolute so they really only work with one image size. (except for the
> UL corner which is always 0,0) The only solution there is to either have
> 1 mapfile for each image size you need. You could muck with the
> coordinates at runtime possibly too.
>
> Ideally we'd allow relative pixel coordinates some like:
>
> FEATURE
> RELATIVETO LR
> POINTS -50 -50 END
> END
>
> Which would give you a point just inside the lower right-hand corner,
> but alas it has not been implemented. (not a bad idea and not that hard-
> I'll file a bug now).
Good idea. I see you have added this bug:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1547
I would like to see the use of values that range from 0 to 1 to specify
the location. So if you wanted the middle of the image, you would use 0.5
0.5 . Perhaps the REALTIVETO could be IMGSIZE or something like that. I
have added my comment to the bug...
thanks,
daryl
--
/**
* Daryl Herzmann (akrherz at iastate.edu)
* Program Assistant -- Iowa Environmental Mesonet
* http://mesonet.agron.iastate.edu
*/
More information about the MapServer-users
mailing list