Re: [osmosis-dev] java.lang.AbstractMethodError: org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize

2012-10-19 Thread Brett Henderson
Hi Kim,

On 15 October 2012 19:18, KHOO KIM HWA khoofu...@yahoo.com wrote:

 Thanks Brett,

 I downgraded to osmosis 0.39 and the osm to osmbin file worked.

 But there are only attrnames, nodes.id2, nodes.idx, nodes.obm and
 osmbin.properties which are generated. The corresponding files of *.id2,
 *.idx and *.obm for ways and relations are not generated. I found
 osmbin.version=v1.1 in the osmbin.properties.

 Can someone give me some ideas on how to generate the corresponding files
 for ways and relations?


Sorry, I can't help.  The osmbin plugin is developed separately to Osmosis
and I haven't used it.  Perhaps others can comment.

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


Re: [osmosis-dev] java.lang.AbstractMethodError: org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize

2012-10-15 Thread KHOO KIM HWA
Thanks Brett,

I downgraded to osmosis 0.39 and the osm to osmbin file worked.

But there are only attrnames, nodes.id2, nodes.idx, nodes.obm and 
osmbin.properties which are generated. The corresponding files of *.id2, *.idx 
and *.obm for ways and relations are not generated. I found osmbin.version=v1.1 
in the osmbin.properties.

Can someone give me some ideas on how to generate the corresponding files for 
ways and relations?

Thanks.

Kim




 From: Brett Henderson br...@bretth.com
To: KHOO KIM HWA khoofu...@yahoo.com 
Cc: osmosis-dev@openstreetmap.org osmosis-dev@openstreetmap.org 
Sent: Sunday, October 14, 2012 4:47 AM
Subject: Re: [osmosis-dev] java.lang.AbstractMethodError: 
org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize
 

Hi Kim,


On 13 October 2012 00:36, KHOO KIM HWA khoofu...@yahoo.com wrote:

Hello,



I got some errors when I try to convert .osm to osmbin file by executing: 
osmosis --read-xml file=idf_main_roads_new.osm --write-osmbin-0.6 
dir=./osmbin-full-map-dir


Thread for task 1-read-xml failed
java.lang.AbstractMethodError: 
org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize(Ljava/util/Map;)V
        at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:95)
        at java.lang.Thread.run(Unknown Source)  


Can someone give me some ideas to fix the problems?

This error appears to be coming from an Osmosis plugin, not Osmosis itself.  
The plugin will need to be updated to support the latest version of Osmosis.  
If you can't get a newer version of the plugin you'll need to downgrade to 
version 0.39 of Osmosis.  Recent versions of Osmosis require all tasks to 
support a new initialize method.

Brett



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


Re: [osmosis-dev] java.lang.AbstractMethodError: org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize

2012-10-13 Thread Brett Henderson
Hi Kim,

On 13 October 2012 00:36, KHOO KIM HWA khoofu...@yahoo.com wrote:

 Hello,

 I got some errors when I try to convert .osm to osmbin file by executing:
 osmosis --read-xml file=idf_main_roads_new.osm --write-osmbin-0.6
 dir=./osmbin-full-map-dir

 Thread for task 1-read-xml failed
 java.lang.AbstractMethodError:
 org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10W
 riter.initialize(Ljava/util/Map;)V
 at
 org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:95)
 at java.lang.Thread.run(Unknown Source)

 Can someone give me some ideas to fix the problems?


This error appears to be coming from an Osmosis plugin, not Osmosis
itself.  The plugin will need to be updated to support the latest version
of Osmosis.  If you can't get a newer version of the plugin you'll need to
downgrade to version 0.39 of Osmosis.  Recent versions of Osmosis require
all tasks to support a new initialize method.

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


[osmosis-dev] java.lang.AbstractMethodError: org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize

2012-10-12 Thread KHOO KIM HWA
Hello,


I got some errors when I try to convert .osm to osmbin file by executing: 
osmosis --read-xml file=idf_main_roads_new.osm --write-osmbin-0.6 
dir=./osmbin-full-map-dir

Thread for task 1-read-xml failed
java.lang.AbstractMethodError: 
org.openstreetmap.osm.data.osmbin.v1_0.OsmBinV10Writer.initialize(Ljava/util/Map;)V
        at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:95)
        at java.lang.Thread.run(Unknown Source)  


Can someone give me some ideas to fix the problems?

Thanks.
 
Kim___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev