KPAONline Houses coverter

1 view
Skip to first unread message

jamesmi...@googlemail.com

unread,
Dec 12, 2009, 5:18:36 AM12/12/09
to Free Software Conference
I have imported the KPAOnline houses for Prishtina :
http://www.openstreetmap.org/browse/changeset/3354539


here are my scripts :

0. sudo apt-get install proj
1. use wget to get all the items into a directory :
each town is in kpaonline in a view from here:
http://www.kpaonline.org/AdminMun.asp?mun=Pristina

wget -r -l2 -dhttp://www.kpaonline.org/
http://www.kpaonline.org/AdminMun.asp?mun=Pristina

2. get the scripts :
http://bazaar.launchpad.net/~kosova/+junk/openstreetmapkosova/

3. copy all the data files for each building into a nice folder :
mv /media/sdc1/2009/12/kpa/prishtina/www.kpaonline.org/resultPAmun.asp?IS=*
prishtina/

create a directory to hold the extracted datafile

mkdir results
mkdir results/prishtina

convert the data :
bash -x convertallkpa.sh prishtina

move the prishtina input files into the results dir
mv prishtina/* results/prishtina

bash convertallkpa2.sh prishtina > prishtina.osm

And there you go.
we can process all the areas in Kosovo.


So this is the second OSM processing of Kosovo that is waiting for help.
All you people who say you want to help out, well now is your chance.


mike
Reply all
Reply to author
Forward
0 new messages