[OSM-dev] unable to create jar file from the OSM-binary
Brett Henderson
brett at bretth.com
Thu Jun 4 23:18:10 UTC 2015
I've battled with that library in the past because it's used by Osmosis. I
forked the project and made some changes to make it easier to integrate
with Osmosis. The biggest change was moving the build to Gradle instead of
Maven, but it also changes package names to avoid namespace collisions.
Every so often I re-sync with the upstream project. My customised version
is on the osmosis branch of my fork (the master branch tracks upstream).
https://github.com/brettch/OSM-binary/tree/osmosis
Or, you could use the variant in the Osmosis project itself (which is
identical).
https://github.com/openstreetmap/osmosis/tree/master/osmosis-osm-binary
Or, you could use the pre-compiled Osmosis variant from Maven Central.
http://search.maven.org/#artifactdetails%7Corg.openstreetmap.osmosis%7Cosmosis-osm-binary%7C0.43.1%7Cjar
Note that I uploaded a new version to Maven Central last night (version
0.44.1) but it hasn't appeared yet for some reason. I'll have to
investigate further. The version above (0.43.1) is a couple of years old
and depends on Google Protobuf 2.4.1, the latest (version 0.44.1) uses
Google Protobuf 2.6 which requires a recompilation.
On 5 June 2015 at 04:51, Laura Barroso <laura at entumovil.cu> wrote:
> yes, is a java library that it's use to read from a pbf file...my purpose
> is to read from a pbf file generated on OSM in order to search for places
> or address on the cuban map...Yesterday we were trying to compile it but
> we get no success...we write to the creator of this library but he
> redirection us to this list...
> Cheers.
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20150605/c29c0511/attachment.html>
More information about the dev
mailing list