VS: [mapserver-users] [UMN_MAPSERVER-USERS] can i pass variables toshp2img?

John Smith jayzee.smith at gmail.com
Mon Mar 17 13:55:11 PDT 2008


thks but i fail to see the benefit of that- does shp2img.exe know what
to do with these inserted variables?

i want to use variables in the map file for a postgis query, like
%var%. passing [-m "...map?value=%var%"] throws a msEvalRegex() error.
jzs

On Mon, Mar 17, 2008 at 4:38 PM, Rahkonen Jukka
<Jukka.Rahkonen at mmmtike.fi> wrote:
>
> If you use Windows, make a batch file, let's say run.bat
> shp2img -m "...map" -o "...gif" %1% %2%
>
> Then send from command line:
>
> run.bat variable1 variable2 (they will be inserted in place of %1 and %2)
>
> -Jukka Rahkonen-
>
>
> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: John Smith
> Lähetetty: ma 17.3.2008 22:33
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: [mapserver-users] [UMN_MAPSERVER-USERS] can i pass variables toshp2img?
>
> can i pass variables to shp2img, say?
>
> shp2img -m "...map" -o "...gif" %variable1% %variable2%
>
> jzs
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list