<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>Saving ROI's to shapefile</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hi List,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm attempting to build a widget which saves ROI objects to a shapefile, and then adds the shapefile to the map. I'm rurnning into the problem of defining a polygon shapeObj in php_mapscript. In the ShapeObj class, I don't see any method that allows me to define a polygon based on nodes. I'm using rectangles at the moment, but the RectObj class unfortunately does not inherit from the ShapeObj class. Does anyone know a way of doing it? </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Also, is there some documentation about the internal structure of the goCWCROIManager.aROI[i] array? Pulling out the bounding coordinates of a ROI isn't difficult, but I'm not sure how I could pull out a polygon or a circle....</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Jacob</FONT>
</P>
<BR>
<P><B><FONT COLOR="#009500" FACE="Arial">J</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">ACOB</FONT> <FONT COLOR="#009500" FACE="Arial">D</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">ELFOS<BR>
</FONT><FONT COLOR="#009500" FACE="Arial">S</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">PATIAL</FONT> <FONT COLOR="#009500" FACE="Arial">I</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">NFORMATION</FONT> <FONT COLOR="#009500" FACE="Arial">A</FONT><FONT COLOR="#009500" SIZE=1 FACE="Arial">NALYST</FONT><BR>
</B><FONT COLOR="#000000" SIZE=2 FACE="Arial">Maunsell Australia Pty Ltd<BR>
629 Newcastle Street, Leederville, WA 6007</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">PO Box 81, Leederville, WA 6902</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Western Australia</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">ABN 20 093 846 925<BR>
<BR>
Tel + 61 8 9281 6185<BR>
Fax + 61 8 9281 6297<BR>
</FONT><U><FONT COLOR="#009C21" SIZE=2 FACE="Arial">jacob.delfos@maunsell.com</FONT></U>
</P>
</BODY>
</HTML>