NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm trying to install Osmosis on Windows XP. I moved the osmosis-0.38 folder into my profile under documents and settings. Do I need to move the .bat and .jar files into the main directory out of the folder. When I try to run the script to merge two files, I get an error that says "unable to access jarfile osmosis.jar" Is there anything else I need to do to install it?

asked 01 Jan '11, 22:46

nmixter's gravatar image

nmixter
1319913
accept rate: 0%


You should not need to move the bat or jar files from their unzipped directory locations. You should be able to run osmosis.bat from the bin directory.

This old forum discussion gives some messy solutions for getting osmosis classpaths to work However things have moved on since then. I think osmosis launch scripts (osmosis.bat for windows) have changed to use some codehaus.classworlds.Launcher mechanism, which is hopefully better. In general, you'll have an easier time if you can get it to work without rearranging anything. Keep things as they are when you unzip osmosis. There are some other notes for windows users on the osmosis wiki page

permanent link

answered 04 Jan '11, 12:37

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%

1

Osmosis 0.38 works if the .bat file is called from its initial location (as Harry says this was not true for much older versions (0.29 & 0.31). I usually run it from the osmosis directory and mostly I will write another batch file so that I dont forget how I've used the osmosis options. So binosmosis.bat --rx file=....

(08 Jun '11, 09:54) SK53 ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×252

question asked: 01 Jan '11, 22:46

question was seen: 7,795 times

last updated: 08 Jun '11, 09:54

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum