[mapserver-users] Postgis simplify function and mapserver

luis peinado luis.peinado at geodata.es
Fri Jun 17 11:11:27 EDT 2011


Hi list,
I wish to change a query parameter in my postgis layer depending of the
scale of the map I want, let's see:

DATA "the_geom FROM (SELECT finfres.gid as gid,
 ST_Transform(simplify(ambits.the_geom,5),23031) as the_geom ...

So I would like to know if it's possible to pass the second parameter of
simplify function depending of the map scale, without any value on the
querystring (using %%).

Thanks a lot for any help.

-- 

*Lluís Peinado*

***Geodata Sistemas,SL.*

luis.peinado at geodata.es



T. 933 035 367 (ext. 21)

F. 933 080 071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110617/59a442fa/attachment.html


More information about the mapserver-users mailing list