[osmosis-dev] Osmosis 0.42 Installation on Ubuntu 12.04

Daniel Kerkow leak.my.brain at gmail.com
Thu Mar 21 15:45:50 UTC 2013


Ok, I installed osmosis as you suggested. When I just call "osmosis" from
command line, I get the help page, which is what I expected.
But when I run the osm-boundary script, I get the following error:

gisuser at gisserver:~/osm-boundaries.git/osm-boundaries$ ./run.py
/home/gisuser/osm-planet/planet-130313/planet-130313.osm.pbf
/bin/sh: 1: osmosis: not found
terminate called after throwing an instance of 'Osmium::OSMFile::IOError'
  what():  Open failed
Aborted

I can't really see what is the problem here. As I said, osmosis alone seems
to work.
Any suggestions?



2013/3/21 Toby Murray <toby.murray at gmail.com>

> 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
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130321/c99ccf7a/attachment.html>


More information about the osmosis-dev mailing list