[osm] add wikipedia:* to rail station exception
This commit is contained in:
@@ -177,12 +177,12 @@ osmfilter $PLANET_O5M --keep="boundary=postal_code" --drop-author --drop-version
|
||||
# Venue data set for use in venue classification
|
||||
echo "Filtering for venue records: `date`"
|
||||
PLANET_VENUES_O5M="planet-venues.o5m"
|
||||
osmfilter $PLANET_O5M --keep="( name= and ( ( building= and building!=yes ) or $VALID_VENUE_KEYS or ( $VALID_RAIL_STATION_KEYS and addr:street= and wikipedia= ) ) )" --drop-author --drop-version -o=$PLANET_VENUES_O5M
|
||||
osmfilter $PLANET_O5M --keep="( name= and ( ( building= and building!=yes ) or $VALID_VENUE_KEYS or ( $VALID_RAIL_STATION_KEYS and addr:street= and ( wikipedia= or wikipedia:*= ) ) ) )" --drop-author --drop-version -o=$PLANET_VENUES_O5M
|
||||
PLANET_VENUES_LATLONS="planet-venues-latlons.o5m"
|
||||
osmconvert $PLANET_VENUES_O5M --max-objects=1000000000 --all-to-nodes -o=$PLANET_VENUES_LATLONS
|
||||
rm $PLANET_VENUES_O5M
|
||||
PLANET_VENUES="planet-venues.osm"
|
||||
osmfilter $PLANET_VENUES_LATLONS --keep="name= and ( ( building= and building!=yes ) or ( $VALID_VENUE_KEYS or ( $VALID_RAIL_STATION_KEYS and addr:street= and wikipedia= ) ) )" -o=$PLANET_VENUES
|
||||
osmfilter $PLANET_VENUES_LATLONS --keep="name= and ( ( building= and building!=yes ) or ( $VALID_VENUE_KEYS or ( $VALID_RAIL_STATION_KEYS and addr:street= and ( wikipedia= or wikipedia:*= ) ) ) )" -o=$PLANET_VENUES
|
||||
rm $PLANET_VENUES_LATLONS
|
||||
|
||||
# Categories for building generic queries like "restaurants in Brooklyn"
|
||||
|
||||
Reference in New Issue
Block a user