[UMN_MAPSERVER-USERS] Variable substitution
Richard Duivenvoorde
rdmailings at DUIF.NET
Tue Apr 24 13:50:40 PDT 2007
Uhm, very interesting. I it working?
I'll cc this to the list also.
Richard
Léveillé wrote:
> Hi Richard,
>
> Here is something very interesting that solved my problem - might help you
> as well ...
>
> http://mapserver.gis.umn.edu/docs/reference/cgi/referencemanual-all-pages
>
> See section "Changing map file parameters via a form or a URL"
>
>
>
>
> ______________________________________________________
> 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
>
>
>
>
> -----Message d'origine-----
> De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
> part de Richard Duivenvoorde
> Envoyé : 24 avril 2007 16:29
> À : MAPSERVER-USERS at LISTS.UMN.EDU
> Objet : Re: [UMN_MAPSERVER-USERS] Variable substitution
>
>
> Hi James,
>
> I've been fiddling with this also. But in
> http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub/
> it states that since Mapserver 4.10.1 the only keywords that support
> variable substitution are: DATA TILEINDEX CONNECTION FILTER and EXPRESSION
> Don't know if somebody can confirm that?
>
> Richard Duivenvoorde
>
> Léveillé wrote:
>> 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>
>>
>>
>>
>>
>
>
>
More information about the MapServer-users
mailing list