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

KHOO KIM HWA khoofutze at yahoo.com
Mon Oct 15 09:18:47 BST 2012


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 <brett at bretth.com>
>To: KHOO KIM HWA <khoofutze at yahoo.com> 
>Cc: "osmosis-dev at openstreetmap.org" <osmosis-dev at 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 <khoofutze at 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20121015/7fed3827/attachment.html>


More information about the osmosis-dev mailing list