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

Zac Spitzer zac.spitzer at gmail.com
Thu May 24 18:51:08 EDT 2007


Thanks Rex,

I got that far, but i got a 7 back which isn't listed here.
http://mapguide.osgeo.org/files/mapguide/docs/webapi/d2/dc2/class_mg_feature_geometric_type.html

looking at the FDO api
http://fdo.osgeo.org/files/fdo/docs/FDO_API/d1/d95/_geometry_type_8h-source.htm

look more promising, but i'm still not quite at the 'point curve
surface' result i'm looking for

any pointers?

z



On 5/25/07, Rex Szeto (Intern) <Rex.Szeto at autodesk.com> wrote:
> 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
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>


-- 
Zac Spitzer
http://zacster.blogspot.com/
+61 405 847 168


More information about the mapguide-users mailing list