Browse Source

add POI import

master
Markus Bergholz 11 months ago
parent
commit
2e4ad46a65
  1. 16
      README.md

16
README.md

@ -21,6 +21,22 @@ Read data and populate database
./bin/osmosis --read-xml file="andorra-latest.osm.bz2" --write-apidb-0.6 host="127.0.0.1" dbType="mysql" database="osm" user="osm" password="osm" validateSchemaVersion=no
# Import POI from pbf
```
./bin/osmosis --read-pbf file="europe-latest.osm.pbf" \
--tf accept-nodes \
aerialway=station \
aeroway=aerodrome,helipad,heliport \
amenity=* building=school,university craft=* emergency=* \
highway=bus_stop,rest_area,services \
historic=* leisure=* office=* \
public_transport=stop_position,stop_area railway=station \
shop=* tourism=* outdoor=* \
--tf reject-ways --tf reject-relations \
--write-apidb-0.6 host="127.0.0.1" dbType="mysql" database="osm" user="osm" password="osm" validateSchemaVersion=no
```
## Usage ##
Return all main streets in a bounding box

Loading…
Cancel
Save