[osmosis-dev] Osmosis 0.42 Installation on Ubuntu 12.04

Toby Murray toby.murray at gmail.com
Thu Mar 21 14:10:03 UTC 2013


On Thu, Mar 21, 2013 at 7:34 AM, Daniel Kerkow <leak.my.brain at gmail.com> wrote:
> Hi,
> I want to use the following python script that extracts the OSM boundaries
> and does some additional stuff with them.
>
> https://github.com/mapbox/osm-boundaries
>
> This script also calls osmosis, but needs version 0.42.
> The Ubuntu repositories don't provide this  version.
>
> How do I exactly install osmosis to be called from system, not from
> commandline?

All that python is doing is making a call out to a shell to invoke
osmosis. (see line 71)

So you should be able to just download the latest osmosis, unpack it
and then add the osmosis bin/ directory to your PATH variable before
executing that python.

Toby



More information about the osmosis-dev mailing list