[osm] Better borders training data set (only need the metadata, not the polygons)

This commit is contained in:
Al
2015-09-03 20:09:03 -04:00
parent 55af9b0a0c
commit 44bf94a158

View File

@@ -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"