Re[mapguide-users] ad Polyline Co ordinates

Jackie Ng jackie.ng at aecsystems.com.au
Sun Feb 3 22:09:07 EST 2008


Assuming your MgGeometry is derived from MgRegion (you can check the return
value of MgGeometry.GetGeometryType() to find out). Just downcast the
MgGeometry reference to the appropriate class type and call its
GetCoordinates() method, that gives you a Collection of all the coordinates.

- Jackie


JavedPune wrote:
> 
> Hey
> 
> I am tring to fetch Polyline Coordinate information from the selection. 
> 
> Dim byteReader As MgByteReader = featureReader.GetGeometry("Geometry")
> Dim geometry As MgGeometry = geometryReaderWriter.Read(byteReader)
> 
> After this if I want to create LinearRing from geomtery I can not do I
> have to use boundary function which gives only two points. Please advice
> me how to get Polyline CoOrdinate information. (I am selecting polyline
> for sure eveything else is working correct but the line coordinates)
> 
> MY QUESTION IS HOW TO FETCH POLYLINE COORDINATE FROM GEOMETRYREADERWRITER
> 
> Regards
> 
> javed 
> 

-- 
View this message in context: http://www.nabble.com/Read-Polyline-Co-ordinates-tp15231862s16610p15261428.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list