QueryByRect problem in PHPmapscript

Bill Thoen bthoen at GISNET.COM
Wed Oct 31 18:48:47 EDT 2007


getFeature doesn't seem to be defined in version 4.10.0. When I try to 
use it I get an error message that says it's undefined. Is this a recent 
change, or should it be there?

Steve Lime wrote:
> getFeature is the method to use to retreive a feature from a layer. It is a layer method and
> exists for both PHP and the SWIG-based bindings. It replaces the getShape method which
> I created with stupid parameter orderings that made it impossible to not pass a tile index.
>
> I see that it is missing from the PHP/MapScript docs but is present in the Swig docs. I'll file
> a ticket on that one... There's already a note at the bottom of the page but it hasn't been
> noticed.
>   



More information about the mapserver-users mailing list