Browse Source

Add example of using blacklist functionality

This removes the problematic PDX record from OSM (which has a centroid
that is unhelpful for routing, with no clear way to fix).
pull/17/head
Julian Simioni 6 years ago committed by Peter Johnson
parent
commit
0b98d59a03
  1. 1
      projects/portland-metro/blacklist/osm.txt
  2. 3
      projects/portland-metro/docker-compose.yml
  3. 5
      projects/portland-metro/pelias.json

1
projects/portland-metro/blacklist/osm.txt

@ -0,0 +1 @@
openstreetmap:venue:way:59581827 # remove the problematic portland airport record

3
projects/portland-metro/docker-compose.yml

@ -38,18 +38,21 @@ services:
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
- "./blacklist/:/data/blacklist"
openstreetmap:
image: pelias/openstreetmap:master
container_name: pelias_openstreetmap
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
- "./blacklist/:/data/blacklist"
openaddresses:
image: pelias/openaddresses:master
container_name: pelias_openaddresses
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
- "./blacklist/:/data/blacklist"
transit:
image: pelias/transit:master
container_name: pelias_transit

5
projects/portland-metro/pelias.json

@ -39,6 +39,11 @@
"adminLookup": {
"enabled": true
},
"blacklist": {
"files": [
"/data/blacklist/osm.txt"
]
},
"geonames": {
"datapath": "/data/geonames",
"countryCode": "ALL"

Loading…
Cancel
Save