View Single Post

  #1 (permalink)  
Old 02-22-2008
Winwaed's Avatar
Winwaed Winwaed is offline
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 899
Blog Entries: 10
Complex Shapes (ie. those with holes) in Virtual Earth?

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
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Reply With Quote