Reply to topic

Country borders

sirop
Registered Member
Posts
4
Karma
0
OS

Country borders

Thu May 10, 2012 11:43 am
Hi,

as I see country borders are loaded in
http://api.kde.org/4.8-api/kdeedu-apido ... ource.html
s_countries->load( MarbleDirs::path( "mwdbii/PDIFFBORDER.PNT" ) );

but not associated with countries' names.

So if I need country borders associated with country name, I need a kml file with these data. Am I right?

I ask this because I have to put several placemarks within the borders of each country so that these placemarks do not overlap in best case.
Thanks.
User avatar tackat
KDE Developer
Posts
123
Karma
0
OS

Re: Country borders

Sun May 13, 2012 11:05 am
Using KML would be a possible approach indeed. :)

See e.g.

https://developers.google.com/kml/docum ... states.kml

which should display the us states like this:

http://edu.kde.org/marble/screenshots/g ... le-kml.png

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], hierophant, JesusM, kde-ed, rblackwell, Sogou [Bot], Yahoo [Bot]