[mapserver-users] dynamic queries

Pavel Iacovlev iacovlev.pavel at gmail.com
Mon Sep 21 10:42:13 PDT 2009


/**
$select - SELECT query
$srid - projection srid
$unique - unique table column, example: gid
*/
$layer->set('data', "the_geom from ($select) as tmp using SRID={$srid}
using unique $unique");

On Mon, Sep 21, 2009 at 8:00 PM, Paul Alarcon <paul_pag00 at hotmail.com> wrote:
>
> Greetings users, im using a php mapscript , and im like to know if there is a
> way to make a dynamic query using mapserver, into the layers made in
> postgis, im using o.mapper as framework, im using mapserver 5.4.1
> Thanks a lot
>
> Paul
>
> --
> View this message in context: http://n2.nabble.com/dynamic-queries-tp3686777p3686777.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
http://iap.md, The future is open



More information about the MapServer-users mailing list