1. get the latest branch :
bzr branch lp:~kosova/+junk/openstreetmapkosova
2.run the getter script
bash ./KosovoSplitterGet.sh
3. install osmosis :
wget http://dev.openstreetmap.org/~bretth/osmosis-build/osmosis-latest-bin.zip
see this osm.wiki/index.php/Osmosis#Example_Usage
3.1
#### this version does not work... need to fix it.
#get the latest version
wget http://gweb.bretth.com/osmosis-latest.zip
# unzip it
unzip osmosis-latest.zip
#run changemod
chmod +x ./osmosis-3.0/bin/osmosis
###GOD this on did not work either cause it produced a 0.5 file
3.1
#### this version does not work... need to fix it.
edit :
sudo vi /etc/apt/sources.list
add :
deb http://osm.komzpa.net/~mdupont/osm/ gjergi-osm main
install :
sudo apt-get install openstreetmap-osmosis
4. run the split like this
see also kosovageonames.sh
osmosis --read-xml file=somefile.osm --bounding-polygon file=kosovaadmin.poly --write-xml file=output.osm
Trafodaeth