Skip to content

Commit

Permalink
change the curl user agent because nominatim.org blocks it
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasaurus committed Jan 19, 2023
1 parent a4c12cd commit 6b02688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_osml10n_extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ done
if ! [ -f "country_osm_grid.sql" ]; then
rm -f country_osm_grid.sql
echo -n "Trying to download country_grid.sql.gz from nominatim.org... "
curl -sL https://www.nominatim.org/data/country_grid.sql.gz |gzip -d >country_osm_grid.sql
curl -A "dpkg build for mapnik-german-l10n deb file" -sL https://www.nominatim.org/data/country_grid.sql.gz |gzip -d >country_osm_grid.sql

if ! [ -s country_osm_grid.sql ]; then
rm -f country_osm_grid.sql
Expand Down

0 comments on commit 6b02688

Please sign in to comment.