Mapscript - Sorting labels

Daniel Morissette dmorissette at DMSOLUTIONS.CA
Thu Jun 9 13:09:45 PDT 2005


Gribol wrote:
> 
> Juste a simple exemple :
> "Label30" is the label of a town with a population of 3000k.
> "Label55" is the label of a town with a population of 5500k.
> These two labels are closest (in pixel coordinates) and cannot be displayed
> both at the current map extent (because of names collision). These two
> labels are matching the filter condition (higher than 2500k).
> How to force Mapserver to draw the "Label55" and not "Label30" ? That is my
> issue.
> 

I think you may be able to do that with the sortshp utility, see:
http://mapserver.gis.umn.edu/utils.html

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list