Skip to content

About

Created with StackBlitz ⚡️

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Multiplex Coop Map

Technology Stack

  • React
  • TypeScript
  • DuckDB
  • Hugging Face

Data Sources & Data Inventory

  • Toronto OpenData Portal

  • OpenStreetMap - City Boundaries

    Methodology

    Assumptions

    CRS PROJ 4326 Parking Zone Overlay - 4326

  • Enrich parcels with ZN_PARKZONE Zoning Building Setback Overlay - 4326

  • Enrich parcels with BYLAW_SECTIONLINK Zoning Height Overlay - 4326

  • Enrich and query on field HT_STORIES, HT_LABEL Zoning Lot Coverage Overlay - 4326

    • Enrich and query on field PRCNT_CVER Zoning Policy Area Overlay - 4326
    • Enrich parcels with POLICY_ID, CHAPT_200 Zoning_Area_4326
    • Query on fields

ZN_HOLDING = N GEN_ZONE residential only Ignore FSI_TOTAL ZN_AREA = NUM_OF_UNITS * DWELLING_UNIT_AREA

Processing data for client

STEP 1: Filter PropertyBoundaries for FEATURE_TYPE = COMMON write to disk/HF as parquet

STEP 2: Process overlay data filtering and selecting key columns write to disk/HF as parquet

STEP 3: Perform spatial join LEFT on PropertyBoundaries, handle CRS for overlay layers, filter out resultant table (e.g. remove NULL rows) and export as CSV

STEP 4: Read CSV file in turf convert to lightweight geometry or GeoJSON and read into React-Leaflet

User input form

Derived fields, alternative input fields for users:

  • SITE PARKING
  • NUMBER OF UNITS
  • BUILDING FOOTPRINT AREA

Convert to GeoJSON reduce polygon count mapbox LOD for optomizing geometry slippy tiles map tiles divide glob einto square if BVH (bounded hiearchy a cube divide into 8) viewport culling frusum cilling chnge keep in memory whst you see on screen

preprocessing step geojson makes it invalid, Mapbox

leaflet optimize that shit optimization api from mapbox primitives decimation in context of geometry pixar catmal klark sub division ahow do games do so much grass dedicated filter

About

Created with StackBlitz ⚡️

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages