Martouf_vert
(Tourist)
08/23/07 09:21 AM
Re: World Countries as Polygons. Next generation.

Thanks a lot for this excellent ressource. It is very useful for me !


Now, i'm adapting this file to display it on google maps.

I converted the polygons from kml format to a json format. Thus, i reduce the display time. But, it is not enough.
It takes about 1 minute to display the entire world.

This KML file is too precise (too many polygons and too many points) and not ideal for web-based representation.

To improve efficiency of my script, i'm therefore seeking a simplified KML file of the world with each country but constructed with less vertex and not with all coasts details.

Do you know if such a file exists and where ?


Or better, i'm seeking a version based on the encoded Gpolylines. Ideally, i would need four levels of zoomFactor (http://www.google.com/apis/maps/documentation/polylinealgorithm.html), each one being used at different levels of zoom such as described in the Google maps API / Encoded polyline ( http://www.google.com/apis/maps/documentation/index.html#Encoded_Polylines ).
Do you know if someone would have produced such a file, whereby country borders match well ?



earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1