[OSM-newbies] splitting up a osm file.
Craig Wallace
craigw84 at fastmail.fm
Mon Oct 4 22:01:58 BST 2010
On 04/10/2010 21:07, john whelan wrote:
> Unfortunately I'm running Windows which doesn't help when trying to
> run UNIX utilities. I'm running JOSM so do have Java floating around
> somewhere but when I drop in a pause in the .bat file to see what
> errors are there the first thing I can see is Java comes up as
> unrecognised.
>
> Suggestions please.
Try running it from a command prompt, then you can see what the errors
are, plus copy and paste any that are relevant.
Just testing it now (on Windows), this command works for me (running it
from the directory Osmosis was unzipped into):
bin\osmosis --read-xml scotland.osm.bz2 --bounding-box left=-3.4475
top=56.0304 right=-3.3373 bottom=55.9697 --write-xml forth.osm
It does give a couple of "not recognised" errors, but they don't seem to
affect it, the osm file is output fine.
More information about the newbies
mailing list