addFeature and queryByPoint in PHP mapscript

Ken Sanderson ken at SANDNARROWS.COM
Thu Mar 3 14:21:21 EST 2005


I am wondering about this as well. How can I set the index value using
PHPmapscript?

This:

$shp->set(index,$id);

returns a read only error and this:

$shp->{index} = $id;

returns a "Use of undefined constant index - assumed 'index' in"

So how can we set the index values so that the points can be queried?

Thanks,

Ken



More information about the mapserver-users mailing list