User:Tylerritchie/Magellan

From OpenStreetMap Wiki
Jump to navigation Jump to search

Using Osmosis to combine .osm files

I grabbed the Cloudmade osm files for Washington State and proceeded to use Osmosis to merge and clip the data to my area of interest.

Using pyMagellan

I setup a Python virtualenv, pip and distribute

~$ virtualenv pymag
~$ pip -E pymag install -U distribute
~$ cd pymag
(pymag)~/pymag$ source bin/activate
(pymag)~/pymag$ wget
(pymag)~/pymag$ python setup.py install
...
# move the OSM files (combine with [[Osmosis]]) into the working dir (left as an exercise
# to the reader, Cloudmade is a good bet) as well as getting pymagellan
# in the dir
(pymag)~/pymag$
(pymag)~/pymag$
(pymag)~/pymag$