Google
Official Google Earth Download Site

Google Earth Community

Education >> Tools

Jump to first unread post. Pages: 1
Valery35
Master Craftsman


Reged: 09/02/05
Posts: 2269
Loc: Russia, Perm, Sun
World Countries as Polygons. Next generation.
      #289717 - 01/27/06 03:38 AM

View in Google Earth         View in Google Maps (8243 downloads)


Generate by KMLer. Size <250K.
Home page
http://www.mi-perm.ru/gis/programs/kmler
Forum
http://bbs.keyhole.com/ubb/showflat.php/Cat/0/Number/274058



Include labels, colors distribution, searth strings, connect to Google Maps. Attributes (shema)
FIPS_CNTRY
GMI_CNTRY
ISO_2DIGIT
ISO_3DIGIT
CNTRY_NAME (placemark)
LONG_NAME
SOVEREIGN
POP_CNTRY
CURR_TYPE
CURR_CODE
LANDLOCKED
SQKM
SQMI

I see error - Taiwan. If you find other errors, then write. After I will correct it.

--------------------
Applications | Blog | Geoblog(ru) | Spreadsheets | Photos | Pict'Earth | Eastgeology (ru)

Edited by Valery35 (02/01/06 07:32 AM)


Post Extras: Print Post   Remind Me!   Report this Post  
Valery35
Master Craftsman


Reged: 09/02/05
Posts: 2269
Loc: Russia, Perm, Sun
Angola. KML source with schema. [Re: Valery35]
      #292396 - 01/29/06 06:41 AM

<?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>

--------------------
Applications | Blog | Geoblog(ru) | Spreadsheets | Photos | Pict'Earth | Eastgeology (ru)


Post Extras: Print Post   Remind Me!   Report this Post  
simon_a
Master Guide


Reged: 08/21/05
Posts: 1773
Loc: London, UK
Re: World Countries as Polygons. Next generation. [Re: Valery35]
      #699674 - 11/27/06 02:29 PM

An excellent resource - thank you!



Simon.


Post Extras: Print Post   Remind Me!   Report this Post  
Martouf_vert
Tourist


Reged: 08/23/07
Posts: 2
Re: World Countries as Polygons. Next generation. [Re: Valery35]
      #981622 - 08/23/07 09:21 AM

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 ?


Post Extras: Print Post   Remind Me!   Report this Post  
olbigo
First Post


Reged: 12/20/07
Posts: 1
Re: World Countries as Polygons. Next generation. [Re: Martouf_vert]
      #1077386 - 12/20/07 01:38 PM

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 régions (22 entities) as encoded polylines,
-All french départements (96 entities) as encoded polylines.

Regards.


Post Extras: Print Post   Remind Me!   Report this Post  
Martouf_vert
Tourist


Reged: 08/23/07
Posts: 2
Re: World Countries as Polygons. Next generation. [Re: olbigo]
      #1136552 - 03/22/08 05:29 AM

Finally i found a shapefile that i converted to kml to have a simpler world map.
Your encoded polygon are very interesting.

Thanks


Post Extras: Print Post   Remind Me!   Report this Post  
bugemenot4
Tourist


Reged: 06/13/06
Posts: 134
Loc: Heaven
Re: World Countries as Polygons. Next generation. [Re: Martouf_vert]
      #1193008 - 06/23/08 04:09 AM

Hi Martouf_vert!
How did you get a simple world map? I'm desperately looking for that but I can't find it. I always get the world divided into countries. I just need a "world borders map" to divide sea from mainland..


Post Extras: Print Post   Remind Me!   Report this Post  
KempsterModerator
Master Guide


Reged: 05/29/04
Posts: 1524
Loc: Eden Prairie, MN, USA
Re: World Countries as Polygons. Next generation. [Re: bugemenot4]
      #1194921 - 06/26/08 09:57 AM

I don't think Valery's "World Countries as Polygons" collection can do this. Further, you can't adjust the "Borders" layer in Google Earth so that only borders between land and water are visible. Sorry!

--------------------
Understanding Google Earth Resolution Differences --- Official Google Earth 4 User Guide --- Reporting Data Errors


Post Extras: Print Post   Remind Me!   Report this Post  
bullet_time
Tourist


Reged: 06/24/08
Posts: 43
Re: World Countries as Polygons. Next generation. [Re: Valery35]
      #1195402 - 06/27/08 07:59 AM

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.


Post Extras: Print Post   Remind Me!   Report this Post  
Pages: 1




Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  Hill, Jumble, Kempster, mcshea98, jeffryv, dulce, esterrett, NormB, Frank_McVey, TheLedge, BeadieJay, no_stranger, LuciaM, Cyclonic, tekgergedan, Noisette, danescombe, Michal_Drewniak, mutex, marinerfan, Delta102, bebop 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating: *****
Topic views: 22748

Rate this topic

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1