diff --git a/scripts/geodata/osm/fetch_osm_address_data.sh b/scripts/geodata/osm/fetch_osm_address_data.sh index 4a4d2e9a..b1567d9e 100644 --- a/scripts/geodata/osm/fetch_osm_address_data.sh +++ b/scripts/geodata/osm/fetch_osm_address_data.sh @@ -40,7 +40,7 @@ PLANET_ADDRESSES_LATLONS="planet-addresses-latlons.o5m" osmconvert $PLANET_ADDRESSES_O5M --max-objects=1000000000 --all-to-nodes -o=$PLANET_ADDRESSES_LATLONS rm $PLANET_ADDRESSES_O5M PLANET_ADDRESSES="planet-addresses.osm" -osmfilter $PLANET_ADDRESSES_LATLONS --keep="addr:street= and ( ( name= and amenity= ) or addr:housename= or addr:housenumber= )" -o $PLANET_ADDRESSES +osmfilter $PLANET_ADDRESSES_LATLONS --keep="addr:street= and ( ( name= and amenity= ) or addr:housename= or addr:housenumber= )" -o=$PLANET_ADDRESSES rm $PLANET_ADDRESSES_LATLONS diff --git a/scripts/geodata/osm/osm_address_training_data.py b/scripts/geodata/osm/osm_address_training_data.py index 575e0818..f08f90f4 100644 --- a/scripts/geodata/osm/osm_address_training_data.py +++ b/scripts/geodata/osm/osm_address_training_data.py @@ -127,7 +127,6 @@ class AddressFormatter(object): ('addr:postal_code', 'postcode'), ('addr:postcode', 'postcode'), ('addr:country', 'country'), - ('building', 'house'), ('street', 'road'), ('street_name', 'road'), ('residential', 'road'),