[mapserver-users] postgis and setfilter

Eduin Yesid Carrillo yecarrillo@hotmail.com
Mon, 16 Sep 2002 20:28:57 -0500


I want to contribute this working code to filter layers with postgis(0.7.2) 
and mapscript(3.5) with more than one column.

(Note the parentesis)

I hope this help to somebody...

$poLayer = $gpoMap->getlayerbyname(puntos);
$poLayer->setFilter("(codedif=3) AND (codpiso=3)");



----------------------------
Eduin Yesid Carrillo
Ingeniero Civil
Bucaramanga - Colombia
yecarrillo@hotmail.com
yecarrillo@condorito.uis.edu.co
#ICQ 14323531

_________________________________________________________________
MSN. Más Útil cada Día. http://www.msn.es/intmap/