[osmosis-dev] Error: Could not find or load main class org.codehaus.classworlds.Launcher

2015-07-16 Thread Dave F.

Hi

New to osmosis. Loaded the most recent stable version. Upgraded Java 
runtime to latest build of version 8


I followed the instructions here: 
http://wiki.openstreetmap.org/wiki/Osmosis/keep_a_local_copy_of_a_.osm_file_updated_using_minutely_updates


So ran:

osmosis --rrii

This is the error it returned:

Could not find or load main class org.codehaus.classworlds.Launcher

I'm not sue how to locate it. Any idea for a solution?

Cheers
Dave F.



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] Error: Could not find or load main class org.codehaus.classworlds.Launcher

2015-07-16 Thread Dave F.

Thanks for your reply Evgeniy

That problem was me misinterpreting what 'version' tag was being 
referred to. I was using a stripped down dataset without any meta data, 
but of course osmosis needs some of that info to work out if it's been 
updated!


However it's still producing an error: 'An output error has occurred' 
but that maybe related to task 1.


Dave F.

On 16/07/2015 18:17, Evgeniy Karyakin wrote:

How did you get/generate Bath.osm? This error says that the node
104771 doesn't have version attribute, and there should be one,
search for this node in Bath.osm and look at this node tag. I got
those errors on osm files which were stripped (by myself) from some
attributes which I thought were irrelevant to my aims. Check the site
where you get Bath.osm and see if it strips these attributes (it
shouldn't if you need further processing of this osm file).
Note that I'm too a complete newbie to Osmosis, just sharing my tiny experience.

On Thu, Jul 16, 2015 at 8:06 PM, Dave F. dave...@madasafish.com wrote:

Background info:
The command line option:
C:\dwgs\Programs\GPS All\Osmosis\bin\osmosis --rri --simc --rx Bath.osm
--ac --bp clipIncompleteEntities=yes file=coords.txt --wx new.osmcopy
new.osm Bath.osm /ydel new.osm

The returned output:
(Note for task 3 the OSM file is version 0.6 it has this as its second line:
osm version=0.6 generator=Overpass API

SEVERE: Thread for task 1-rri failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has
occurred, aborting.



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev