Variable substitution

Léveillé, James James.Leveille at MTQ.GOUV.QC.CA
Tue Apr 24 11:56:28 PDT 2007


Hi,
 
I am trying to place a string at a known position.
The string must be passed in the URL (variable substitution).
 
I was able to use variable substitution with the FILTER tag.
But in this case, I can't make it work with the TEXT tag and found nothing
on the list.
 
Anybody knows how to do it ??
 
Regards
 
 
 
  LAYER
 
    NAME                  "mylayer"
    STATUS                ON
    DUMP                  TRUE
 
    EXTENT                30000 75000 1700000 2120000
    TYPE                  ANNOTATION
 
    CONNECTIONTYPE        OGR
    CONNECTION            "data\mytab.tab"
    TRANSFORM             FALSE
    FORCE                 TRUE
 
    CLASS
      TEXT                "%xxx%"
 
      LABEL
        TYPE              TRUETYPE
        FONT              "verdana"
        SIZE              10
        POSITION          LR
        COLOR             0 0 0
        OUTLINECOLOR      255 255 255
        FORCE             TRUE
      END
    END
 
  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/20070424/b847f678/attachment.htm>


More information about the MapServer-users mailing list