[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/data/placemarks
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2010-12-11 17:01:57
Message-ID: 20101211170157.13740AC8A7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1205576 by nienhueser:

Add a cityplacemarks cache file that only contains cities with a population of one \
million or more. It is meant to be used on less capable devices where the current \
approach to determine which placemarks needs to be drawn takes considerable time.

 M  +7 -0      HOWTO-cities.txt  
 A             cityplacemarks_large_population.cache  


--- trunk/KDE/kdeedu/marble/data/placemarks/HOWTO-cities.txt #1205575:1205576
@@ -4,10 +4,17 @@
 All other steps are optional and can be done by one of our programmers:
 
 1. Compile marble/tools/asc2kml by executing "qmake-qt4 && make"
+
 2. Then execute the resulting binary:
 
 tackat@tackat-laptop:~/marble/tools/asc2kml$ ./asc2kml -o \
~/marble/data/placemarks/cityplacemarks.kml ~/marble/data/placemarks/cities.txt  \
~/marble/data/placemarks/statecodes.txt ~/marble/data/placemarks/timeZones.txt  
+If you're interested only in the n cities with the highest population, you can \
generate a modified cities.txt like this (here n=1000): +
+tackat@tackat-laptop:~$ sort -t"$(echo -e "\t")" -n -k 15 cities.txt | tail -n 1000 \
> cities_largest_1000.txt +
+Then use cities_largest_1000.txt instead of cities.txt in the asc2kml call above.
+
 3. Create the placemark-directory in your home directory if it doesn't exist \
already.  
 tackat@tackat-laptop:~$ mkdir ~/.local/share/marble/placemarks


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic