This web map visualizes the results of a preliminary mapping of 1823 trees within the neighborhood of Battery Park City, including trees inside parks in addition to those that line sidewalks ("street trees"). Point data consists of the locations of trees as well as their species name. Species names were determined with assistance from staff of the Battery Park City Authority Horticulture department. The location attributes of trees were translated into a GIS-compatible format using a combination of field surveying and "heads-up" digitizing using QGIS.
Further data management and cleaning was done in Python (pandas and geopandas). This web map primarily uses Leaflet for mapping functionality and interactivity, including the Marker Clusters plug-in and Mustache for popups. The base map was customized using Mapbox. Scrolling over a point (tree) highlights all trees of the same species. Pressing the "see park areas" button loads polygons that correspond to the rough maintenance boundaries of BPCA's park areas. Counts of trees within these park areas are achieved using Turf.js.
The base map uses line data extracted from a survey commissioned by BPCA as well as building footprints from the City of New York (available here).