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

Walt Welton-Lair walt.welton-lair at autodesk.com
Fri May 25 04:18:44 EDT 2007


The geometry type is a bit-masked flag.  7 = 1 + 2 + 4, so your class
supports Point, Curve, and Surface geometry types.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
Sent: Friday, May 25, 2007 12:51 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] is there an easy api way
toaccess at fdo:geometricTypes

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_fea
ture_geometric_type.html

looking at the FDO api
http://fdo.osgeo.org/files/fdo/docs/FDO_API/d1/d95/_geometry_type_8h-sou
rce.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
_______________________________________________
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