try DATA "the_geom from (SELECT * FROM b_capa_percid) as foo using srid=31300 using unique gid" El lun, 19-11-2007 a las 09:48 +0100, Steven De Vriendt escribió: > DATA "the_geom from b_capa_percid"