Skip to content

Instantly share code, notes, and snippets.

import requests
import codecs
import osm2geojson
import json
import os
from urllib.parse import quote
BASE_DEM = 'https://portal.opentopography.org/API/globaldem'
BASE_OVERPASS = "http://overpass-api.de/api/interpreter"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<html>
<body>
<div id="cont"></div>
</body>
</html>
This file has been truncated, but you can view the full file.
{
"type": "FeatureCollection",
"generator": "overpass-ide",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",
"timestamp": "2020-06-06T23:55:02Z",
"features": [
{
"type": "Feature",
"properties": {
"@id": "relation/2302",
This file has been truncated, but you can view the full file.
{
"type": "FeatureCollection",
"generator": "overpass-ide",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",
"timestamp": "2020-06-12T20:56:02Z",
"features": [
{
"type": "Feature",
"properties": {
"@id": "relation/2302",