@urbankitstudio/atlas 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -0
- package/README.md +53 -2
- package/data/delaware.json +60 -1
- package/data/index.json +6 -6
- package/dist/index.cjs +70 -7
- package/dist/index.d.cts +93 -4
- package/dist/index.d.ts +93 -4
- package/dist/index.js +70 -8
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
1
|
# @urbankitstudio/atlas Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.1 (2026-11-11)
|
|
4
|
+
|
|
5
|
+
One county is added, and it is the first whose owners come from a joined table. `totals` move from 538 counties,
|
|
6
|
+
521 endpoints and 493 counties with an endpoint to 539, 522 and 494.
|
|
7
|
+
|
|
8
|
+
**Patch.** Data only: no type, function or existing record changed.
|
|
9
|
+
|
|
10
|
+
- **Sussex County, Delaware** (`de-sussex`, FIPS 10005) is the first record that carries `ownerJoin` (declared
|
|
11
|
+
in 0.9.0). Its parcel layer, `Parcels_PIN/MapServer/0`, has the polygons and the parcel id in `Name`, and no
|
|
12
|
+
owner. The owner rows are in table 1 of the same service, `OwnershipInformation`, keyed by `PIN`: a parcel's
|
|
13
|
+
owners are the table rows whose `PIN` equals the parcel's `Name`.
|
|
14
|
+
- The endpoint's `searchFields` lists `Name` alone. The table's eight columns are in `ownerJoin.fields`, so
|
|
15
|
+
code that ignores `ownerJoin` sees a layer with a parcel id and no owner, which is true of the layer.
|
|
16
|
+
- The owner name is `FULLNAME`, and `Second_Owner_Name` holds a second owner. The owner's mailing address is
|
|
17
|
+
split over four columns: `MAILINGADDRESS` is the street line, and the city, state and ZIP are `CITY`,
|
|
18
|
+
`STATE` and `ZIPCODE`. Read each column's `label`.
|
|
19
|
+
- `multiple` is `"rows"` and `maxRowsPerKey` is 1000. About a fifth of the table's rows carry an assessment
|
|
20
|
+
unit, so one parcel can hold several ownership rows, and one PIN holds more rows than the table returns to
|
|
21
|
+
one query. `rowIdField` is `PINWASSEMENTUNIT`, which is not unique.
|
|
22
|
+
- Some parcels have no row in the table. Treat them as parcels with no owner on record, not as an error.
|
|
23
|
+
- The layer publishes no site address, so the record answers a search by PIN and a lookup by location.
|
|
24
|
+
- The service states no licence, so `license` is `unknown`. Its copyright text, `Sussex County Government`, is
|
|
25
|
+
the record's `credit`.
|
|
26
|
+
- **What the hosted API returns for this county.** A paid radius list carries the owner name and the mailing
|
|
27
|
+
street line. The city, state and ZIP stay in the county table's columns and are not joined onto that line. The
|
|
28
|
+
hosted answers read the joined table too: they send no capability block for Sussex's owner name or owner
|
|
29
|
+
mailing address, which is how they mark a field plainly available, and an enrichment row says
|
|
30
|
+
`owner_data_available: true`. A single-address lookup or a bulk row still returns `source-incomplete` for
|
|
31
|
+
Sussex, because the layer has no site address to match.
|
|
32
|
+
- **No function in this package reads `ownerJoin.fields`.** `reviewedCapability` returns reviewed records only,
|
|
33
|
+
as before, and `buildParcelLookupDeepLink` reads the layer's own `searchFields`. Read the owner columns from
|
|
34
|
+
`endpoint.ownerJoin.fields`.
|
|
35
|
+
- The registry's validator gains one rule for a record with an `ownerJoin`: an owner's notice must be matchable
|
|
36
|
+
on it. The layer's `parcelKey` column has to read as a parcel id, and the table's `key` column must not read
|
|
37
|
+
as an address or a name.
|
|
38
|
+
|
|
39
|
+
## 0.9.0 (2026-11-10)
|
|
40
|
+
|
|
41
|
+
Two record shapes are declared for counties whose owner data does not sit on the parcel layer itself. **No record
|
|
42
|
+
uses either yet**, so the data is the 0.8.1 data and `totals` stay at 538 counties, 521 endpoints and 493 counties
|
|
43
|
+
with an endpoint.
|
|
44
|
+
|
|
45
|
+
**Minor.** Two exported types gain optional keys and one function is added. Nothing is removed or renamed, and
|
|
46
|
+
code written against 0.8.x reads every record exactly as before.
|
|
47
|
+
|
|
48
|
+
- **`ownerJoin`** (type `OwnerJoin`, optional on an endpoint): the owner rows live in a separate TABLE of the same
|
|
49
|
+
service, joined to the parcel polygons by a key. The polygons carry `parcelKey`, the table at `url` carries
|
|
50
|
+
`key`, and a parcel's owners are the table rows whose `key` equals its `parcelKey` value. The table has no
|
|
51
|
+
geometry: query it by key only (`<key> IN (...)`), never spatially, and check that each returned row's key is one
|
|
52
|
+
you asked for.
|
|
53
|
+
- The table's columns are listed in `ownerJoin.fields` only, never in the endpoint's `searchFields`. A reader
|
|
54
|
+
that ignores `ownerJoin` therefore sees a layer with a parcel id and no owner, and cannot ask the parcel layer
|
|
55
|
+
for a column it does not have.
|
|
56
|
+
- `orderField` (required) is a unique, stable column of the table: send it as `orderByFields` whenever you send
|
|
57
|
+
`resultOffset`, or a paged read can repeat a row or skip one.
|
|
58
|
+
- `multiple: "rows"` says a key with several rows stands for several ownership records, and it always comes with
|
|
59
|
+
`maxRowsPerKey`, an integer from 1 to the table's `maxRecordCount`: a key with more rows than that has no owner
|
|
60
|
+
you can state (one key can hold more rows than a query returns). Without `multiple`, treat any key with
|
|
61
|
+
several rows that way.
|
|
62
|
+
- `rowIdField` (optional) labels the rows of one key, an assessment unit for example. It is not unique, so
|
|
63
|
+
de-duplicate the rows of one key by the owner and mailing content you read, never by this column.
|
|
64
|
+
- **`wireName`** (optional on a `SearchField`): the column's fully qualified name on a layer that answers with
|
|
65
|
+
`table.column` names, while `name` stays the bare last segment. The registry's validator refuses `wireName` on
|
|
66
|
+
every record until a later release, so **`name` is still the literal query column for every record today**.
|
|
67
|
+
- **`queryFieldName(field)`** returns `field.wireName ?? field.name`: the column to send in a `where` clause or
|
|
68
|
+
`outFields`, and the key to read back off a row. It returns `name` for every field today. Build queries through
|
|
69
|
+
it and nothing needs to change when a record carries a `wireName`. Keep reading `name` and `label` to decide
|
|
70
|
+
what a column is.
|
|
71
|
+
- The registry's validator now holds a record with an `ownerJoin` to these rules, among others:
|
|
72
|
+
- the two field lists share no name, and `ownerJoin.fields` names no column twice, letter case ignored;
|
|
73
|
+
- the parcel layer's own `searchFields` read as carrying no owner and no mailing column;
|
|
74
|
+
- the table is another layer of the endpoint's own service: the same host and the same service path, with
|
|
75
|
+
`MapServer` and `FeatureServer` read as one service. A table in another service on the same host is refused;
|
|
76
|
+
- no endpoint `url` names a layer that an `ownerJoin.url` names. Two URLs name one layer when they have the same
|
|
77
|
+
service and the same layer number, so the `/FeatureServer/1` spelling of a `/MapServer/1` table counts as that
|
|
78
|
+
table, and letter case, the scheme and a trailing slash do not make a second layer;
|
|
79
|
+
- an endpoint that carries `sharedService: true` carries no `ownerJoin`.
|
|
80
|
+
- A layer URL has one spelling, on `url` and on `ownerJoin.url` alike: the validator refuses a layer id with a
|
|
81
|
+
leading zero (`/MapServer/01`), a `%` escape in the path and a host that ends in a dot. No existing record used
|
|
82
|
+
one, so no `url` changed.
|
|
83
|
+
|
|
3
84
|
## 0.8.1 (2026-11-10)
|
|
4
85
|
|
|
5
86
|
Wording in `notes`, and one new record with no endpoint. `totals.counties` moves from 537 to 538. Endpoints and
|
package/README.md
CHANGED
|
@@ -95,6 +95,7 @@ For single-address owner lookups in the browser, the free [Owner Lookup](https:/
|
|
|
95
95
|
| `offersAttributeSearch(endpoint)` | `false` when the layer refuses a `where` clause (`attributeSearch: "unsupported"`); query it by geometry instead |
|
|
96
96
|
| `countyOffersAttributeSearch(county)` | `true` when any of the county's layers takes a `where` clause |
|
|
97
97
|
| `offersPagination(endpoint)` | `false` when the layer refuses `resultRecordCount` and `resultOffset` (`supportsPagination: false`); send one request without them, see below |
|
|
98
|
+
| `queryFieldName(field)` | the column to send for a field, in a `where` clause or `outFields`: its `wireName` when it has one, else its `name` (every record today), see below |
|
|
98
99
|
| `slugify(s)`, `countySlugFromName(s)` | string helpers matching the atlas slug convention |
|
|
99
100
|
| `statePath(slug)`, `countyPath(state, county)` | URL paths under `/parcel-atlas` |
|
|
100
101
|
| `listCities(filter?)` | `CitySummary[]` — every covered city, narrowed by `state`, `kind` (`violations`, `permits`, `zoning`) or `countySlug` |
|
|
@@ -343,6 +344,55 @@ flagged.
|
|
|
343
344
|
An absent `confidentialFlag` means the layer publishes no such column, not that no
|
|
344
345
|
owner there is protected.
|
|
345
346
|
|
|
347
|
+
## Some counties keep owners in a separate table
|
|
348
|
+
|
|
349
|
+
Declared in 0.9.0 and carried by one record from 0.9.1: **Sussex County,
|
|
350
|
+
Delaware** (`de-sussex`, FIPS 10005). Every other record reads exactly as it did
|
|
351
|
+
in 0.8.x.
|
|
352
|
+
|
|
353
|
+
An endpoint may carry `ownerJoin` (type `OwnerJoin`). Its parcel layer has the
|
|
354
|
+
polygons and a parcel id but no owner; the owner rows are in a table of the same
|
|
355
|
+
service, at `ownerJoin.url`. A parcel's owners are the table rows whose
|
|
356
|
+
`ownerJoin.key` column equals the parcel's `ownerJoin.parcelKey` value.
|
|
357
|
+
|
|
358
|
+
- The table has no geometry. Query it by key only
|
|
359
|
+
(`<key> IN ('<value>', ...)`, each `'` doubled), never spatially: an ArcGIS
|
|
360
|
+
table ignores a geometry parameter and answers with arbitrary rows. Check that
|
|
361
|
+
each returned row's key is one you asked for.
|
|
362
|
+
- The table's columns are in `ownerJoin.fields` only, never in the endpoint's
|
|
363
|
+
`searchFields`. If you ignore `ownerJoin`, you see a layer with no owner
|
|
364
|
+
column, which is true of the parcel layer.
|
|
365
|
+
- `orderField` is a unique, stable column of the table. Send it as
|
|
366
|
+
`orderByFields` whenever you send `resultOffset`.
|
|
367
|
+
- `multiple: "rows"` means a key with several rows stands for several ownership
|
|
368
|
+
records, up to `maxRowsPerKey` distinct rows (always present with it, at most
|
|
369
|
+
the table's `maxRecordCount`), counted after de-duplication. A key with more
|
|
370
|
+
distinct rows than that, or any key with several distinct rows when
|
|
371
|
+
`multiple` is absent, has no owner you can state.
|
|
372
|
+
- `rowIdField`, when present, labels the rows of one key. It is not unique:
|
|
373
|
+
de-duplicate the rows of one key by the owner and mailing content you read,
|
|
374
|
+
and drop a row whose values another row of the key already carries.
|
|
375
|
+
- Read each table column's `label` before you use it. Sussex splits the owner's
|
|
376
|
+
mailing address over four columns: `MAILINGADDRESS` is the street line, and
|
|
377
|
+
the city, state and ZIP are `CITY`, `STATE` and `ZIPCODE`.
|
|
378
|
+
- No function in this package reads `ownerJoin.fields` for you
|
|
379
|
+
(`reviewedCapability` returns reviewed records only, and
|
|
380
|
+
`buildParcelLookupDeepLink` reads the layer's `searchFields`). On a joined
|
|
381
|
+
record, read the owner columns from `endpoint.ownerJoin.fields` yourself.
|
|
382
|
+
|
|
383
|
+
A `SearchField` may carry `wireName`: the column's fully qualified name on a
|
|
384
|
+
layer that answers with `table.column` names, while `name` stays the bare last
|
|
385
|
+
segment. The registry's validator refuses it on every record until a later
|
|
386
|
+
release, so `name` is the literal query column for every record today.
|
|
387
|
+
`queryFieldName(field)` returns the name to send either way:
|
|
388
|
+
|
|
389
|
+
```ts
|
|
390
|
+
import { findCountyByFips, queryFieldName } from "@urbankitstudio/atlas";
|
|
391
|
+
|
|
392
|
+
const endpoint = findCountyByFips("17089")!.endpoints[0];
|
|
393
|
+
const outFields = endpoint.searchFields.map(queryFieldName).join(",");
|
|
394
|
+
```
|
|
395
|
+
|
|
346
396
|
## `addedAt` is the one date that never moves
|
|
347
397
|
|
|
348
398
|
A county may carry `addedAt` (YYYY-MM-DD): the date it entered the atlas. It is
|
|
@@ -354,9 +404,9 @@ read `addedAt` and fall back to the oldest `lastVerified` only when it is absent
|
|
|
354
404
|
|
|
355
405
|
## Coverage today
|
|
356
406
|
|
|
357
|
-
The atlas bundles **
|
|
407
|
+
The atlas bundles **539 counties across all 50 US states and DC** (522 verified endpoints), covering the largest counties in each state, every county in Mississippi and all 100 of North Carolina's. Call `listStates()` to enumerate the full set.
|
|
358
408
|
|
|
359
|
-
Every state has at least one county on record, and
|
|
409
|
+
Every state has at least one county on record, and 494 of the 539 carry a verified endpoint. The other 45 have `hasPublicRest: false` and an empty `endpoints` array, with a `coverage` block that gives the reason code and one sentence to show as is, `notes` with the detail, and a `contact` for the county office (its `department`, `url` and, where the county publishes one, `email`). The reasons vary. A county sells its owner data, runs no public query service, puts one behind a login or under terms that bar us from serving it, publishes a layer without owner names or with them blank, or runs a service that is down, stale or technically unusable. They ship rather than being omitted, so `findCounty()` still resolves them, and `coverageAnswer()` turns any of them into the answer the hosted MCP server and the REST API give. **Check `hasPublicRest`** rather than assuming every county has an endpoint; `totals.countiesWithEndpoint` gives the queryable count directly.
|
|
360
410
|
|
|
361
411
|
The city registries cover 30 cities with code-violation or building-permit datasets, 19 with zoning-case datasets. Call `listCities()` for the current set.
|
|
362
412
|
|
|
@@ -389,6 +439,7 @@ The parcel layers the atlas points to belong to their publishers. These publishe
|
|
|
389
439
|
| `ok-creek` (0.8.0) | INCOG's Parcels_CreekCo [item](https://map11.incog.org/arcgis11wa/rest/services/Parcels_CreekCo/MapServer/0/iteminfo) credits the Creek County Assessor and carries INCOG's use-of-this-information disclaimer | Creek County Assessor; published by INCOG. USE OF THIS INFORMATION: This dataset has been created for illustrative purposes only. Although every effort has been made to produce the most current, correct and clearly expressed data possible, all geographic information has limitations due to scale, resolution, date and interpretation of the original source materials. This dataset is based on data collected from various sources that can change over time and without notice. Therefore, the dataset provided is not intended to replace any official source. You should not act or refrain from acting based upon this feature class without independently verifying the information and, if necessary, obtaining professional advice. The burden of determining the accuracy, completeness, timeliness of information rest solely on the user. Copyright © 2016 INCOG |
|
|
390
440
|
| `mo-jasper` (0.8.0) | The City of Joplin's JascoParcels52626 [item](https://www.arcgis.com/home/item.html?id=5d47528e4f1c42dc806a55e28b7e1c19) licence text: informational and general mapping use, no warranty, verify with Jasper County | Jasper County, Missouri parcel data, published by the City of Joplin GIS. This dataset is provided for informational and general mapping purposes only. It is not intended for use as a legal survey, title record, deed description, or authoritative determination of property boundaries or ownership. The City of Joplin makes no warranty regarding the accuracy, completeness, currency, or fitness of the data for a particular purpose. Users assume responsibility for independently verifying information with Jasper County or another appropriate authoritative source. The City of Joplin and Jasper County are not responsible for decisions, damages, or losses resulting from use of this dataset. |
|
|
391
441
|
| `mi-muskegon` (0.8.0) | The county's [GIS Data Download / Use Agreement](https://gis.muskegoncountygis.com/open_data/documents/MCGIS_Data_Download_Use_Agreement_v2026.pdf) (v2026), clause 8: this notice on every derivative work. Clause 5 also requires its disclaimer in the use agreement of any application of the Data, and the license is revocable (clause 9: the county may charge in future); see the record's `notes` | Reproduced with permission granted Muskegon County, Michigan. Some information has been provided subject to a non-exclusive, limited, and revocable license granted by Muskegon County, Michigan. |
|
|
442
|
+
| `de-sussex` (0.9.1) | The Parcels_PIN service's copyright text names the county; the service states no licence, so `license` is `unknown` | Sussex County Government |
|
|
392
443
|
| `md-montgomery` | Reuse allowed, attribution requested | Montgomery County Planning Department (M-NCPPC) |
|
|
393
444
|
| `md-prince-georges` | Reuse allowed, attribution requested | Prince George's County Planning Department (M-NCPPC) |
|
|
394
445
|
| `nc-wake` | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) | Wake County (Wake County GIS, Wake County Revenue) |
|
package/data/delaware.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"stateSlug": "delaware",
|
|
3
3
|
"stateName": "Delaware",
|
|
4
4
|
"stateAbbrev": "DE",
|
|
5
|
-
"lastUpdated": "2026-
|
|
5
|
+
"lastUpdated": "2026-11-11",
|
|
6
6
|
"counties": [
|
|
7
7
|
{
|
|
8
8
|
"id": "de-new-castle",
|
|
@@ -41,6 +41,65 @@
|
|
|
41
41
|
"email": null
|
|
42
42
|
},
|
|
43
43
|
"notes": "New Castle County DE (Wilmington/Newark metro; county seat Wilmington; FIPS 10003; most populous of Delaware's 3 counties, pop. ~570,000) publishes a public ArcGIS MapServer parcel layer hosted by NCCDE GIS (Foundation/Base_Layers/MapServer/0, 'Parcels', ~203,753 features, no token required). Key fields: PRCLID (parcel ID / APN), CNTCTLAST (owner last name / contact, the searchable owner field), OWNADDR (owner mailing address), ADDRESS (property situs address). Owner-name search via UPPER(CNTCTLAST) LIKE UPPER('%NAME%') works. Verified 2026-06-20: UPPER(CNTCTLAST) LIKE UPPER('%SMITH%') returns Wilmington-area parcels. Delaware has only 3 counties (New Castle, Kent, Sussex); Kent and Sussex are served separately. Do not confuse with New Castle in Pennsylvania (Lawrence County, PA)."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "de-sussex",
|
|
47
|
+
"state": "DE",
|
|
48
|
+
"stateName": "Delaware",
|
|
49
|
+
"stateSlug": "delaware",
|
|
50
|
+
"county": "Sussex",
|
|
51
|
+
"countySlug": "sussex-county",
|
|
52
|
+
"countyFips": "10005",
|
|
53
|
+
"hasPublicRest": true,
|
|
54
|
+
"endpoints": [
|
|
55
|
+
{
|
|
56
|
+
"url": "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/0",
|
|
57
|
+
"serviceType": "MapServer",
|
|
58
|
+
"layerIndex": 0,
|
|
59
|
+
"layerName": "Tax Parcels",
|
|
60
|
+
"supportsQuery": true,
|
|
61
|
+
"corsEnabled": true,
|
|
62
|
+
"searchFields": [
|
|
63
|
+
{ "name": "Name", "label": "Parcel ID (PIN)", "searchable": true }
|
|
64
|
+
],
|
|
65
|
+
"ownerJoin": {
|
|
66
|
+
"url": "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/1",
|
|
67
|
+
"layerName": "OwnershipInformation",
|
|
68
|
+
"key": "PIN",
|
|
69
|
+
"parcelKey": "Name",
|
|
70
|
+
"fields": [
|
|
71
|
+
{ "name": "PIN", "label": "Parcel ID (PIN)", "searchable": true },
|
|
72
|
+
{ "name": "PINWASSEMENTUNIT", "label": "PIN with Assessment Unit", "searchable": false },
|
|
73
|
+
{ "name": "FULLNAME", "label": "Owner Name", "searchable": true },
|
|
74
|
+
{ "name": "Second_Owner_Name", "label": "Second Owner Name", "searchable": false },
|
|
75
|
+
{ "name": "MAILINGADDRESS", "label": "Owner Mailing Address", "searchable": false },
|
|
76
|
+
{ "name": "CITY", "label": "Owner Mailing City", "searchable": false },
|
|
77
|
+
{ "name": "STATE", "label": "Owner Mailing State", "searchable": false },
|
|
78
|
+
{ "name": "ZIPCODE", "label": "Owner Mailing ZIP", "searchable": false }
|
|
79
|
+
],
|
|
80
|
+
"rowIdField": "PINWASSEMENTUNIT",
|
|
81
|
+
"multiple": "rows",
|
|
82
|
+
"maxRowsPerKey": 1000,
|
|
83
|
+
"orderField": "OBJECTID_1",
|
|
84
|
+
"maxRecordCount": 1000,
|
|
85
|
+
"lastVerified": "2026-11-11"
|
|
86
|
+
},
|
|
87
|
+
"sampleQuery": "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/0/query?where=Name%3D%27133-11.00-8.00%27&outFields=Name&returnGeometry=false&f=json",
|
|
88
|
+
"license": "unknown",
|
|
89
|
+
"licenseUrl": null,
|
|
90
|
+
"status": "live",
|
|
91
|
+
"lastVerified": "2026-11-11",
|
|
92
|
+
"verifiedBy": "manual"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"contact": {
|
|
96
|
+
"department": "Sussex County Government, Geographic Information Office (the name of the parcel service's folder)",
|
|
97
|
+
"url": "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer",
|
|
98
|
+
"email": null
|
|
99
|
+
},
|
|
100
|
+
"notes": "Sussex County, Delaware (Georgetown; FIPS 10005). The county's own ArcGIS Server at map.sussexcountyde.gov publishes Geographic_Information_Office/Parcels_PIN, a MapServer it describes as 'Sussex County Delaware Tax Parcel Map with Related Ownership Information Table'. THE OWNERS ARE NOT ON THE PARCEL LAYER. Layer 0, 'Tax Parcels', holds the polygons (165,012 on 2026-11-11) and is documented here by one column: Name, which is the parcel's PIN (133-11.00-8.00: digits, dashes and dots, not zero-padded). It carries no owner and no site address. The owner rows are in table 1 of the same service, 'OwnershipInformation' (208,124 rows), keyed by PIN; the service itself relates the layer's Name to the table's PIN, one parcel to many rows, and this record names that table as the layer's owner join. The table has no geometry, so it is asked by key only (PIN IN a list of parcel PINs), never by location, and every row it returns must echo a key that was asked. On the table, FULLNAME is the owner (null or empty on none of its rows) and Second_Owner_Name a second owner; MAILINGADDRESS is the street line of the owner's mailing address (null or empty on 274 rows), and the city, state and ZIP are the separate columns CITY, STATE and ZIPCODE. A paid radius list carries the owner name and the mailing street line; the city, state and ZIP stay in the county table's columns and are not joined onto that line. SEVERAL ROWS PER PARCEL: 43,273 table rows (20.8%) carry an assessment unit, where PINWASSEMENTUNIT is the PIN, a dash and the unit; that column labels the rows of one PIN but is not unique, so a parcel's rows are told apart by the owner and mailing line they carry. One PIN holds 1,093 rows, more than the table returns to one query. Some parcels have no table row at all (51 neighbouring lots of map block 233-11.00 on 2026-11-10); they are served without an owner. NO SITE ADDRESS is published on the layer or the table, so an address lookup cannot be answered from this record: a search by PIN and a point or radius lookup are what it offers. Verified 2026-11-11: Name = '133-11.00-8.00' returned one parcel, the sample query's predicate; five PINs read off the layer were asked of the table and every row it returned echoed an asked key; UPPER(FULLNAME) LIKE '%SMITH%' counted 1,603 table rows. maxRecordCount is 1,000 on the layer and on the table, with pagination; capabilities Map, Query and Data; ArcGIS Server 11.3; native Web Mercator (WKID 102100); the server reflects the caller's Origin for CORS. TERMS: the service's copyright text reads 'Sussex County Government' and no license text is published on the service, so the license is recorded as unknown and the copyright text is carried as the credit. The contact URL is the parcel service's own page, which answered HTTP 200 on 2026-11-11; the county's website was not read. Credit: Sussex County Government",
|
|
101
|
+
"credit": "Sussex County Government",
|
|
102
|
+
"addedAt": "2026-11-11"
|
|
44
103
|
}
|
|
45
104
|
]
|
|
46
105
|
}
|
package/data/index.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.3.0",
|
|
3
|
-
"lastUpdated": "2026-11-
|
|
3
|
+
"lastUpdated": "2026-11-11",
|
|
4
4
|
"totals": {
|
|
5
5
|
"states": 51,
|
|
6
|
-
"counties":
|
|
7
|
-
"endpoints":
|
|
8
|
-
"countiesWithEndpoint":
|
|
6
|
+
"counties": 539,
|
|
7
|
+
"endpoints": 522,
|
|
8
|
+
"countiesWithEndpoint": 494,
|
|
9
9
|
"countiesUnprobeable": 1
|
|
10
10
|
},
|
|
11
11
|
"states": [
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"slug": "delaware",
|
|
70
70
|
"name": "Delaware",
|
|
71
71
|
"abbrev": "DE",
|
|
72
|
-
"countyCount":
|
|
73
|
-
"endpointCount":
|
|
72
|
+
"countyCount": 2,
|
|
73
|
+
"endpointCount": 2,
|
|
74
74
|
"populated": true
|
|
75
75
|
},
|
|
76
76
|
{
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/capability.ts
|
|
4
|
+
function queryFieldName(field) {
|
|
5
|
+
return field.wireName ?? field.name;
|
|
6
|
+
}
|
|
4
7
|
function offersAttributeSearch(endpoint) {
|
|
5
8
|
return !!endpoint && endpoint.attributeSearch !== "unsupported";
|
|
6
9
|
}
|
|
@@ -395,12 +398,12 @@ function countyDownMessage(countyName) {
|
|
|
395
398
|
// data/index.json
|
|
396
399
|
var data_default = {
|
|
397
400
|
version: "0.3.0",
|
|
398
|
-
lastUpdated: "2026-11-
|
|
401
|
+
lastUpdated: "2026-11-11",
|
|
399
402
|
totals: {
|
|
400
403
|
states: 51,
|
|
401
|
-
counties:
|
|
402
|
-
endpoints:
|
|
403
|
-
countiesWithEndpoint:
|
|
404
|
+
counties: 539,
|
|
405
|
+
endpoints: 522,
|
|
406
|
+
countiesWithEndpoint: 494,
|
|
404
407
|
countiesUnprobeable: 1
|
|
405
408
|
},
|
|
406
409
|
states: [
|
|
@@ -464,8 +467,8 @@ var data_default = {
|
|
|
464
467
|
slug: "delaware",
|
|
465
468
|
name: "Delaware",
|
|
466
469
|
abbrev: "DE",
|
|
467
|
-
countyCount:
|
|
468
|
-
endpointCount:
|
|
470
|
+
countyCount: 2,
|
|
471
|
+
endpointCount: 2,
|
|
469
472
|
populated: true
|
|
470
473
|
},
|
|
471
474
|
{
|
|
@@ -5918,7 +5921,7 @@ var delaware_default = {
|
|
|
5918
5921
|
stateSlug: "delaware",
|
|
5919
5922
|
stateName: "Delaware",
|
|
5920
5923
|
stateAbbrev: "DE",
|
|
5921
|
-
lastUpdated: "2026-
|
|
5924
|
+
lastUpdated: "2026-11-11",
|
|
5922
5925
|
counties: [
|
|
5923
5926
|
{
|
|
5924
5927
|
id: "de-new-castle",
|
|
@@ -5957,6 +5960,65 @@ var delaware_default = {
|
|
|
5957
5960
|
email: null
|
|
5958
5961
|
},
|
|
5959
5962
|
notes: "New Castle County DE (Wilmington/Newark metro; county seat Wilmington; FIPS 10003; most populous of Delaware's 3 counties, pop. ~570,000) publishes a public ArcGIS MapServer parcel layer hosted by NCCDE GIS (Foundation/Base_Layers/MapServer/0, 'Parcels', ~203,753 features, no token required). Key fields: PRCLID (parcel ID / APN), CNTCTLAST (owner last name / contact, the searchable owner field), OWNADDR (owner mailing address), ADDRESS (property situs address). Owner-name search via UPPER(CNTCTLAST) LIKE UPPER('%NAME%') works. Verified 2026-06-20: UPPER(CNTCTLAST) LIKE UPPER('%SMITH%') returns Wilmington-area parcels. Delaware has only 3 counties (New Castle, Kent, Sussex); Kent and Sussex are served separately. Do not confuse with New Castle in Pennsylvania (Lawrence County, PA)."
|
|
5963
|
+
},
|
|
5964
|
+
{
|
|
5965
|
+
id: "de-sussex",
|
|
5966
|
+
state: "DE",
|
|
5967
|
+
stateName: "Delaware",
|
|
5968
|
+
stateSlug: "delaware",
|
|
5969
|
+
county: "Sussex",
|
|
5970
|
+
countySlug: "sussex-county",
|
|
5971
|
+
countyFips: "10005",
|
|
5972
|
+
hasPublicRest: true,
|
|
5973
|
+
endpoints: [
|
|
5974
|
+
{
|
|
5975
|
+
url: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/0",
|
|
5976
|
+
serviceType: "MapServer",
|
|
5977
|
+
layerIndex: 0,
|
|
5978
|
+
layerName: "Tax Parcels",
|
|
5979
|
+
supportsQuery: true,
|
|
5980
|
+
corsEnabled: true,
|
|
5981
|
+
searchFields: [
|
|
5982
|
+
{ name: "Name", label: "Parcel ID (PIN)", searchable: true }
|
|
5983
|
+
],
|
|
5984
|
+
ownerJoin: {
|
|
5985
|
+
url: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/1",
|
|
5986
|
+
layerName: "OwnershipInformation",
|
|
5987
|
+
key: "PIN",
|
|
5988
|
+
parcelKey: "Name",
|
|
5989
|
+
fields: [
|
|
5990
|
+
{ name: "PIN", label: "Parcel ID (PIN)", searchable: true },
|
|
5991
|
+
{ name: "PINWASSEMENTUNIT", label: "PIN with Assessment Unit", searchable: false },
|
|
5992
|
+
{ name: "FULLNAME", label: "Owner Name", searchable: true },
|
|
5993
|
+
{ name: "Second_Owner_Name", label: "Second Owner Name", searchable: false },
|
|
5994
|
+
{ name: "MAILINGADDRESS", label: "Owner Mailing Address", searchable: false },
|
|
5995
|
+
{ name: "CITY", label: "Owner Mailing City", searchable: false },
|
|
5996
|
+
{ name: "STATE", label: "Owner Mailing State", searchable: false },
|
|
5997
|
+
{ name: "ZIPCODE", label: "Owner Mailing ZIP", searchable: false }
|
|
5998
|
+
],
|
|
5999
|
+
rowIdField: "PINWASSEMENTUNIT",
|
|
6000
|
+
multiple: "rows",
|
|
6001
|
+
maxRowsPerKey: 1e3,
|
|
6002
|
+
orderField: "OBJECTID_1",
|
|
6003
|
+
maxRecordCount: 1e3,
|
|
6004
|
+
lastVerified: "2026-11-11"
|
|
6005
|
+
},
|
|
6006
|
+
sampleQuery: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/0/query?where=Name%3D%27133-11.00-8.00%27&outFields=Name&returnGeometry=false&f=json",
|
|
6007
|
+
license: "unknown",
|
|
6008
|
+
licenseUrl: null,
|
|
6009
|
+
status: "live",
|
|
6010
|
+
lastVerified: "2026-11-11",
|
|
6011
|
+
verifiedBy: "manual"
|
|
6012
|
+
}
|
|
6013
|
+
],
|
|
6014
|
+
contact: {
|
|
6015
|
+
department: "Sussex County Government, Geographic Information Office (the name of the parcel service's folder)",
|
|
6016
|
+
url: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer",
|
|
6017
|
+
email: null
|
|
6018
|
+
},
|
|
6019
|
+
notes: "Sussex County, Delaware (Georgetown; FIPS 10005). The county's own ArcGIS Server at map.sussexcountyde.gov publishes Geographic_Information_Office/Parcels_PIN, a MapServer it describes as 'Sussex County Delaware Tax Parcel Map with Related Ownership Information Table'. THE OWNERS ARE NOT ON THE PARCEL LAYER. Layer 0, 'Tax Parcels', holds the polygons (165,012 on 2026-11-11) and is documented here by one column: Name, which is the parcel's PIN (133-11.00-8.00: digits, dashes and dots, not zero-padded). It carries no owner and no site address. The owner rows are in table 1 of the same service, 'OwnershipInformation' (208,124 rows), keyed by PIN; the service itself relates the layer's Name to the table's PIN, one parcel to many rows, and this record names that table as the layer's owner join. The table has no geometry, so it is asked by key only (PIN IN a list of parcel PINs), never by location, and every row it returns must echo a key that was asked. On the table, FULLNAME is the owner (null or empty on none of its rows) and Second_Owner_Name a second owner; MAILINGADDRESS is the street line of the owner's mailing address (null or empty on 274 rows), and the city, state and ZIP are the separate columns CITY, STATE and ZIPCODE. A paid radius list carries the owner name and the mailing street line; the city, state and ZIP stay in the county table's columns and are not joined onto that line. SEVERAL ROWS PER PARCEL: 43,273 table rows (20.8%) carry an assessment unit, where PINWASSEMENTUNIT is the PIN, a dash and the unit; that column labels the rows of one PIN but is not unique, so a parcel's rows are told apart by the owner and mailing line they carry. One PIN holds 1,093 rows, more than the table returns to one query. Some parcels have no table row at all (51 neighbouring lots of map block 233-11.00 on 2026-11-10); they are served without an owner. NO SITE ADDRESS is published on the layer or the table, so an address lookup cannot be answered from this record: a search by PIN and a point or radius lookup are what it offers. Verified 2026-11-11: Name = '133-11.00-8.00' returned one parcel, the sample query's predicate; five PINs read off the layer were asked of the table and every row it returned echoed an asked key; UPPER(FULLNAME) LIKE '%SMITH%' counted 1,603 table rows. maxRecordCount is 1,000 on the layer and on the table, with pagination; capabilities Map, Query and Data; ArcGIS Server 11.3; native Web Mercator (WKID 102100); the server reflects the caller's Origin for CORS. TERMS: the service's copyright text reads 'Sussex County Government' and no license text is published on the service, so the license is recorded as unknown and the copyright text is carried as the credit. The contact URL is the parcel service's own page, which answered HTTP 200 on 2026-11-11; the county's website was not read. Credit: Sussex County Government",
|
|
6020
|
+
credit: "Sussex County Government",
|
|
6021
|
+
addedAt: "2026-11-11"
|
|
5960
6022
|
}
|
|
5961
6023
|
]
|
|
5962
6024
|
};
|
|
@@ -46283,6 +46345,7 @@ exports.pausedAnswer = pausedAnswer;
|
|
|
46283
46345
|
exports.pausedFlags = pausedFlags;
|
|
46284
46346
|
exports.presetOf = presetOf;
|
|
46285
46347
|
exports.propertyQueryUrl = propertyQueryUrl;
|
|
46348
|
+
exports.queryFieldName = queryFieldName;
|
|
46286
46349
|
exports.requestHint = requestHint;
|
|
46287
46350
|
exports.reviewedCapability = reviewedCapability;
|
|
46288
46351
|
exports.slugify = slugify;
|
package/dist/index.d.cts
CHANGED
|
@@ -201,6 +201,74 @@ interface SearchField {
|
|
|
201
201
|
name: string;
|
|
202
202
|
label: string;
|
|
203
203
|
searchable: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* The column's fully qualified name on a layer that answers with one (a
|
|
206
|
+
* server-side join publishes `table.column`, as in
|
|
207
|
+
* `SDE.mc_parcel_polygon.TAXPINNO`), while `name` stays the bare last
|
|
208
|
+
* segment. Declared since 0.9.0 and carried by NO record yet: the registry's
|
|
209
|
+
* validator refuses it until a later release, so `name` is the literal query
|
|
210
|
+
* column on every record today. Read the column to send through
|
|
211
|
+
* `queryFieldName(field)`, exported by this package, so your code is already
|
|
212
|
+
* right when a record does carry one.
|
|
213
|
+
*/
|
|
214
|
+
wireName?: string;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Owner rows that live in a separate TABLE of the same service, joined to the
|
|
218
|
+
* endpoint's parcel polygons by a key: the polygons carry `parcelKey`, the
|
|
219
|
+
* table carries `key`, and a parcel's owners are the table rows whose `key`
|
|
220
|
+
* equals its `parcelKey` value. Declared since 0.9.0; Sussex County, Delaware
|
|
221
|
+
* (0.9.1) is the first record that carries one.
|
|
222
|
+
*
|
|
223
|
+
* The table has no geometry. Query it by key only
|
|
224
|
+
* (`<key> IN ('<value>', ...)`, each `'` doubled), never spatially: an ArcGIS
|
|
225
|
+
* table ignores a geometry parameter, so a spatial query would answer with
|
|
226
|
+
* arbitrary rows. Check that every returned row's `key` is one you asked for.
|
|
227
|
+
*
|
|
228
|
+
* The table's columns live ONLY in `fields`, never in the endpoint's
|
|
229
|
+
* `searchFields`. So a reader that ignores `ownerJoin` sees a layer with a
|
|
230
|
+
* parcel id and no owner, which is the safe reading: it cannot ask the polygon
|
|
231
|
+
* layer for a column that is not on it.
|
|
232
|
+
*/
|
|
233
|
+
interface OwnerJoin {
|
|
234
|
+
/** The table's layer URL: another layer of the endpoint's own service (the
|
|
235
|
+
* same host and service path; `MapServer` and `FeatureServer` are one
|
|
236
|
+
* service). No endpoint `url` in the registry names this layer, under
|
|
237
|
+
* either service type. */
|
|
238
|
+
url: string;
|
|
239
|
+
layerName: string;
|
|
240
|
+
/** The key column on the table. */
|
|
241
|
+
key: string;
|
|
242
|
+
/** The matching column on the endpoint's layer; one of its `searchFields`. */
|
|
243
|
+
parcelKey: string;
|
|
244
|
+
/** The table's documented columns: `key`, `rowIdField` and the owner columns. */
|
|
245
|
+
fields: SearchField[];
|
|
246
|
+
/** A column that labels the rows of one key (an assessment unit, say). It is
|
|
247
|
+
* NOT unique: several rows can share one value and differ only in columns
|
|
248
|
+
* that are not served. De-duplicate the rows of one key by the owner and
|
|
249
|
+
* mailing content you read, never by this column. */
|
|
250
|
+
rowIdField?: string;
|
|
251
|
+
/** `"rows"`: a key with several rows stands for several ownership records,
|
|
252
|
+
* up to `maxRowsPerKey` of them. Absent: treat a key with several rows as
|
|
253
|
+
* having no single owner rather than picking one. */
|
|
254
|
+
multiple?: "rows";
|
|
255
|
+
/** The most distinct ownership rows one key may hold and still be read as its
|
|
256
|
+
* ownership records: an integer from 1 to `maxRecordCount`, present exactly
|
|
257
|
+
* when `multiple` is `"rows"`. Count a key's rows after de-duplicating them
|
|
258
|
+
* by the owner and mailing content you read and dropping any row that says
|
|
259
|
+
* nothing another row of the key does not. Treat a key with more than that
|
|
260
|
+
* as having no owner you can state (a single key can hold more rows than one
|
|
261
|
+
* query returns). */
|
|
262
|
+
maxRowsPerKey?: number;
|
|
263
|
+
/** A unique, stable column to order the table's pages by: send it as
|
|
264
|
+
* `orderByFields` whenever you send `resultOffset`, or a paged read can
|
|
265
|
+
* repeat a row or skip one. */
|
|
266
|
+
orderField: string;
|
|
267
|
+
/** The most rows the table returns to one query, as its metadata declares;
|
|
268
|
+
* `exceededTransferLimit` on the response is the authority. */
|
|
269
|
+
maxRecordCount: number;
|
|
270
|
+
/** ISO date the table and its key were last verified before publish. */
|
|
271
|
+
lastVerified: string;
|
|
204
272
|
}
|
|
205
273
|
/**
|
|
206
274
|
* The county's own "this owner's record is confidential" column on a layer, the
|
|
@@ -357,6 +425,10 @@ interface EndpointRecord {
|
|
|
357
425
|
* `safeValues`. Absent means the layer publishes no
|
|
358
426
|
* such column, not that no owner there is protected. */
|
|
359
427
|
confidentialFlag?: ConfidentialFlag;
|
|
428
|
+
/** The table that holds this layer's owner rows (see {@link OwnerJoin}).
|
|
429
|
+
* Declared since 0.9.0; carried by Sussex County, Delaware since 0.9.1 and
|
|
430
|
+
* absent on every other record. */
|
|
431
|
+
ownerJoin?: OwnerJoin;
|
|
360
432
|
sampleQuery: string | null;
|
|
361
433
|
license: LicenseType;
|
|
362
434
|
licenseUrl: string | null;
|
|
@@ -424,7 +496,9 @@ interface CapabilityBasis {
|
|
|
424
496
|
* deliberately does not derive it: a second implementation of that
|
|
425
497
|
* classification would drift from the one the API bills against, and you would
|
|
426
498
|
* have no way to tell which was right. Read `endpoints[].searchFields` for the
|
|
427
|
-
* mechanical answer,
|
|
499
|
+
* mechanical answer, plus `endpoints[].ownerJoin.fields` on a layer whose owner
|
|
500
|
+
* rows sit in a joined table (see {@link OwnerJoin}), and treat an entry here
|
|
501
|
+
* as outranking it.
|
|
428
502
|
*/
|
|
429
503
|
type CapabilityOverrides = Partial<Record<CapabilityField, {
|
|
430
504
|
status: CapabilityStatus;
|
|
@@ -513,6 +587,19 @@ interface AtlasIndex {
|
|
|
513
587
|
};
|
|
514
588
|
}
|
|
515
589
|
|
|
590
|
+
/**
|
|
591
|
+
* The column name to SEND for a field: in a `where` clause, in `outFields`,
|
|
592
|
+
* and as the key to read back off a returned row. That is `wireName` when the
|
|
593
|
+
* record carries one (a layer that answers with fully qualified
|
|
594
|
+
* `table.column` names) and `name` otherwise.
|
|
595
|
+
*
|
|
596
|
+
* No record carries a `wireName` yet, so this returns `name` for every field
|
|
597
|
+
* today. It exists now so that code written against it keeps working when a
|
|
598
|
+
* record does: go through it rather than reading `field.name` for a query.
|
|
599
|
+
* Keep using `name` and `label` to decide what a column IS (parcel id, owner,
|
|
600
|
+
* address); a qualified name carries table names that read like roles.
|
|
601
|
+
*/
|
|
602
|
+
declare function queryFieldName(field: Pick<SearchField, "name" | "wireName">): string;
|
|
516
603
|
/**
|
|
517
604
|
* Can this layer take a `where`-clause search at all (owner name, address text,
|
|
518
605
|
* a field filter)? False on a layer flagged `attributeSearch: "unsupported"`,
|
|
@@ -550,7 +637,8 @@ declare function countyOffersAttributeSearch(county: Pick<CountyRecord, "endpoin
|
|
|
550
637
|
* Null is the common answer and it is not a failure: it means nobody has had to
|
|
551
638
|
* write anything down about that field for that county, so the ordinary rules
|
|
552
639
|
* apply. Read `county.endpoints[].searchFields` to see what the layer actually
|
|
553
|
-
* documents.
|
|
640
|
+
* documents, and `endpoints[].ownerJoin.fields` for the owner columns of a
|
|
641
|
+
* layer that keeps them in a joined table.
|
|
554
642
|
*
|
|
555
643
|
* A non-null answer is the part worth branching on. It was entered by a human
|
|
556
644
|
* who checked something a field list cannot show, and it outranks whatever the
|
|
@@ -565,7 +653,8 @@ declare function reviewedCapability(county: Pick<CountyRecord, "capabilityOverri
|
|
|
565
653
|
* reason. Use it to decide whether to promise a user the field at all.
|
|
566
654
|
*
|
|
567
655
|
* False does NOT mean "available". It means no reviewed record says otherwise,
|
|
568
|
-
* so fall back to the endpoint's documented `searchFields
|
|
656
|
+
* so fall back to the endpoint's documented `searchFields` (and its
|
|
657
|
+
* `ownerJoin.fields`, where it has a joined owner table).
|
|
569
658
|
*/
|
|
570
659
|
declare function isReviewedUnservable(county: Pick<CountyRecord, "capabilityOverrides">, field: CapabilityField): boolean;
|
|
571
660
|
|
|
@@ -1264,4 +1353,4 @@ declare function citiesForCounty(stateSlug: string, countySlug: string): CitySum
|
|
|
1264
1353
|
declare const cityPropertyIndex: CityPropertyIndex;
|
|
1265
1354
|
declare const cityZoningIndex: CityZoningIndex;
|
|
1266
1355
|
|
|
1267
|
-
export { ACCESS_FLAGS, ACCESS_PRESETS, ACCESS_REASONS, ATLAS_COUNTY_PAGE_BASE, type AccessFlag, type AccessFlags, type AccessPageRef, type AccessPreset, type AccessReason, type AccessRecordLike, type Atlas, type AtlasIndex, CITY_RECORD_LIMIT, CITY_STREET_MAX_LEN, COUNTY_RECHECK_REQUEST_MESSAGE, COUNTY_REQUEST_MESSAGE, COUNTY_REQUEST_URL, COVERAGE_REASONS, type CapabilityBasis, type CapabilityBasisType, type CapabilityField, type CapabilityOverrides, type CapabilityStatus, type CaseFieldMap, type CasesSource, type CityDatasetDescriptor, type CityFilter, type CityKind, type CityLookup, type CityPropertyIndex, type CityPropertyIndexEntry, type CityPropertyRecord, type CityProvider, type CityQueryTemplate, type CitySource, type CitySummary, type CityZoningIndex, type CityZoningIndexEntry, type CityZoningRecord, type ConfidentialFlag, type ContactInfo, type CountyAccessEntry, type CountyAdvisory, type CountyCoverage, type CountyPausedAnswer, type CountyProduct, type CountyRecord, type CountyRequestHint, type CountyRequestRef, type CoverageAnswer, type CoverageReason, type CoverageRecordLike, type CoverageStatus, type CoverageTextInput, type CurrentZoningFieldMap, type CurrentZoningSource, type DatasetKind, type DeepLinkCounty, type EndpointPresenceLike, type EndpointRecord, type EndpointStatus, type GeocoderConfig, type GeocoderProvider, LIVE_STATUS_URL, type LicenseType, NOT_IN_ATLAS_WHY, NO_PUBLIC_DATA_WHY, POINT_PLACEHOLDER, PRESET_FLAGS, type PropertyDataset, type PropertyDatasets, type PropertyFieldMap, type PropertySource, type PropertySourceType, type PropertyStatusBuckets, type SearchField, type ServiceType, type SplitStreet, type StateFile, type StateIndexEntry, type VerifiedBy, type ZoningByAddressSource, type ZoningSourceType, type ZoningStatusBuckets, type ZoningToolKind, accessBlocks, atlas, atlasIndex, buildCityQuery, buildParcelLookupDeepLink, canonicalLayerUrl, casesLocationTemplate, casesQueryUrl, citiesForCounty, citiesForCountyIn, cityDatasetDescriptors, cityDatasets, cityPath, cityPropertyIndex, cityZoningIndex, countyDownMessage, countyHasEndpoint, countyOffersAttributeSearch, countyPath, countySlugFromName, coverageAnswer, coverageAnswerText, coverageOverridesPause, currentZoningTemplate, findCity, findCityIn, findCounty, findCountyByFips, findState, flagsFor, getCityProperty, getCityZoning, isReviewedUnservable, listCities, listCountiesByState, listStates, mergeCityIndexes, offersAttributeSearch, offersPagination, pausedAnswer, pausedFlags, presetOf, propertyQueryUrl, requestHint, reviewedCapability, slugify, splitAddressStreetName, splitStreet, statePath, streetForDataset };
|
|
1356
|
+
export { ACCESS_FLAGS, ACCESS_PRESETS, ACCESS_REASONS, ATLAS_COUNTY_PAGE_BASE, type AccessFlag, type AccessFlags, type AccessPageRef, type AccessPreset, type AccessReason, type AccessRecordLike, type Atlas, type AtlasIndex, CITY_RECORD_LIMIT, CITY_STREET_MAX_LEN, COUNTY_RECHECK_REQUEST_MESSAGE, COUNTY_REQUEST_MESSAGE, COUNTY_REQUEST_URL, COVERAGE_REASONS, type CapabilityBasis, type CapabilityBasisType, type CapabilityField, type CapabilityOverrides, type CapabilityStatus, type CaseFieldMap, type CasesSource, type CityDatasetDescriptor, type CityFilter, type CityKind, type CityLookup, type CityPropertyIndex, type CityPropertyIndexEntry, type CityPropertyRecord, type CityProvider, type CityQueryTemplate, type CitySource, type CitySummary, type CityZoningIndex, type CityZoningIndexEntry, type CityZoningRecord, type ConfidentialFlag, type ContactInfo, type CountyAccessEntry, type CountyAdvisory, type CountyCoverage, type CountyPausedAnswer, type CountyProduct, type CountyRecord, type CountyRequestHint, type CountyRequestRef, type CoverageAnswer, type CoverageReason, type CoverageRecordLike, type CoverageStatus, type CoverageTextInput, type CurrentZoningFieldMap, type CurrentZoningSource, type DatasetKind, type DeepLinkCounty, type EndpointPresenceLike, type EndpointRecord, type EndpointStatus, type GeocoderConfig, type GeocoderProvider, LIVE_STATUS_URL, type LicenseType, NOT_IN_ATLAS_WHY, NO_PUBLIC_DATA_WHY, type OwnerJoin, POINT_PLACEHOLDER, PRESET_FLAGS, type PropertyDataset, type PropertyDatasets, type PropertyFieldMap, type PropertySource, type PropertySourceType, type PropertyStatusBuckets, type SearchField, type ServiceType, type SplitStreet, type StateFile, type StateIndexEntry, type VerifiedBy, type ZoningByAddressSource, type ZoningSourceType, type ZoningStatusBuckets, type ZoningToolKind, accessBlocks, atlas, atlasIndex, buildCityQuery, buildParcelLookupDeepLink, canonicalLayerUrl, casesLocationTemplate, casesQueryUrl, citiesForCounty, citiesForCountyIn, cityDatasetDescriptors, cityDatasets, cityPath, cityPropertyIndex, cityZoningIndex, countyDownMessage, countyHasEndpoint, countyOffersAttributeSearch, countyPath, countySlugFromName, coverageAnswer, coverageAnswerText, coverageOverridesPause, currentZoningTemplate, findCity, findCityIn, findCounty, findCountyByFips, findState, flagsFor, getCityProperty, getCityZoning, isReviewedUnservable, listCities, listCountiesByState, listStates, mergeCityIndexes, offersAttributeSearch, offersPagination, pausedAnswer, pausedFlags, presetOf, propertyQueryUrl, queryFieldName, requestHint, reviewedCapability, slugify, splitAddressStreetName, splitStreet, statePath, streetForDataset };
|
package/dist/index.d.ts
CHANGED
|
@@ -201,6 +201,74 @@ interface SearchField {
|
|
|
201
201
|
name: string;
|
|
202
202
|
label: string;
|
|
203
203
|
searchable: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* The column's fully qualified name on a layer that answers with one (a
|
|
206
|
+
* server-side join publishes `table.column`, as in
|
|
207
|
+
* `SDE.mc_parcel_polygon.TAXPINNO`), while `name` stays the bare last
|
|
208
|
+
* segment. Declared since 0.9.0 and carried by NO record yet: the registry's
|
|
209
|
+
* validator refuses it until a later release, so `name` is the literal query
|
|
210
|
+
* column on every record today. Read the column to send through
|
|
211
|
+
* `queryFieldName(field)`, exported by this package, so your code is already
|
|
212
|
+
* right when a record does carry one.
|
|
213
|
+
*/
|
|
214
|
+
wireName?: string;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Owner rows that live in a separate TABLE of the same service, joined to the
|
|
218
|
+
* endpoint's parcel polygons by a key: the polygons carry `parcelKey`, the
|
|
219
|
+
* table carries `key`, and a parcel's owners are the table rows whose `key`
|
|
220
|
+
* equals its `parcelKey` value. Declared since 0.9.0; Sussex County, Delaware
|
|
221
|
+
* (0.9.1) is the first record that carries one.
|
|
222
|
+
*
|
|
223
|
+
* The table has no geometry. Query it by key only
|
|
224
|
+
* (`<key> IN ('<value>', ...)`, each `'` doubled), never spatially: an ArcGIS
|
|
225
|
+
* table ignores a geometry parameter, so a spatial query would answer with
|
|
226
|
+
* arbitrary rows. Check that every returned row's `key` is one you asked for.
|
|
227
|
+
*
|
|
228
|
+
* The table's columns live ONLY in `fields`, never in the endpoint's
|
|
229
|
+
* `searchFields`. So a reader that ignores `ownerJoin` sees a layer with a
|
|
230
|
+
* parcel id and no owner, which is the safe reading: it cannot ask the polygon
|
|
231
|
+
* layer for a column that is not on it.
|
|
232
|
+
*/
|
|
233
|
+
interface OwnerJoin {
|
|
234
|
+
/** The table's layer URL: another layer of the endpoint's own service (the
|
|
235
|
+
* same host and service path; `MapServer` and `FeatureServer` are one
|
|
236
|
+
* service). No endpoint `url` in the registry names this layer, under
|
|
237
|
+
* either service type. */
|
|
238
|
+
url: string;
|
|
239
|
+
layerName: string;
|
|
240
|
+
/** The key column on the table. */
|
|
241
|
+
key: string;
|
|
242
|
+
/** The matching column on the endpoint's layer; one of its `searchFields`. */
|
|
243
|
+
parcelKey: string;
|
|
244
|
+
/** The table's documented columns: `key`, `rowIdField` and the owner columns. */
|
|
245
|
+
fields: SearchField[];
|
|
246
|
+
/** A column that labels the rows of one key (an assessment unit, say). It is
|
|
247
|
+
* NOT unique: several rows can share one value and differ only in columns
|
|
248
|
+
* that are not served. De-duplicate the rows of one key by the owner and
|
|
249
|
+
* mailing content you read, never by this column. */
|
|
250
|
+
rowIdField?: string;
|
|
251
|
+
/** `"rows"`: a key with several rows stands for several ownership records,
|
|
252
|
+
* up to `maxRowsPerKey` of them. Absent: treat a key with several rows as
|
|
253
|
+
* having no single owner rather than picking one. */
|
|
254
|
+
multiple?: "rows";
|
|
255
|
+
/** The most distinct ownership rows one key may hold and still be read as its
|
|
256
|
+
* ownership records: an integer from 1 to `maxRecordCount`, present exactly
|
|
257
|
+
* when `multiple` is `"rows"`. Count a key's rows after de-duplicating them
|
|
258
|
+
* by the owner and mailing content you read and dropping any row that says
|
|
259
|
+
* nothing another row of the key does not. Treat a key with more than that
|
|
260
|
+
* as having no owner you can state (a single key can hold more rows than one
|
|
261
|
+
* query returns). */
|
|
262
|
+
maxRowsPerKey?: number;
|
|
263
|
+
/** A unique, stable column to order the table's pages by: send it as
|
|
264
|
+
* `orderByFields` whenever you send `resultOffset`, or a paged read can
|
|
265
|
+
* repeat a row or skip one. */
|
|
266
|
+
orderField: string;
|
|
267
|
+
/** The most rows the table returns to one query, as its metadata declares;
|
|
268
|
+
* `exceededTransferLimit` on the response is the authority. */
|
|
269
|
+
maxRecordCount: number;
|
|
270
|
+
/** ISO date the table and its key were last verified before publish. */
|
|
271
|
+
lastVerified: string;
|
|
204
272
|
}
|
|
205
273
|
/**
|
|
206
274
|
* The county's own "this owner's record is confidential" column on a layer, the
|
|
@@ -357,6 +425,10 @@ interface EndpointRecord {
|
|
|
357
425
|
* `safeValues`. Absent means the layer publishes no
|
|
358
426
|
* such column, not that no owner there is protected. */
|
|
359
427
|
confidentialFlag?: ConfidentialFlag;
|
|
428
|
+
/** The table that holds this layer's owner rows (see {@link OwnerJoin}).
|
|
429
|
+
* Declared since 0.9.0; carried by Sussex County, Delaware since 0.9.1 and
|
|
430
|
+
* absent on every other record. */
|
|
431
|
+
ownerJoin?: OwnerJoin;
|
|
360
432
|
sampleQuery: string | null;
|
|
361
433
|
license: LicenseType;
|
|
362
434
|
licenseUrl: string | null;
|
|
@@ -424,7 +496,9 @@ interface CapabilityBasis {
|
|
|
424
496
|
* deliberately does not derive it: a second implementation of that
|
|
425
497
|
* classification would drift from the one the API bills against, and you would
|
|
426
498
|
* have no way to tell which was right. Read `endpoints[].searchFields` for the
|
|
427
|
-
* mechanical answer,
|
|
499
|
+
* mechanical answer, plus `endpoints[].ownerJoin.fields` on a layer whose owner
|
|
500
|
+
* rows sit in a joined table (see {@link OwnerJoin}), and treat an entry here
|
|
501
|
+
* as outranking it.
|
|
428
502
|
*/
|
|
429
503
|
type CapabilityOverrides = Partial<Record<CapabilityField, {
|
|
430
504
|
status: CapabilityStatus;
|
|
@@ -513,6 +587,19 @@ interface AtlasIndex {
|
|
|
513
587
|
};
|
|
514
588
|
}
|
|
515
589
|
|
|
590
|
+
/**
|
|
591
|
+
* The column name to SEND for a field: in a `where` clause, in `outFields`,
|
|
592
|
+
* and as the key to read back off a returned row. That is `wireName` when the
|
|
593
|
+
* record carries one (a layer that answers with fully qualified
|
|
594
|
+
* `table.column` names) and `name` otherwise.
|
|
595
|
+
*
|
|
596
|
+
* No record carries a `wireName` yet, so this returns `name` for every field
|
|
597
|
+
* today. It exists now so that code written against it keeps working when a
|
|
598
|
+
* record does: go through it rather than reading `field.name` for a query.
|
|
599
|
+
* Keep using `name` and `label` to decide what a column IS (parcel id, owner,
|
|
600
|
+
* address); a qualified name carries table names that read like roles.
|
|
601
|
+
*/
|
|
602
|
+
declare function queryFieldName(field: Pick<SearchField, "name" | "wireName">): string;
|
|
516
603
|
/**
|
|
517
604
|
* Can this layer take a `where`-clause search at all (owner name, address text,
|
|
518
605
|
* a field filter)? False on a layer flagged `attributeSearch: "unsupported"`,
|
|
@@ -550,7 +637,8 @@ declare function countyOffersAttributeSearch(county: Pick<CountyRecord, "endpoin
|
|
|
550
637
|
* Null is the common answer and it is not a failure: it means nobody has had to
|
|
551
638
|
* write anything down about that field for that county, so the ordinary rules
|
|
552
639
|
* apply. Read `county.endpoints[].searchFields` to see what the layer actually
|
|
553
|
-
* documents.
|
|
640
|
+
* documents, and `endpoints[].ownerJoin.fields` for the owner columns of a
|
|
641
|
+
* layer that keeps them in a joined table.
|
|
554
642
|
*
|
|
555
643
|
* A non-null answer is the part worth branching on. It was entered by a human
|
|
556
644
|
* who checked something a field list cannot show, and it outranks whatever the
|
|
@@ -565,7 +653,8 @@ declare function reviewedCapability(county: Pick<CountyRecord, "capabilityOverri
|
|
|
565
653
|
* reason. Use it to decide whether to promise a user the field at all.
|
|
566
654
|
*
|
|
567
655
|
* False does NOT mean "available". It means no reviewed record says otherwise,
|
|
568
|
-
* so fall back to the endpoint's documented `searchFields
|
|
656
|
+
* so fall back to the endpoint's documented `searchFields` (and its
|
|
657
|
+
* `ownerJoin.fields`, where it has a joined owner table).
|
|
569
658
|
*/
|
|
570
659
|
declare function isReviewedUnservable(county: Pick<CountyRecord, "capabilityOverrides">, field: CapabilityField): boolean;
|
|
571
660
|
|
|
@@ -1264,4 +1353,4 @@ declare function citiesForCounty(stateSlug: string, countySlug: string): CitySum
|
|
|
1264
1353
|
declare const cityPropertyIndex: CityPropertyIndex;
|
|
1265
1354
|
declare const cityZoningIndex: CityZoningIndex;
|
|
1266
1355
|
|
|
1267
|
-
export { ACCESS_FLAGS, ACCESS_PRESETS, ACCESS_REASONS, ATLAS_COUNTY_PAGE_BASE, type AccessFlag, type AccessFlags, type AccessPageRef, type AccessPreset, type AccessReason, type AccessRecordLike, type Atlas, type AtlasIndex, CITY_RECORD_LIMIT, CITY_STREET_MAX_LEN, COUNTY_RECHECK_REQUEST_MESSAGE, COUNTY_REQUEST_MESSAGE, COUNTY_REQUEST_URL, COVERAGE_REASONS, type CapabilityBasis, type CapabilityBasisType, type CapabilityField, type CapabilityOverrides, type CapabilityStatus, type CaseFieldMap, type CasesSource, type CityDatasetDescriptor, type CityFilter, type CityKind, type CityLookup, type CityPropertyIndex, type CityPropertyIndexEntry, type CityPropertyRecord, type CityProvider, type CityQueryTemplate, type CitySource, type CitySummary, type CityZoningIndex, type CityZoningIndexEntry, type CityZoningRecord, type ConfidentialFlag, type ContactInfo, type CountyAccessEntry, type CountyAdvisory, type CountyCoverage, type CountyPausedAnswer, type CountyProduct, type CountyRecord, type CountyRequestHint, type CountyRequestRef, type CoverageAnswer, type CoverageReason, type CoverageRecordLike, type CoverageStatus, type CoverageTextInput, type CurrentZoningFieldMap, type CurrentZoningSource, type DatasetKind, type DeepLinkCounty, type EndpointPresenceLike, type EndpointRecord, type EndpointStatus, type GeocoderConfig, type GeocoderProvider, LIVE_STATUS_URL, type LicenseType, NOT_IN_ATLAS_WHY, NO_PUBLIC_DATA_WHY, POINT_PLACEHOLDER, PRESET_FLAGS, type PropertyDataset, type PropertyDatasets, type PropertyFieldMap, type PropertySource, type PropertySourceType, type PropertyStatusBuckets, type SearchField, type ServiceType, type SplitStreet, type StateFile, type StateIndexEntry, type VerifiedBy, type ZoningByAddressSource, type ZoningSourceType, type ZoningStatusBuckets, type ZoningToolKind, accessBlocks, atlas, atlasIndex, buildCityQuery, buildParcelLookupDeepLink, canonicalLayerUrl, casesLocationTemplate, casesQueryUrl, citiesForCounty, citiesForCountyIn, cityDatasetDescriptors, cityDatasets, cityPath, cityPropertyIndex, cityZoningIndex, countyDownMessage, countyHasEndpoint, countyOffersAttributeSearch, countyPath, countySlugFromName, coverageAnswer, coverageAnswerText, coverageOverridesPause, currentZoningTemplate, findCity, findCityIn, findCounty, findCountyByFips, findState, flagsFor, getCityProperty, getCityZoning, isReviewedUnservable, listCities, listCountiesByState, listStates, mergeCityIndexes, offersAttributeSearch, offersPagination, pausedAnswer, pausedFlags, presetOf, propertyQueryUrl, requestHint, reviewedCapability, slugify, splitAddressStreetName, splitStreet, statePath, streetForDataset };
|
|
1356
|
+
export { ACCESS_FLAGS, ACCESS_PRESETS, ACCESS_REASONS, ATLAS_COUNTY_PAGE_BASE, type AccessFlag, type AccessFlags, type AccessPageRef, type AccessPreset, type AccessReason, type AccessRecordLike, type Atlas, type AtlasIndex, CITY_RECORD_LIMIT, CITY_STREET_MAX_LEN, COUNTY_RECHECK_REQUEST_MESSAGE, COUNTY_REQUEST_MESSAGE, COUNTY_REQUEST_URL, COVERAGE_REASONS, type CapabilityBasis, type CapabilityBasisType, type CapabilityField, type CapabilityOverrides, type CapabilityStatus, type CaseFieldMap, type CasesSource, type CityDatasetDescriptor, type CityFilter, type CityKind, type CityLookup, type CityPropertyIndex, type CityPropertyIndexEntry, type CityPropertyRecord, type CityProvider, type CityQueryTemplate, type CitySource, type CitySummary, type CityZoningIndex, type CityZoningIndexEntry, type CityZoningRecord, type ConfidentialFlag, type ContactInfo, type CountyAccessEntry, type CountyAdvisory, type CountyCoverage, type CountyPausedAnswer, type CountyProduct, type CountyRecord, type CountyRequestHint, type CountyRequestRef, type CoverageAnswer, type CoverageReason, type CoverageRecordLike, type CoverageStatus, type CoverageTextInput, type CurrentZoningFieldMap, type CurrentZoningSource, type DatasetKind, type DeepLinkCounty, type EndpointPresenceLike, type EndpointRecord, type EndpointStatus, type GeocoderConfig, type GeocoderProvider, LIVE_STATUS_URL, type LicenseType, NOT_IN_ATLAS_WHY, NO_PUBLIC_DATA_WHY, type OwnerJoin, POINT_PLACEHOLDER, PRESET_FLAGS, type PropertyDataset, type PropertyDatasets, type PropertyFieldMap, type PropertySource, type PropertySourceType, type PropertyStatusBuckets, type SearchField, type ServiceType, type SplitStreet, type StateFile, type StateIndexEntry, type VerifiedBy, type ZoningByAddressSource, type ZoningSourceType, type ZoningStatusBuckets, type ZoningToolKind, accessBlocks, atlas, atlasIndex, buildCityQuery, buildParcelLookupDeepLink, canonicalLayerUrl, casesLocationTemplate, casesQueryUrl, citiesForCounty, citiesForCountyIn, cityDatasetDescriptors, cityDatasets, cityPath, cityPropertyIndex, cityZoningIndex, countyDownMessage, countyHasEndpoint, countyOffersAttributeSearch, countyPath, countySlugFromName, coverageAnswer, coverageAnswerText, coverageOverridesPause, currentZoningTemplate, findCity, findCityIn, findCounty, findCountyByFips, findState, flagsFor, getCityProperty, getCityZoning, isReviewedUnservable, listCities, listCountiesByState, listStates, mergeCityIndexes, offersAttributeSearch, offersPagination, pausedAnswer, pausedFlags, presetOf, propertyQueryUrl, queryFieldName, requestHint, reviewedCapability, slugify, splitAddressStreetName, splitStreet, statePath, streetForDataset };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
// src/capability.ts
|
|
2
|
+
function queryFieldName(field) {
|
|
3
|
+
return field.wireName ?? field.name;
|
|
4
|
+
}
|
|
2
5
|
function offersAttributeSearch(endpoint) {
|
|
3
6
|
return !!endpoint && endpoint.attributeSearch !== "unsupported";
|
|
4
7
|
}
|
|
@@ -393,12 +396,12 @@ function countyDownMessage(countyName) {
|
|
|
393
396
|
// data/index.json
|
|
394
397
|
var data_default = {
|
|
395
398
|
version: "0.3.0",
|
|
396
|
-
lastUpdated: "2026-11-
|
|
399
|
+
lastUpdated: "2026-11-11",
|
|
397
400
|
totals: {
|
|
398
401
|
states: 51,
|
|
399
|
-
counties:
|
|
400
|
-
endpoints:
|
|
401
|
-
countiesWithEndpoint:
|
|
402
|
+
counties: 539,
|
|
403
|
+
endpoints: 522,
|
|
404
|
+
countiesWithEndpoint: 494,
|
|
402
405
|
countiesUnprobeable: 1
|
|
403
406
|
},
|
|
404
407
|
states: [
|
|
@@ -462,8 +465,8 @@ var data_default = {
|
|
|
462
465
|
slug: "delaware",
|
|
463
466
|
name: "Delaware",
|
|
464
467
|
abbrev: "DE",
|
|
465
|
-
countyCount:
|
|
466
|
-
endpointCount:
|
|
468
|
+
countyCount: 2,
|
|
469
|
+
endpointCount: 2,
|
|
467
470
|
populated: true
|
|
468
471
|
},
|
|
469
472
|
{
|
|
@@ -5916,7 +5919,7 @@ var delaware_default = {
|
|
|
5916
5919
|
stateSlug: "delaware",
|
|
5917
5920
|
stateName: "Delaware",
|
|
5918
5921
|
stateAbbrev: "DE",
|
|
5919
|
-
lastUpdated: "2026-
|
|
5922
|
+
lastUpdated: "2026-11-11",
|
|
5920
5923
|
counties: [
|
|
5921
5924
|
{
|
|
5922
5925
|
id: "de-new-castle",
|
|
@@ -5955,6 +5958,65 @@ var delaware_default = {
|
|
|
5955
5958
|
email: null
|
|
5956
5959
|
},
|
|
5957
5960
|
notes: "New Castle County DE (Wilmington/Newark metro; county seat Wilmington; FIPS 10003; most populous of Delaware's 3 counties, pop. ~570,000) publishes a public ArcGIS MapServer parcel layer hosted by NCCDE GIS (Foundation/Base_Layers/MapServer/0, 'Parcels', ~203,753 features, no token required). Key fields: PRCLID (parcel ID / APN), CNTCTLAST (owner last name / contact, the searchable owner field), OWNADDR (owner mailing address), ADDRESS (property situs address). Owner-name search via UPPER(CNTCTLAST) LIKE UPPER('%NAME%') works. Verified 2026-06-20: UPPER(CNTCTLAST) LIKE UPPER('%SMITH%') returns Wilmington-area parcels. Delaware has only 3 counties (New Castle, Kent, Sussex); Kent and Sussex are served separately. Do not confuse with New Castle in Pennsylvania (Lawrence County, PA)."
|
|
5961
|
+
},
|
|
5962
|
+
{
|
|
5963
|
+
id: "de-sussex",
|
|
5964
|
+
state: "DE",
|
|
5965
|
+
stateName: "Delaware",
|
|
5966
|
+
stateSlug: "delaware",
|
|
5967
|
+
county: "Sussex",
|
|
5968
|
+
countySlug: "sussex-county",
|
|
5969
|
+
countyFips: "10005",
|
|
5970
|
+
hasPublicRest: true,
|
|
5971
|
+
endpoints: [
|
|
5972
|
+
{
|
|
5973
|
+
url: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/0",
|
|
5974
|
+
serviceType: "MapServer",
|
|
5975
|
+
layerIndex: 0,
|
|
5976
|
+
layerName: "Tax Parcels",
|
|
5977
|
+
supportsQuery: true,
|
|
5978
|
+
corsEnabled: true,
|
|
5979
|
+
searchFields: [
|
|
5980
|
+
{ name: "Name", label: "Parcel ID (PIN)", searchable: true }
|
|
5981
|
+
],
|
|
5982
|
+
ownerJoin: {
|
|
5983
|
+
url: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/1",
|
|
5984
|
+
layerName: "OwnershipInformation",
|
|
5985
|
+
key: "PIN",
|
|
5986
|
+
parcelKey: "Name",
|
|
5987
|
+
fields: [
|
|
5988
|
+
{ name: "PIN", label: "Parcel ID (PIN)", searchable: true },
|
|
5989
|
+
{ name: "PINWASSEMENTUNIT", label: "PIN with Assessment Unit", searchable: false },
|
|
5990
|
+
{ name: "FULLNAME", label: "Owner Name", searchable: true },
|
|
5991
|
+
{ name: "Second_Owner_Name", label: "Second Owner Name", searchable: false },
|
|
5992
|
+
{ name: "MAILINGADDRESS", label: "Owner Mailing Address", searchable: false },
|
|
5993
|
+
{ name: "CITY", label: "Owner Mailing City", searchable: false },
|
|
5994
|
+
{ name: "STATE", label: "Owner Mailing State", searchable: false },
|
|
5995
|
+
{ name: "ZIPCODE", label: "Owner Mailing ZIP", searchable: false }
|
|
5996
|
+
],
|
|
5997
|
+
rowIdField: "PINWASSEMENTUNIT",
|
|
5998
|
+
multiple: "rows",
|
|
5999
|
+
maxRowsPerKey: 1e3,
|
|
6000
|
+
orderField: "OBJECTID_1",
|
|
6001
|
+
maxRecordCount: 1e3,
|
|
6002
|
+
lastVerified: "2026-11-11"
|
|
6003
|
+
},
|
|
6004
|
+
sampleQuery: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer/0/query?where=Name%3D%27133-11.00-8.00%27&outFields=Name&returnGeometry=false&f=json",
|
|
6005
|
+
license: "unknown",
|
|
6006
|
+
licenseUrl: null,
|
|
6007
|
+
status: "live",
|
|
6008
|
+
lastVerified: "2026-11-11",
|
|
6009
|
+
verifiedBy: "manual"
|
|
6010
|
+
}
|
|
6011
|
+
],
|
|
6012
|
+
contact: {
|
|
6013
|
+
department: "Sussex County Government, Geographic Information Office (the name of the parcel service's folder)",
|
|
6014
|
+
url: "https://map.sussexcountyde.gov/trdserver/rest/services/Geographic_Information_Office/Parcels_PIN/MapServer",
|
|
6015
|
+
email: null
|
|
6016
|
+
},
|
|
6017
|
+
notes: "Sussex County, Delaware (Georgetown; FIPS 10005). The county's own ArcGIS Server at map.sussexcountyde.gov publishes Geographic_Information_Office/Parcels_PIN, a MapServer it describes as 'Sussex County Delaware Tax Parcel Map with Related Ownership Information Table'. THE OWNERS ARE NOT ON THE PARCEL LAYER. Layer 0, 'Tax Parcels', holds the polygons (165,012 on 2026-11-11) and is documented here by one column: Name, which is the parcel's PIN (133-11.00-8.00: digits, dashes and dots, not zero-padded). It carries no owner and no site address. The owner rows are in table 1 of the same service, 'OwnershipInformation' (208,124 rows), keyed by PIN; the service itself relates the layer's Name to the table's PIN, one parcel to many rows, and this record names that table as the layer's owner join. The table has no geometry, so it is asked by key only (PIN IN a list of parcel PINs), never by location, and every row it returns must echo a key that was asked. On the table, FULLNAME is the owner (null or empty on none of its rows) and Second_Owner_Name a second owner; MAILINGADDRESS is the street line of the owner's mailing address (null or empty on 274 rows), and the city, state and ZIP are the separate columns CITY, STATE and ZIPCODE. A paid radius list carries the owner name and the mailing street line; the city, state and ZIP stay in the county table's columns and are not joined onto that line. SEVERAL ROWS PER PARCEL: 43,273 table rows (20.8%) carry an assessment unit, where PINWASSEMENTUNIT is the PIN, a dash and the unit; that column labels the rows of one PIN but is not unique, so a parcel's rows are told apart by the owner and mailing line they carry. One PIN holds 1,093 rows, more than the table returns to one query. Some parcels have no table row at all (51 neighbouring lots of map block 233-11.00 on 2026-11-10); they are served without an owner. NO SITE ADDRESS is published on the layer or the table, so an address lookup cannot be answered from this record: a search by PIN and a point or radius lookup are what it offers. Verified 2026-11-11: Name = '133-11.00-8.00' returned one parcel, the sample query's predicate; five PINs read off the layer were asked of the table and every row it returned echoed an asked key; UPPER(FULLNAME) LIKE '%SMITH%' counted 1,603 table rows. maxRecordCount is 1,000 on the layer and on the table, with pagination; capabilities Map, Query and Data; ArcGIS Server 11.3; native Web Mercator (WKID 102100); the server reflects the caller's Origin for CORS. TERMS: the service's copyright text reads 'Sussex County Government' and no license text is published on the service, so the license is recorded as unknown and the copyright text is carried as the credit. The contact URL is the parcel service's own page, which answered HTTP 200 on 2026-11-11; the county's website was not read. Credit: Sussex County Government",
|
|
6018
|
+
credit: "Sussex County Government",
|
|
6019
|
+
addedAt: "2026-11-11"
|
|
5958
6020
|
}
|
|
5959
6021
|
]
|
|
5960
6022
|
};
|
|
@@ -46223,4 +46285,4 @@ function citiesForCounty(stateSlug, countySlug) {
|
|
|
46223
46285
|
return citiesForCountyIn(SUMMARIES, stateSlug, countySlug).map((c) => ({ ...c, kinds: [...c.kinds], names: [...c.names] }));
|
|
46224
46286
|
}
|
|
46225
46287
|
|
|
46226
|
-
export { ACCESS_FLAGS, ACCESS_PRESETS, ACCESS_REASONS, ATLAS_COUNTY_PAGE_BASE, CITY_RECORD_LIMIT, CITY_STREET_MAX_LEN, COUNTY_RECHECK_REQUEST_MESSAGE, COUNTY_REQUEST_MESSAGE, COUNTY_REQUEST_URL, COVERAGE_REASONS, LIVE_STATUS_URL, NOT_IN_ATLAS_WHY, NO_PUBLIC_DATA_WHY, POINT_PLACEHOLDER, PRESET_FLAGS, accessBlocks, atlas, atlasIndex, buildCityQuery, buildParcelLookupDeepLink, canonicalLayerUrl, casesLocationTemplate, casesQueryUrl, citiesForCounty, citiesForCountyIn, cityDatasetDescriptors, cityDatasets, cityPath, cityPropertyIndex, cityZoningIndex, countyDownMessage, countyHasEndpoint, countyOffersAttributeSearch, countyPath, countySlugFromName, coverageAnswer, coverageAnswerText, coverageOverridesPause, currentZoningTemplate, findCity, findCityIn, findCounty, findCountyByFips, findState, flagsFor, getCityProperty, getCityZoning, isReviewedUnservable, listCities, listCountiesByState, listStates, mergeCityIndexes, offersAttributeSearch, offersPagination, pausedAnswer, pausedFlags, presetOf, propertyQueryUrl, requestHint, reviewedCapability, slugify, splitAddressStreetName, splitStreet, statePath, streetForDataset };
|
|
46288
|
+
export { ACCESS_FLAGS, ACCESS_PRESETS, ACCESS_REASONS, ATLAS_COUNTY_PAGE_BASE, CITY_RECORD_LIMIT, CITY_STREET_MAX_LEN, COUNTY_RECHECK_REQUEST_MESSAGE, COUNTY_REQUEST_MESSAGE, COUNTY_REQUEST_URL, COVERAGE_REASONS, LIVE_STATUS_URL, NOT_IN_ATLAS_WHY, NO_PUBLIC_DATA_WHY, POINT_PLACEHOLDER, PRESET_FLAGS, accessBlocks, atlas, atlasIndex, buildCityQuery, buildParcelLookupDeepLink, canonicalLayerUrl, casesLocationTemplate, casesQueryUrl, citiesForCounty, citiesForCountyIn, cityDatasetDescriptors, cityDatasets, cityPath, cityPropertyIndex, cityZoningIndex, countyDownMessage, countyHasEndpoint, countyOffersAttributeSearch, countyPath, countySlugFromName, coverageAnswer, coverageAnswerText, coverageOverridesPause, currentZoningTemplate, findCity, findCityIn, findCounty, findCountyByFips, findState, flagsFor, getCityProperty, getCityZoning, isReviewedUnservable, listCities, listCountiesByState, listStates, mergeCityIndexes, offersAttributeSearch, offersPagination, pausedAnswer, pausedFlags, presetOf, propertyQueryUrl, queryFieldName, requestHint, reviewedCapability, slugify, splitAddressStreetName, splitStreet, statePath, streetForDataset };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@urbankitstudio/atlas",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "JS SDK for the UrbanKit County Parcel REST API Atlas:
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "JS SDK for the UrbanKit County Parcel REST API Atlas: 539 counties across all 50 US states and DC, 522 verified public ArcGIS REST endpoints for county parcel data, with searchable field metadata, sample queries and license info, plus verified city code-violation, building-permit and zoning-case datasets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"parcel",
|
|
7
7
|
"arcgis",
|