原文
A simple command line tool for reading OpenStreetMap .osm.pbf files into a SQLite database.
Usage:
pbf2sqlite DATABASE [OPTION ...]
Options:
read FILE Reads .osm or .osm.pbf FILE into the database
rtree Add R*Tree indexes
addr Add address tables
graph Add graph table
pbf2sqlite test.db read country.osm.pbf
reads the OSM PBF file country.osm.pbf and creates in the database test.db the tables.