[fix] removing building alias (for OSm it means building category), fix to fetch script

This commit is contained in:
Al
2015-03-18 08:40:07 -04:00
parent 88554c1ef7
commit 6c8e5b45a4
2 changed files with 1 additions and 2 deletions

View File

@@ -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 osmconvert $PLANET_ADDRESSES_O5M --max-objects=1000000000 --all-to-nodes -o=$PLANET_ADDRESSES_LATLONS
rm $PLANET_ADDRESSES_O5M rm $PLANET_ADDRESSES_O5M
PLANET_ADDRESSES="planet-addresses.osm" 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 rm $PLANET_ADDRESSES_LATLONS

View File

@@ -127,7 +127,6 @@ class AddressFormatter(object):
('addr:postal_code', 'postcode'), ('addr:postal_code', 'postcode'),
('addr:postcode', 'postcode'), ('addr:postcode', 'postcode'),
('addr:country', 'country'), ('addr:country', 'country'),
('building', 'house'),
('street', 'road'), ('street', 'road'),
('street_name', 'road'), ('street_name', 'road'),
('residential', 'road'), ('residential', 'road'),