#300542 - 01/29/06 06:41 AM
Angola. KML source with schema.
[Re: Valery35]
|
Master Craftsman
Registered: 09/02/05
Posts: 2299
Loc: Russia, Perm, Sun
|
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.0"> <Document> <Schema parent="Placemark" name="S_country"> <SimpleField type="wstring" name="FIPS_CNTRY"> </SimpleField> <SimpleField type="wstring" name="GMI_CNTRY"> </SimpleField> <SimpleField type="wstring" name="ISO_2DIGIT"> </SimpleField> <SimpleField type="wstring" name="ISO_3DIGIT"> </SimpleField> <SimpleField type="wstring" name="CNTRY_NAME"> </SimpleField> <SimpleField type="wstring" name="LONG_NAME"> </SimpleField> <SimpleField type="wstring" name="SOVEREIGN"> </SimpleField> <SimpleField type="double" name="POP_CNTRY"> </SimpleField> <SimpleField type="wstring" name="CURR_TYPE"> </SimpleField> <SimpleField type="wstring" name="CURR_CODE"> </SimpleField> <SimpleField type="wstring" name="LANDLOCKED"> </SimpleField> <SimpleField type="double" name="SQKM"> </SimpleField> <SimpleField type="double" name="SQMI"> </SimpleField> </Schema> <Style id="khStyle548_0"> <LineStyle id="khLineStyle548_0"> <color>66000000</color> <width>0.4000000059604645</width> </LineStyle> <PolyStyle id="khPolyStyle548_0"> <color>66beffd3</color> </PolyStyle> </Style> <S_country> <name>Angola</name> <description><![CDATA[<a href='http://www.google.com/search?q=Angola'>Search Google</a> <BR><a href='http://maps.google.com/?ll=-12.2994772211426,17.5379654426636&spn=0.02,0.02&t=h'>Maps Google</a> <BR>]]></description> <styleUrl>#khStyle548_0</styleUrl> <Style> <PolyStyle> <color>82beffd3</color> </PolyStyle> </Style> <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> 12.21455,-5.768556,0 12.02613,-5.014997,0 12.76528,-4.393889,0 13.09139,-4.633056,0 12.57222,-5.021806,0 12.52667,-5.724167,0 12.21455,-5.768556,0 </coordinates> </LinearRing> </outerBoundaryIs> <tesselate>1</tesselate> </Polygon> <FIPS_CNTRY>AO</FIPS_CNTRY> <GMI_CNTRY>AGO</GMI_CNTRY> <ISO_2DIGIT>AO</ISO_2DIGIT> <ISO_3DIGIT>AGO</ISO_3DIGIT> <CNTRY_NAME>Angola</CNTRY_NAME> <LONG_NAME>Angola</LONG_NAME> <SOVEREIGN>Angola</SOVEREIGN> <POP_CNTRY>11527260</POP_CNTRY> <CURR_TYPE>New Kwanza</CURR_TYPE> <CURR_CODE>AON</CURR_CODE> <LANDLOCKED>N</LANDLOCKED> <SQKM>1252934.88</SQKM> <SQMI>483758.22</SQMI> </S_country> </Document> </kml>
|
|
Top
|
|
|
|
#300544 - 08/23/07 09:21 AM
Re: World Countries as Polygons. Next generation.
[Re: Valery35]
|
Traveler
Registered: 08/23/07
Posts: 2
|
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 ?
|
|
Top
|
|
|
|
#300545 - 12/20/07 01:38 PM
Re: World Countries as Polygons. Next generation.
[Re: Martouf_vert]
|
New Poster
Registered: 12/20/07
Posts: 1
|
If it's not too late, maybe you will find something usefull on my homepage. Check Bonus track 2: All World countries (210 entities) as encoded polylines for Google maps. Currently, you can also get -All US states (50 entities) as encoded polylines, -All US counties (3141 entities) as encoded polylines, -All french rgions (22 entities) as encoded polylines, -All french dpartements (96 entities) as encoded polylines. Regards.
|
|
Top
|
|
|
|
#300546 - 03/22/08 05:29 AM
Re: World Countries as Polygons. Next generation.
[Re: olbigo]
|
Traveler
Registered: 08/23/07
Posts: 2
|
Finally i found a shapefile that i converted to kml to have a simpler world map. Your encoded polygon are very interesting.
Thanks
|
|
Top
|
|
|
|
#300549 - 06/27/08 07:59 AM
Re: World Countries as Polygons. Next generation.
[Re: Valery35]
|
Traveler
Registered: 06/24/08
Posts: 43
|
Very good tool, latest version 1.3.0 Build date 08.08.2006.
_________________________
The World is a book, and those who do not travel read only a page. - St. Augustine - My project about Benidorm and the surrounding maps.
|
|
Top
|
|
|
|
#300550 - 10/13/08 10:47 AM
Re: World Countries as Polygons. Next generation.
[Re: bugemenot4]
|
New Poster
Registered: 10/13/08
Posts: 1
|
bugemenot4, this works for me... just made it as I was searching around for something similar. sorry about the Antimeridian, I was lazy  it uses Valery35's polygons, iirc edited for updated version
Attachments
1246881-Hideterrain2.kmz (710 downloads)Preview this file with the Google Earth Plugin (learn more)
Edited by puremetal (10/15/08 06:32 AM)
|
|
Top
|
|
|
|
Moderator: BeadieJay, bebop, Cyclonic, Delta102, Diane9247, dulce, esterrett, Frank_McVey, Hill, jeffryv, Jumble, Kempster, LuciaM, marinerfan, Noisette, NormB, no_stranger, tekgergedan, TheLedge
|
|