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@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 <[email protected]>

> On Thu, Mar 21, 2013 at 7:34 AM, Daniel Kerkow <[email protected]>
> 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
> [email protected]
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to