[OSM-talk] KML tiles

Robert Vollmert rvollmert-lists at gmx.net
Wed Jun 11 13:38:04 BST 2008


On Jun 11, 2008, at 13:45, Dirk-Lüder Kreie wrote:
> Robert Vollmert schrieb:
>> How it works: For each standard z/x/y-tile, cut out the relevant  
>> OSM-data and convert to KML using osmexport from osmlib, then  
>> massage the result to contain region information and links to the  
>> four subtiles.
>
> How does this compare to osmgoogleearth in svn?

osmgoogleearth in svn is outdated (API 0.4, IIRC) and has been  
replaced by osmlib (http://osmlib.rubyforge.org/) which includes the  
export tool osmexport. Both are by Jochen Topf. Osmexport can convert  
one OSM file into one KML file according to rules you specify.

Obviously, converting planet.osm to planet.kml and serving that to the  
Google Earth-using public is impossible.

What I've done is an experiment in subdividing the data into tiles and  
serving these as separate KML files, which are loaded dynamically as  
you move around in Google Earth.

I hope this clears things up.

Cheers
Robert





More information about the talk mailing list