0

I want to do a navigation application OSM PBF files.

I'm using the pbf files from the osm website.

I was looking for a way to access the pbf files, I found that it can be accessed using the osmosis library. But I have no idea on how to use it. and there's no documentation.

1

1 Answer 1

1

The OSM OSMOSIS page gives beginner examples under the section marked 'usage'. For further documentation try the detailed usage section.

For routing specifically, you may also like to investigate PgRouting (for which you will need to load your data into PostGIS using OSMOSIS or OSM2PGSQL) or have a look at OSM2PO. Both of these a common routing solutions for OSM data with plenty of tutorials on the web. and discussion in this forum.

5
  • I'd love to do my own routing algorithm. That's why I want to extract the data. Commented Oct 19, 2014 at 21:35
  • the detailed usage is for the command line application, I want to use in my java application. Commented Oct 19, 2014 at 21:36
  • You can use command line programs in Java applications, too.
    – scai
    Commented Oct 20, 2014 at 10:50
  • How to do that ? Commented Oct 20, 2014 at 13:12
  • For example via ProcessBuilder. But this is the wrong place for discussing how to execute external programs in Java.
    – scai
    Commented Oct 20, 2014 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.