Tuesday, 29 April 2008

Proportional 3D Collada objects in KML

My last hack for making proportional symbols in KML is to use Collada objects. These objects can be loaded and scaled by using the Model element in KML. The Collada interchange file format is normally used to make 3D buildings in Google Earth, but since there is no scale restrictions they can also be used for thematic mapping. By using 3D objects, it's possible to create quite visually appealing maps.

Looks like the Earth is having some sort of disease.... (download KMZ). The volume of the spheres represents the country population (source: UNdata). The sphere model was downloaded from Google 3D Warehouse, and colourised in Google SketchUp. That's the disadvantage of using models for this purpose, - it is not possible to colourise a Collada object in KML in the same way as images loaded as icons. If you want 3D symbols in different colours, you need to create different Collada objects.

Scaling is a different story, as the x, y and z axis can be scaled independently in KML. I'm using this technique to make the sphere objects population proportional.

As this image (KMZ) shows, any Collada object can be used... (person from 3D Warehouse).

This was the end of my How to make proportional symbols with KML series. Please notice me if you know other techniques, or how these techniques could be enhanced!

1 comments:

Goulding said...

This appears to be broken in the latest version of the site? It used to give you options for "Proportional Symbols" as described in item #3 of the instructions, but I can't get it to work for me anymore...