The repo is: https://github.com/gboeing/osmnx
Use CONDA-FORGE to install OSMNX.
- Add a new channel
conda config --add channels conda-forge
/// app.js | |
import React, {useState} from 'react'; | |
import DeckGL from '@deck.gl/react'; | |
//import {LineLayer} from '@deck.gl/layers'; | |
import {ArcLayer} from '@deck.gl/layers'; | |
import {Map} from 'react-map-gl'; | |
import mapboxgl from "mapbox-gl"; // This is a dependency of react-map-gl even if you didn't explicitly install it | |
// add to apply the following fix so that the basemap works in production: https://github.com/visgl/react-map-gl/issues/1266 | |
// eslint-disable-next-line import/no-webpack-loader-syntax |
( | |
// get all buildings | |
way[building]({{bbox}}); | |
// get all roads | |
way[highway]({{bbox}}); | |
// get important POIs | |
node[leisure]({{bbox}}); | |
node[sport]({{bbox}}); | |
node[man_made]({{bbox}}); | |
node[historic]({{bbox}}); |
The repo is: https://github.com/gboeing/osmnx
Use CONDA-FORGE to install OSMNX.
conda config --add channels conda-forge
title | |
file with a leading space = GIST title | |
http://stackoverflow.com/questions/19896900/how-to-change-the-name-of-a-gist-in-github |
The GHS Functional Urban Areas (GHS-FUA) delineate the spatial entities representing the commuting area of the Urban Centres of 2015. (source: https://ghsl.jrc.ec.europa.eu/ghs_fua.php)
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"cloudformation:Describe*", | |
"cloudformation:List*", | |
"cloudformation:Get*", | |
"cloudformation:CreateStack", |
// bbox covers saurimo
[out:csv(::timestamp,::user,::type)][timeout:25][bbox:-9.938605,19.873032,-9.428253,20.916046];
// gather results
(
// query part for: “building”
way["building"];
relation["building"];
);
// print results