[postgis-users] Help Mapserver and Postgis
Milo van der Linden
mlinden at zeelandnet.nl
Thu Sep 6 13:11:11 PDT 2007
Hola Jose!
I believe that variables in the Mapfile are limited to a couple of options:
- In CONNECTION
- IN DATA (as you use it)
- In EXPRESSION when you use classes (I use it there a lot)
- Mapserver Has to be CGI
Is the link something like:
http://www.yourserver.com/cgi-bin/maserv?map=x&var=5000&...&... ? Than
it should work If all above is ok.
As described here:
http://mapserver.gis.umn.edu/docs/reference/mapfile/variable_sub
Kind regards,
Milo van der Linden
www.3dsite.nl
Jose Gregorio Campos schreef:
> I have a problem with the Substitution of Variable in MAPSERVER %var%
> Tengo problema con la Sustitucion de Variable en MAPSERVER %var%
>
> DATA "the_geom from (SELECT * FROM parcelas WHERE gid > '%var%') as
> foo using srid=32619 using unique gid"
>
> I execute and the IMAGE as LINK Broken
> Ejecuto y queda la IMAGEN como ENLACE (LINK) Roto
>
> Change to prove
> Cambio para probar
>
> DATA "the_geom from (SELECT * FROM parcelas WHERE gid > 5000) as foo
> using srid=32619 using unique gid"
>
> and everything is well
> y todo resulta bien
>
> THAT I MUST REVIEW
> QUE DEBO REVISAR
>
> Thanks and excuse my English badly
> Gracias y disculpen mi mal Ingles
> ------------------------------------------------------------------------
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
--
Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
milo at 3dsite.nl <mailto:milo at 3dsite.nl>
http://www.3dsite.nl
De informatie in dit bericht reflecteert mijn persoonlijke mening en
niet die van een bedrijf of instantie. Aan de informatie kunnen geen
rechten worden ontleend. Indien dit bericht onderdeel is van een forum,
mailing-list of community dan gelden automatisch de bij het betreffende
medium behorende voorwaarden. The information in this message reflects
my personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070906/bd4ca44b/attachment.html>
More information about the postgis-users
mailing list