Point locations in image coordinates?

mark.wilson at rohoel.at mark.wilson at rohoel.at
Fri Sep 29 07:01:16 EDT 2000



I am investigating adding some imagemap type functionality (?DHTML) to my
mapserver application. From looking at old posts to this list, I can see that it
is possible to easily get label locations in image coordinates from the label
cache.

However, I want only to plot symbols with no labels.

Do I still need to caclulate the (point) image coordinate values manually, or
has an easier way been discovered?

Does position "CC" plot the label directly on top of the symbol? If so, then
this would give the correct location for the point in image coordinates.

Might it be possible to have a "dummy" layer to plot the labels at an extremely
small size, so that they all plot (?), thus ensuring they are all have
coordinates available in the labelcache?

Or, is it safer/better to just do a manual calculation using image size, map
extents and real world point coordinates?

Thanks in advance for any advice,
Mark





More information about the mapserver-users mailing list