Skip to content

Commit

Permalink
Merge branch 'quincylvania-patch-1'
Browse files Browse the repository at this point in the history
fixes #42
  • Loading branch information
amandasaurus committed Mar 25, 2024
2 parents c34dd59 + 96d61af commit fdc7ac2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ planet-waterway-boatable.geojsons: planet-waterway.osm.pbf
mv tmp.$@ $@

planet-waterway-canoeable.geojsons: planet-waterway.osm.pbf
osm-lump-ways -i $< -o tmp.$@ --min-length-m 100 --save-as-linestrings -f canoe∈yes,portage,permissive,designated,destination,customers,permit
osm-lump-ways -i $< -o tmp.$@ --min-length-m 100 --save-as-linestrings -F "canoe∈yes,portage,permissive,designated,destination,customers,permit→T; portage∈yes,permissive,designated,destination,customers,permit→T; F"
mv tmp.$@ $@

planet-waterway-all.geojsons: planet-waterway.osm.pbf
Expand Down
2 changes: 1 addition & 1 deletion dl_updates_from_osm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -o errexit -o nounset
cd "$(dirname "$0")"

echo "Starting dl_updates_from_osm.sh"
TAG_FILTER="w/waterway w/natural=water w/canoe"
TAG_FILTER="w/waterway w/natural=water w/canoe w/portage"

if [ ! -s planet-waterway.osm.pbf ] ; then
if [ ! -e planet-latest.osm.pbf ] ; then
Expand Down
7 changes: 6 additions & 1 deletion docs/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@
{
"key": "lock",
"value": "yes",
"description": "Used to calcualte if water flows through a canal or not",
"description": "Used to calculate if water flows through a canal or not",
"object_types": ["way"]
},
{
"key": "canoe",
"description": "Used to calculate canoe navigable waterways view",
"object_types": ["way"]
},
{
"key": "portage",
"description": "Used to calculate canoe navigable waterways view",
"object_types": ["way"]
}
]
}

0 comments on commit fdc7ac2

Please sign in to comment.