From 99040e541cba967c6491927999f9756b3688594a Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:11:19 +0200 Subject: [PATCH 1/5] Update osmelem2bbd --- miscsrc/osmelem2bbd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miscsrc/osmelem2bbd b/miscsrc/osmelem2bbd index ce9ff01497..19889ac3fd 100755 --- a/miscsrc/osmelem2bbd +++ b/miscsrc/osmelem2bbd @@ -26,7 +26,7 @@ use Strassen::Core; sub get_node ($); sub get_way ($); -my $api_root_url = 'https://www.openstreetmap.org/api/0.6'; +my $api_root_url = 'https://api.openstreetmap.org/api/0.6'; GetOptions or die "usage: $0 osmURL ...\n"; From 78a1a3385bc1dbdeb32f1eb7aec1bd2bd4902add Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:12:01 +0200 Subject: [PATCH 2/5] Update osmnotes2bbd.pl --- miscsrc/osmnotes2bbd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miscsrc/osmnotes2bbd.pl b/miscsrc/osmnotes2bbd.pl index 7a5ddcc192..6ac2a2093c 100755 --- a/miscsrc/osmnotes2bbd.pl +++ b/miscsrc/osmnotes2bbd.pl @@ -26,7 +26,7 @@ use Strassen::Core; -my $osm_notes_rooturl_fmt = "http://www.openstreetmap.org/api/0.6/notes.json?limit=%d&closed=0&bbox=%s,%s,%s,%s"; +my $osm_notes_rooturl_fmt = "https://api.openstreetmap.org/api/0.6/notes.json?limit=%d&closed=0&bbox=%s,%s,%s,%s"; my $o; my $bbox; From 5e7aeaf012416589d45a01e9ec49b70344159a6c Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:12:40 +0200 Subject: [PATCH 3/5] Update osmhistory --- miscsrc/osmhistory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miscsrc/osmhistory b/miscsrc/osmhistory index fccb1cdfda..054523b89d 100755 --- a/miscsrc/osmhistory +++ b/miscsrc/osmhistory @@ -36,7 +36,7 @@ GetOptions( ) or die "usage: $0 [--no-pager] osmobject/id\n"; -my $api_root_url = "https://www.openstreetmap.org/api/0.6"; +my $api_root_url = "https://api.openstreetmap.org/api/0.6"; my $elem = shift or die qq{Please specify osm element (e.g. "way/12345")\n}; From 05f8ac9ef7124756c8eb7df1e063f499bf0174bb Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:15:11 +0200 Subject: [PATCH 4/5] Update downloadosm --- miscsrc/downloadosm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miscsrc/downloadosm b/miscsrc/downloadosm index 311f07311c..a8d1cd0467 100755 --- a/miscsrc/downloadosm +++ b/miscsrc/downloadosm @@ -36,10 +36,10 @@ our $VERSION = "0.04"; use constant TIMEOUT => 60; use vars qw($OSM_API_URL); -$OSM_API_URL = "http://www.openstreetmap.org/api/0.6"; -#$OSM_API_URL = "http://xapi.openstreetmap.org/api/0.6"; +$OSM_API_URL = "https://api.openstreetmap.org/api/0.6"; +#$OSM_API_URL = "https://xapi.openstreetmap.org/api/0.6"; #$OSM_API_URL = "http://osmxapi.hypercube.telascience.org/api/0.6"; -#$OSM_API_URL = "http://www.informationfreeway.org/api/0.6"; +#$OSM_API_URL = "https://www.informationfreeway.org/api/0.6"; my $ltlnqr = qr{([-+]?\d+(?:\.\d+)?)}; my $osm_download_file_qr = qr{/download_$ltlnqr,$ltlnqr,$ltlnqr,$ltlnqr\.osm(?:\.gz|\.bz2)?$}; From 243b49c3f128fce2d14ec5731d93f8b34ce8fc29 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Thu, 12 Oct 2023 00:17:09 +0200 Subject: [PATCH 5/5] Update check-osm-watch-list.pl --- miscsrc/check-osm-watch-list.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miscsrc/check-osm-watch-list.pl b/miscsrc/check-osm-watch-list.pl index 97f407c04f..fec131c8a2 100755 --- a/miscsrc/check-osm-watch-list.pl +++ b/miscsrc/check-osm-watch-list.pl @@ -39,9 +39,9 @@ my $osm_watch_list = "$bbbike_rootdir/tmp/osm_watch_list"; my $osm_file = "$bbbike_rootdir/misc/download/osm/berlin.osm.bz2"; -my $osm_api_url = 'https://www.openstreetmap.org/api/0.6'; +my $osm_api_url = 'https://api.openstreetmap.org/api/0.6'; my $osm_url = 'https://www.openstreetmap.org'; -my $overpass_api_url = 'http://overpass-api.de/api/interpreter'; +my $overpass_api_url = 'https://overpass-api.de/api/interpreter'; my $show_unchanged; my $quiet;