Skip to content

Commit

Permalink
Merge pull request #29 from danieldegroot2/api-url
Browse files Browse the repository at this point in the history
Switch script to api.openstreetmap.org API host.
While the get_osm_boundaries.sh script is rarely used it should still be switched.
  • Loading branch information
giggls authored Oct 12, 2023
2 parents 3053b30 + 635fd7e commit ed90552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_osm_boundaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ get_osm_boundary_by_id() {
local name="$1"
local id="$2"

wget -O "$name.osm" "https://www.openstreetmap.org/api/0.6/relation/$id/full"
wget -O "$name.osm" "https://api.openstreetmap.org/api/0.6/relation/$id/full"

osmium getid --remove-tags --add-referenced "$name.osm" "r$id" --output-format=opl \
| sed -e "s/ T[^ ]\+ / Ttype=multipolygon,cc=$name /" >"$name.opl"
Expand Down

0 comments on commit ed90552

Please sign in to comment.