From 44bf94a158167217dcc3b98c698ee8f7140bbddf Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 3 Sep 2015 20:09:03 -0400 Subject: [PATCH] [osm] Better borders training data set (only need the metadata, not the polygons) --- scripts/geodata/osm/fetch_osm_address_data.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/geodata/osm/fetch_osm_address_data.sh b/scripts/geodata/osm/fetch_osm_address_data.sh index 4db7bbcb..1fcb858d 100755 --- a/scripts/geodata/osm/fetch_osm_address_data.sh +++ b/scripts/geodata/osm/fetch_osm_address_data.sh @@ -43,8 +43,7 @@ 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 rm $PLANET_ADDRESSES_LATLONS PLANET_BORDERS_OSM="planet-borders.osm" -osmfilter $PLANET_O5M --keep="boundary=administrative" --drop-author --drop-version -o=$PLANET_BORDERS_OSM - +osmfilter $PLANET_O5M --keep="boundary=administrative or place=city or place=town or place=neighbourhood or place=suburb" --drop-author --drop-version --ignore-dependencies -o=$PLANET_BORDERS_OSM echo "Filtering for venue records: `date`" PLANET_VENUES_O5M="planet-venues.o5m"