[mapguide-users] is there an easy api way to access@fdo:geometricTypes

Rex Szeto (Intern) Rex.Szeto at autodesk.com
Thu May 24 10:58:58 EDT 2007


It is possible to get the geometricTypes using the api.
There is a method in MgGeometricPropertyDefinition called
GetGeometryTypes().
http://mapguide.osgeo.org/files/mapguide/docs/webapi/d0/d7b/class_mg_geo
metric_property_definition.html

This is the basic flow:
FeatureService->GetClassDefinition()->GetProperties()->GetItem(<geometry
name>)->GetGeometryTypes()

Regards,
Rex

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: Thursday, May 24, 2007 1:21 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] is there an easy api way to
access at fdo:geometricTypes

I can extract @fdo:geometricTypes via xpath from DescribeSchemaAsXml,
but is there an simple way to get this via the api ?

-- 
Zac Spitzer
http://zacster.blogspot.com/
+61 405 847 168
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list