[mapguide-users] Feature Vertices

Tom Lazo tom.lazo at hotmail.com
Mon Jul 6 10:37:37 EDT 2009


Thanks, 

I'll try that.

I'll notice you when it's finished.

Stygy/ Tom



Jackie Ng wrote:
> 
> Given a MgFeatureReader that contains your feature(s):
> 
> - Call its GetGeometry() method to get a byte reader
> - Convert this byte reader to a MgGeometry object by using a
> MgAgfReaderWriter object.
> - Call GetGeometryType() on the MgGeometry to determine what type of
> geometry it actually is.
> - Depending on the type, cast the MgGeometry to that given type (if not
> using PHP) and consult the relevant APIs for that derived geometry type.
> Basically you want to take note of any class methods that return MgPoint,
> MgCoordinate or MgCoordinateIterator objects.
> 
> Hope that helps.
> 
> - Jackie
> 
> 
> Tom Lazo wrote:
>> 
>> Hi all!,
>> 
>> Anyone knows how could i get the coordinates of the vertices of a
>> feature, Is there any function that do that?. Thanks.
>> 
>> Stygy / Tom
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/Feature-Vertices-tp3205810p3213363.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list