zoning-analysis-nyc

Solid

Analyze zoning envelope rules for lots in New York City using PLUTO data and the NYC Zoning Resolution

Data & Documents 197 stars 41 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
76
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /zoning-analysis-nyc — Zoning Envelope Analysis (New York City) Analyze building envelope rules for any lot in New York City using the PLUTO database (NYC Open Data) and the NYC Zoning Resolution. ## Workflow ### Step 1: Parse Input Accept one of the following identifiers: - **Address + Borough/Zip** — e.g., "123 Main St, Brooklyn 11201" - **BBL** — 10-digit Borough-Block-Lot (e.g., 3012340056 = Brooklyn, Block 1234, Lot 56) - **BIN** — Building Identification Number Normalize to BBL format: `[borough 1 digit][block 5 digits][lot 4 digits]` Borough codes: | Code | Borough | |------|---------| | 1 | Manhattan | | 2 | Bronx | | 3 | Brooklyn | | 4 | Queens | | 5 | Staten Island | ### Step 2: Query PLUTO (tabular + polygon) Fetch lot data from **two** NYC APIs in parallel: #### 2a. Tabular data (Socrata PLUTO) **Endpoint:** `https://data.cityofnewyork.us/resource/64uk-42ks.json` **Query by BBL:** ``` https://data.cityofnewyork.us/resource/64uk-42ks.json?bbl=XXXXXXXXXX ``` **Query by address (fallback):** ``` https://data.cityofnewyork.us/resource/64uk-42ks.json?$where=address='123 MAIN STREET' AND zipcode='10001' ``` No authentication required for basic queries. Read `zoning-rules/pluto-fields.md` for the full field reference. **Extract these key fields:** - `bbl` — Borough-Block-Lot - `address`, `zipcode` — street address - `zonedist1` through `zonedist4` — zoning district(s) - `overlay1`, `overlay2` — commercial overlay districts - `spdist1`, `spdist2`, `spdist...

Details

Author
AlpacaLabsLLC
Repository
AlpacaLabsLLC/skills-for-architects
Created
3 months ago
Last Updated
yesterday
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category