[mapserver-users] Label BBox Computation

Debabrata Pradhan devmapit at gmail.com
Wed Jun 11 02:17:44 PDT 2014


Hi,
    Yes I am looking for bboxes of all the labels(Irrespective of
visibility.Filtering to only visible labels will be helpful, But I have no
Idea how to loop with the same rules from mapfile to that script which
would run through all labels to get bboxes.).With all the bboxes and text
(of label) and some other attributes, I can create a table which has unique
pointer to each label (and box) on the map.

 With all that availability now I can have two layers
     1)Base->(map without labels)
     2)Transparent,WFS->(labels)
  The overlay layer on the base layer would be a re-projected layer from
the table that I have got from the script.
Now I can make it interactive shift(Drag->drop->place->save)
,delete,add,customize and so on. So now my base is fixed
and the overlay keeps on changing.

  But again I have never exploded into mapscripts.So if those label caches
can provide me the bboxes,text etc then half of my job is done.
I have a flow which can't go to mapscript.But if it is the best way to get
the data ready,then I will definitely bent towards that.

Thanks in Advance...


Debabrata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140611/2422f44b/attachment.html>


More information about the mapserver-users mailing list