[GIS] osmosis library in java application

javaopenstreetmaposmosis

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.

Best Answer

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.

Related Question