List shape of the layer

Lowell Filak lfilak at MEDINACO.ORG
Tue Feb 15 09:00:54 EST 2005


The following message was sent by Daniele Rizzo
<daniele.rizzo at SPACESPA.IT> on Tue, 15 Feb 2005 10:16:17 +0100.

> Hello all.
> I am using mapscript and  i don't find  the function to list the
> shape(polygon) in a layer...
> ...i 'll use the list of the shape to call in iterative mode the
> "contains(pointObj)"  on sigle shape..

Daniele,

$layer->getFeature should return a shapeobj from a layer.

Lowell



More information about the mapserver-users mailing list