Problem with collisions in annotations

Léveillé, James James.Leveille at MTQ.GOUV.QC.CA
Thu Jan 24 10:53:06 PST 2008


Hi all,
 
Context : road network.
 
I have a MapFile with 3 ANNOTATION LAYERS.
The first one is used to display highway shields (symbol) while the two
others are used to display specific warnings (2 different symbols).
 
Even if they have a different names, all sources (data_a, data_b and data_c)
are exactly the same (linear).
 
When a particular road segment has a shield and one (or even 2) warning, we
often (always ???) have a collision (see example below).
 
Any way to prevent this, knowing that when a road segment has a shield
and/or a warning (or two warnings), all the symbols HAVE TO BE DISPLAYED ?
 
 
  LAYER # Highway shield
    ...
    TYPE                  ANNOTATION
    DATA                  "/data_a"
    FORCE                 TRUE
    LABELITEM             "NOROUTE"
    ...
  END
 
  LAYER # Warnings 1 - Related to roads that are closed to trucks
    ...
    TYPE                  ANNOTATION
    DATA                  "/data_b"
    FORCE                 TRUE
    ...
  END
 
  LAYER # Warnings 2 - Related to special warnings due to poor weather
conditions
    ...
    TYPE                  ANNOTATION
    DATA                  "/data_c"
    FORCE                 TRUE
    ...
  END
 
 
 

______________________________________________________

JAMES LÉVEILLÉ
Service des systèmes de Mission
Direction des technologies de l'information
Ministère des Transports du Québec

5833, boul. Pierre-Bertrand, 2ième étage
Québec (Québec) G2K 1K7
Téléphone:   (418) 380-2005 poste 227
Télécopieur: (418) 644-6653
james.leveille at mtq.gouv.qc.ca <mailto:james.leveille at mtq.gouv.qc.ca> 


 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080124/832b1952/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook.bmp
Type: image/bmp
Size: 19278 bytes
Desc: Outlook.bmp
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080124/832b1952/attachment.bin>


More information about the MapServer-users mailing list