# Trace parcel boundary history through a split or merger

> Look up an old parcel number, identify successor lots, and compare the boundaries recorded before and after a tax map change.

Source: https://docs.invariant-ai.com/trace-parcel-boundary-history

To find a parcel boundary as of a past date, start with the mapping authority’s archived map that applied on that date. Keep its effective dates and edition with the geometry. Use a recorded lot action or survey to connect the parcel to any predecessor or successor. The same parcel number can describe different boundaries before and after a split.

## Compare a split and a merger in Brooklyn

The [NYC Property Information Portal](https://www.nyc.gov/site/finance/property/property-digital-tax-map.page) publishes tax map editions and lot changes. We reproduced the lot actions and map dates on November 24, 2026. The [published research dataset](https://invariant-ai.com/blog/historical-parcel-boundaries-api#dataset) contains the original source queries, map links and seven reference polygons.

| Recorded change | Before | After |
| --- | --- | --- |
| Split `738545`, November 20, 2026 | Brooklyn lot `3039470001` measured 45,289.67 square feet in the earlier layer. | The same number remains at 24,120.57 square feet, about 53% of the earlier mapped area. New lot `3039470105` covers the other portion. |
| Merger `739346`, November 20, 2026 | Lots `3033730001`, `3033730002` and `3033730057` were separate. | The city record lists lots 1 and 2 as dropped and lot 57 as affected. All three earlier geometries link to the successor `3033730057`. |

The area comparison uses projected source geometries in US survey square feet. The source layers were MapPLUTO 26v2 for the earlier snapshots and the NYC Tax Lot Polygon layer for the later snapshots. Confirm the archived map and any additional intervening alterations for the exact date needed. [Download the six rechecked city records](https://docs.invariant-ai.com/examples/brooklyn-parcel-change-records.json).

## Look up the historical versions and their relationships

Save the [GeoJSON reference dataset](https://invariant-ai.com/blog/historical-parcel-boundaries-api.geojson) as `parcel-history.geojson`. Save the code below as `trace-lot.py`. It returns all the predecessor and successor records for any event that touches the requested borough-block-lot (BBL). Run it for the surviving lot or a retired lot and compare the output.

```bash
python3 trace-lot.py parcel-history.geojson 3039470001
python3 trace-lot.py parcel-history.geojson 3033730001
```

```python
import argparse
import json
from pathlib import Path

parser = argparse.ArgumentParser()
parser.add_argument("reference", type=Path)
parser.add_argument("bbl", help="NYC borough-block-lot, written as ten digits")
args = parser.parse_args()
if len(args.bbl) != 10 or not args.bbl.isascii() or not args.bbl.isdecimal():
    parser.error("BBL must contain ten digits")

fixture = json.loads(args.reference.read_text(encoding="utf-8"))
versions = {
    feature["properties"]["record_id"]: feature["properties"]
    for feature in fixture["features"]
}
changes = []
for event in fixture["events"]:
    edges = event["edges"]
    if not any(args.bbl in (edge["predecessor_bbl"], edge["successor_bbl"]) for edge in edges):
        continue
    change = {key: event[key] for key in ("event_id", "type", "map_change_date")}
    for side, key in (("before", "predecessor_record_id"), ("after", "successor_record_id")):
        change[side] = [versions[record_id] for record_id in sorted({edge[key] for edge in edges})]
    change["relationships"] = edges
    changes.append(change)

print(json.dumps({
    "requested_bbl": args.bbl,
    "source_observed_on": fixture["observed_date"],
    "status": "found" if changes else "not_covered_by_sample",
    "changes": changes,
}, indent=2))
```

Use `record_id` to select the matching feature geometry in the GeoJSON. The example returns discrete events present in the source sample. For other lots or dates, check the local archive. A missing match in this sample leaves history unknown.

## Record today’s parcel for future comparisons

Verify the [parcel lookup](https://docs.invariant-ai.com/lookup-parcel-by-address) first. Set `INVARIANT_API_KEY` to your [API key](https://docs.invariant-ai.com/get-api-key) and use the same coordinate and field set for repeat observations. The example point is inside the later city geometry for Brooklyn lot `3039470001`.

```bash
curl --fail-with-body --max-time 75 -sS 'https://api.invariant-ai.com/v1/fetch' \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
    "lat": 40.6770751,
    "lng": -73.8907727,
    "fields": ["parcel_apn", "parcel_match_type", "parcel_boundary_geojson"]
  }'
```

Read [`parcel_apn`](https://docs.invariant-ai.com/fields/parcel_apn) as text, check [`parcel_match_type`](https://docs.invariant-ai.com/fields/parcel_match_type) for containment, and save the raw [`parcel_boundary_geojson`](https://docs.invariant-ai.com/fields/parcel_boundary_geojson) field. Its value is a GeoJSON geometry encoded as a string. Compare the returned parcel and source edition with the authority’s current map before adding it to your history. The point endpoint accepts coordinates and fields. Use the source archive for dates before your stored observations.

For each stored version, keep the source parcel ID, jurisdiction, geometry, match type, source URL, dataset vintage and source retrieval time. Record when your system observed the response separately. A cached field retains its original retrieval time. Give a new version its own identifier and keep the mapping event, effective date and predecessor/successor links alongside it. See [response provenance](https://docs.invariant-ai.com/responses).

Compare boundaries in a suitable common coordinate reference system. If the data show a change in geometry and there is no dated alteration to explain it, record the difference and check for a map correction or a source-edition change. Use the official dated boundary before applying [a flood-zone overlay](https://docs.invariant-ai.com/check-flood-zone-by-address) or assigning a record to a prior parcel.
