NYCPlanning / NYCPlanning/data-engineering

Zoning Map Amendments geometries

Open
#2,076 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
43
Forks
3
Avg merge
23h 3m
Merged PRs (30d)
44

Description

the CEQR data product build fails because it expects all records in dcp_zoningmapamendments to be multipolygons. but one record is a Geometry Collection

for now, pinned the version in CEQR data hub to 20250430

the lates version of dcp_zoningmapamendments is 20251031. we get it from edm-publishing/datasets/ and we have the latest version archived

the Inwood Rezoning record has a geometry type of ST_GeometryCollection. every other record is ST_MultiPolygon

the Geometry Collection has two geometries in it and they somehow seem identical on a map: Polygon and LineString. I wouldn't have guess that a LineString could render as a polygon

in the Feature Layer(bytes, feature page, geojson page), the record seems to just have the Polygon geometry

Originally posted by @damonmcc in #2069

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the CEQR data product build and comparing the archived 20251031 dcp_zoningmapamendments record for Inwood Rezoning with the 20250430 version and the linked feature and GeoJSON pages. Done means the build accepts the current dataset without pinning to 20250430 and the record has the intended geometry type.

Written by the indexing model from the issue text.

Assessment

Domain
data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.