[Mapserver-users] modifying a point location using php_mapscript

Eric Bridger eric at gomoos.org
Thu Sep 11 10:34:05 EDT 2003


You probably need to call:

$lineObj = $shapeObj->line(0);
$pointObj = $lineObj->point(0);


On Thu, 2003-09-11 at 18:16, fx gamoy wrote:
> hello world,
> i am using mapserver 3.6.3 using php_mapscript
> i have managed to create a pointObj on a shapefile using the shapefileObj and the addPoint Method.
> 
> Then i would like to modify the location of this pointobj.
> Using getfeaturebyattribute, i obtain a shapeobj corresponding to the pointObj i want to modify.
> Can i create a pointobj instead of a shapeobj in order to use the setXY method?
> or
> can i convert the shapeobj to a pointobj??
> 
> i have seen in the doc that perl provide get,copy... methods? not in whith php_mapscript??
> 
> 
> thanks for all
> fx 





More information about the mapserver-users mailing list