Renaming of nodes based on GEOnet Names Server (GNS)
Posted by h4ck3rm1k3 on 11 December 2009 in English.Hi all,
I have tested my renaming script for openstreetmap to use the Albanian
names from the global database of names.
The script runs like this :
1. mkdir cleanup
2. mkdir cleanup/parts
3. perl ./mergenames3.pl kv.txt parts/part_115.osm
Where the parts/part_115.osm is downloaded from osm.
I have created a split routine to create a splitup of kosovo so you
can process it individually.
to create the splits, you run this script :
1. mkdir parts
2. bash KosovoSplitterGet.sh
But you should delete any parts that you have before.
The kv.txt is from the global naming system and is checked in.
You can see the results here :
osm.org/browse/changeset/3350781
Now, I am not going to process all of kosovo. If someone wants to help
rename the openstreetmap things, just follow these instructions. If
the are not clear enough let me know and I will explain them more.
You can find all of the code in bzr:
bzr branch lp:~kosova/+junk/openstreetmapkosova
So, also I know these scripts are not very clean, and need to be
rewritten in python or even in perl. All help is welcome.
mike
Discussion