[Mapserver-users] modifying a point location using php_mapscript

fx gamoy fx.gamoy at mapxplore.com
Thu Sep 11 14:16:33 EDT 2003


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_000D_01C37899.365845F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=20

------=_NextPart_000_000D_01C37899.365845F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hello world,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i am using mapserver 3.6.3 using=20
php_mapscript</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>i have managed to create a pointObj on =
a shapefile=20
using the shapefileObj and the addPoint Method.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Then i would like to modify the =
location of this=20
pointobj.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Using getfeaturebyattribute, i obtain a =
shapeobj=20
corresponding to the pointObj i want to modify.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Can i create a pointobj instead of a =
shapeobj in=20
order to use the setXY method?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>or</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>can i convert the shapeobj to a=20
pointobj??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i have seen in the doc that perl =
provide=20
get,copy... methods? not in whith php_mapscript??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks for all</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>fx</FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000D_01C37899.365845F0--




More information about the mapserver-users mailing list