Documentation for visualizing environmental risks in New York City. The visualization is presented using Mapbox-Gl through Node.Js framework.
Read here for more details
- Open Map Tiles: 3D buildings
- MapPluto Dataset : City Lots
- Surface Temperature: LandSat Thermal Bands
- Coast Flood Zone: FEMA NYC Flood Inundation Zones
- Elderly Population Density
- Ethnic Group Distrubution
The risk modelling was carried out on lot level. The attributes of lots were then spatially merged with building features within respective lot. The buildings were used as a canvas to visualize the data.
You can find the Open Map Tiles data here. Search for New York or use this direct link: OpenMapTiles.org. To convert .mbtiles to .geojson, use Tippecanoe-decode. Geojson can then further be converted to .shp files using ogr2ogr
The Open Map Tiles dataset essentially contains building and building part heights, along with common city infrastructure features. Height attributes are useful to reconstruct extruded geometries of the buildings. The dataset is also made available by Overpass API
To use Overpass API instead of Open Map Tiles, follow the steps below:
- Follow the steps here UrbanEcologyLab/overpass-api-tiles to download a OSM tiles and create a geoJSON from them, for a specified bounding box
- To convert the .geoJSON to .mbtiles, use tippecanoe
To visualize the dataset in Mapbox-Gl refer to 3D-city-buildings-newYork
The open dataset is provided by NYC Department of City Planning.
It contains building lots and the risk assessment modelling was performed at lot level. The attributes to be visualized were added to MapPluto Dataset as additional columns. The final lots data served as a base layer from which the properties were ported building features inside each respective lot. This was done through turfjs-spatial-merge. Alternatively, use spatial-join-mongodb for easier usage and faster performance.