Complex Shapes (ie. those with holes) in Virtual Earth?

Winwaed
02-22-2008, 04:43 PM
I thought I'd seen a reference somewhere to drawing complex shapes in Virtual Earth, but I can't find it. Is this possible? By a complex shape, I mean one with holes. A "Poly-Polygon" in Win32 language.

Both KML and GML support this ability. Google Maps also does but it is fairly simple - the coordinates are all listed together, resulting in a boundary line connecting the inner and outer shapes. This is removed by turning the boundary off.

Importing KML into Google Maps also works. Importing KML into Virtual Earth does not - the hole (InnerBoundary) is ignored.

Richard

Eric Frost
02-25-2008, 08:40 AM
I surfed around for quite some time and could only find references to separating them out or on a wish list for support in a future version..

:boat:

Eric

Winwaed
02-26-2008, 08:04 AM
Definitely a nice-to have...


Richard

Eric Frost
02-26-2008, 08:46 AM
I swear I heard something about it... maybe in the next release of the control.

:beta1:

lfdmike
02-26-2008, 01:33 PM
I may have a work around in the next few days, time permitting. I have a similiar need in a VE app that I am working on, just not that far into yet

Winwaed
02-27-2008, 08:26 AM
A complex shape could be broken up into smaller shapes that 'go together', and depending on the application, this could be quite easy to do. GridImp does this kind of thing for desktop MapPoint, but the data is in a form that makes it easy to do.

This is for a possible future product I'm thinking of - so I'm looking months ahead. To be honest, "in the next version" would be sufficient.


Richard

 
Web mp2kmag.com
mapforums.com