There are two ways you can do that
$layer->set("data", "the_geom ....");
Or
$layer->setFilter("name = 'Greece'");
Hope that helps
Gabe
_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users