[mapguide-users] Problem whit generate kml from mapguide.

Maciej Skorczewski maciej.skorczewski at procad.pl
Tue Jan 22 14:21:50 EST 2008


> I don’t think the filter fallback you mention (used only when redering) 
> is causing the problem of being unable to tell how many rings make up a 
> multi-polygon when using the feature service API, which is what Maciej 
> seems to be asking.

yes i think that is the problem.

> Maciej, did you also try iterating over the interior rings, using 
> GetInteriorRingCount() and GetInteriorRing(). Even though the polygon is 
> made up of two outer rings, it is possible that in the data source it is 
> described as a Polygon, in which case the second ring would have to 
> necessarily be put in the InteriorRings collection.
> Traian

Traian can you write pseudo code of this solution...it seems that i 
don't try GetInteriorRingCount() and GetInteriorRing() (how should i use 
this)

question is how should i call API to generate coords of second 
(third,fourth,etc) polygon in this iteration?

thx
maciej


More information about the mapguide-users mailing list