Jose Try:
DATA "the_geom from (SELECT * FROM parcelas WHERE gid > %var%) as foo using srid=32619 using unique gid Take out the single quotes since gid is a number. Bruce
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
