Interactive map of Berlin sidewalk widths: https://gehwege.citylab-berlin.org/info
The Open Data of sidewalk positions comes from FIS-Broker, the Geodata portal of Berlin: https://fbinter.stadt-berlin.de/fb/index.jsp?loginkey=zoomStart&mapId=k_StraDa@senstadt&bbox=385419,5816845,385649,5816975. This is a data set of sidewalk polygons, collected by the Senatsverwaltung für Umwelt, Verkehr und Klimaschutz.
The calculation of widths from this polygons is based on the method of https://github.com/meliharvey/sidewalkwidths-nyc which was used for a visualization of sidewalk widths in New York City: https://www.sidewalkwidths.nyc/#13/40.69449/-74.00275. Please visit their repository to learn more about the calculation.
This visualization is based on the boilerplate template of Technologiestiftung Berlin. The data set of sidewalk widths is loaded from Mapbox Vector tiles. Nevertheless we also uploaded the dataset to this repository. You can find it here: public/data/all.geojson.
Add a .env
file with your mapbox token and style credentials in the root directory. Register at mapbox to get an access token.
REACT_APP_MAP_TOKEN={{MAPBOX_TOKEN}}
REACT_APP_MAP_STYLE={{MAPBOX_STYLE_URL}}
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.