@urbankitstudio/atlas 0.6.33 → 0.6.35
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/README.md +15 -5
- package/data/city-property/fort-worth.json +1 -1
- package/data/city-property/los-angeles.json +1 -1
- package/data/city-property/orlando.json +5 -3
- package/data/city-property/scottsdale.json +1 -1
- package/data/city-zoning/orlando.json +2 -1
- package/data/index.json +7 -7
- package/data/mississippi.json +5012 -7
- package/data/tennessee.json +56 -1
- package/dist/index.cjs +5499 -365
- package/dist/index.d.cts +24 -4
- package/dist/index.d.ts +24 -4
- package/dist/index.js +5499 -365
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -413,8 +413,10 @@ interface PropertyFieldMap {
|
|
|
413
413
|
addressParts?: string[];
|
|
414
414
|
/**
|
|
415
415
|
* Column holding the street NUMBER on its own. When set, a typed "number
|
|
416
|
-
* name" street is matched as `address LIKE %name% AND streetNumber = number
|
|
417
|
-
*
|
|
416
|
+
* name" street is matched as `address LIKE %name% AND streetNumber = number`,
|
|
417
|
+
* and a name typed without a number is matched on the name alone, with the
|
|
418
|
+
* same leading-direction and trailing-type trimming; unset, the search is the
|
|
419
|
+
* plain substring match.
|
|
418
420
|
*/
|
|
419
421
|
streetNumber?: string;
|
|
420
422
|
recordNumber?: string;
|
|
@@ -450,6 +452,12 @@ interface PropertyDataset {
|
|
|
450
452
|
where?: string;
|
|
451
453
|
/** How the streetNumber column is typed at the source. Default "text". */
|
|
452
454
|
streetNumberType?: "text" | "number";
|
|
455
|
+
/**
|
|
456
|
+
* Set only on a table measured to store a run of spaces after the house number
|
|
457
|
+
* (Orlando): the longest run to try, 1 to 8. The address search then ORs the typed
|
|
458
|
+
* text with 1..N spaces in that gap; unset, it matches the typed spacing exactly.
|
|
459
|
+
*/
|
|
460
|
+
houseNumberSpaceRuns?: number;
|
|
453
461
|
/** The newest value of the date column seen at the last verification (YYYY-MM-DD). */
|
|
454
462
|
latestRecordDate?: string;
|
|
455
463
|
/** One sober line stating the time span the dataset actually covers. */
|
|
@@ -544,6 +552,8 @@ interface CasesSource {
|
|
|
544
552
|
* resolve the address to a parcel id, join through a crosswalk dataset.
|
|
545
553
|
*/
|
|
546
554
|
lookup?: "address" | "location" | "parcel";
|
|
555
|
+
/** As on PropertyDataset: the longest run of spaces after the house number to try, set only where measured. */
|
|
556
|
+
houseNumberSpaceRuns?: number;
|
|
547
557
|
geocoder?: GeocoderConfig;
|
|
548
558
|
resolver?: {
|
|
549
559
|
provider: "nyc-geosearch";
|
|
@@ -643,7 +653,8 @@ interface SplitStreet {
|
|
|
643
653
|
* "1422 N Western Ave" -> { number: "1422", name: "Western" }. Null when the
|
|
644
654
|
* typed street carries no leading house number, which makes the caller fall
|
|
645
655
|
* back to the plain substring match. A unit glued to the number ("1422A",
|
|
646
|
-
* "1422-B") is dropped; the name keeps at least one token.
|
|
656
|
+
* "1422-B") is dropped; the name keeps at least one token. A first token that
|
|
657
|
+
* is an ordinal street name ("88th St", "3rd Ave") is no house number.
|
|
647
658
|
*/
|
|
648
659
|
declare function splitStreet(street: string): SplitStreet | null;
|
|
649
660
|
/**
|
|
@@ -665,7 +676,16 @@ declare function splitStreet(street: string): SplitStreet | null;
|
|
|
665
676
|
* unit or range stays with it: "1422A", "1252-1270"), then one leading
|
|
666
677
|
* directional (N S E W NE NW SE SW, or the full words), then one trailing
|
|
667
678
|
* street type (optional period). The name keeps at least one token, so a lone
|
|
668
|
-
* number or a lone type is sent as typed.
|
|
679
|
+
* number or a lone type is sent as typed. A strip that leaves a lone letter, no
|
|
680
|
+
* letter or digit, or a lone direction or type word with no real type after it
|
|
681
|
+
* ('N St' would become 'St', '100 St' too) is not applied. When a real strip
|
|
682
|
+
* came off, the typed tokens go without the house number (the name column owns
|
|
683
|
+
* none): '100 N St' sends 'N St'. When only the number did, the street goes as
|
|
684
|
+
* typed: '100 %' and '100 E' stay as they are, never '%' or 'E'. A type word with
|
|
685
|
+
* a real type after it is a name: '100 Court St' sends 'Court'. A spelled-out
|
|
686
|
+
* direction with a type on a table with a type column ('2600 South Blvd',
|
|
687
|
+
* '100 North Ave') is the street South or North and sends 'South' or 'North'.
|
|
688
|
+
* Unchanged when the parts give no
|
|
669
689
|
* role: no parts, the name column not among them, or a mapped number column
|
|
670
690
|
* (then the split clause in propertyQueryUrl owns the number).
|
|
671
691
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -413,8 +413,10 @@ interface PropertyFieldMap {
|
|
|
413
413
|
addressParts?: string[];
|
|
414
414
|
/**
|
|
415
415
|
* Column holding the street NUMBER on its own. When set, a typed "number
|
|
416
|
-
* name" street is matched as `address LIKE %name% AND streetNumber = number
|
|
417
|
-
*
|
|
416
|
+
* name" street is matched as `address LIKE %name% AND streetNumber = number`,
|
|
417
|
+
* and a name typed without a number is matched on the name alone, with the
|
|
418
|
+
* same leading-direction and trailing-type trimming; unset, the search is the
|
|
419
|
+
* plain substring match.
|
|
418
420
|
*/
|
|
419
421
|
streetNumber?: string;
|
|
420
422
|
recordNumber?: string;
|
|
@@ -450,6 +452,12 @@ interface PropertyDataset {
|
|
|
450
452
|
where?: string;
|
|
451
453
|
/** How the streetNumber column is typed at the source. Default "text". */
|
|
452
454
|
streetNumberType?: "text" | "number";
|
|
455
|
+
/**
|
|
456
|
+
* Set only on a table measured to store a run of spaces after the house number
|
|
457
|
+
* (Orlando): the longest run to try, 1 to 8. The address search then ORs the typed
|
|
458
|
+
* text with 1..N spaces in that gap; unset, it matches the typed spacing exactly.
|
|
459
|
+
*/
|
|
460
|
+
houseNumberSpaceRuns?: number;
|
|
453
461
|
/** The newest value of the date column seen at the last verification (YYYY-MM-DD). */
|
|
454
462
|
latestRecordDate?: string;
|
|
455
463
|
/** One sober line stating the time span the dataset actually covers. */
|
|
@@ -544,6 +552,8 @@ interface CasesSource {
|
|
|
544
552
|
* resolve the address to a parcel id, join through a crosswalk dataset.
|
|
545
553
|
*/
|
|
546
554
|
lookup?: "address" | "location" | "parcel";
|
|
555
|
+
/** As on PropertyDataset: the longest run of spaces after the house number to try, set only where measured. */
|
|
556
|
+
houseNumberSpaceRuns?: number;
|
|
547
557
|
geocoder?: GeocoderConfig;
|
|
548
558
|
resolver?: {
|
|
549
559
|
provider: "nyc-geosearch";
|
|
@@ -643,7 +653,8 @@ interface SplitStreet {
|
|
|
643
653
|
* "1422 N Western Ave" -> { number: "1422", name: "Western" }. Null when the
|
|
644
654
|
* typed street carries no leading house number, which makes the caller fall
|
|
645
655
|
* back to the plain substring match. A unit glued to the number ("1422A",
|
|
646
|
-
* "1422-B") is dropped; the name keeps at least one token.
|
|
656
|
+
* "1422-B") is dropped; the name keeps at least one token. A first token that
|
|
657
|
+
* is an ordinal street name ("88th St", "3rd Ave") is no house number.
|
|
647
658
|
*/
|
|
648
659
|
declare function splitStreet(street: string): SplitStreet | null;
|
|
649
660
|
/**
|
|
@@ -665,7 +676,16 @@ declare function splitStreet(street: string): SplitStreet | null;
|
|
|
665
676
|
* unit or range stays with it: "1422A", "1252-1270"), then one leading
|
|
666
677
|
* directional (N S E W NE NW SE SW, or the full words), then one trailing
|
|
667
678
|
* street type (optional period). The name keeps at least one token, so a lone
|
|
668
|
-
* number or a lone type is sent as typed.
|
|
679
|
+
* number or a lone type is sent as typed. A strip that leaves a lone letter, no
|
|
680
|
+
* letter or digit, or a lone direction or type word with no real type after it
|
|
681
|
+
* ('N St' would become 'St', '100 St' too) is not applied. When a real strip
|
|
682
|
+
* came off, the typed tokens go without the house number (the name column owns
|
|
683
|
+
* none): '100 N St' sends 'N St'. When only the number did, the street goes as
|
|
684
|
+
* typed: '100 %' and '100 E' stay as they are, never '%' or 'E'. A type word with
|
|
685
|
+
* a real type after it is a name: '100 Court St' sends 'Court'. A spelled-out
|
|
686
|
+
* direction with a type on a table with a type column ('2600 South Blvd',
|
|
687
|
+
* '100 North Ave') is the street South or North and sends 'South' or 'North'.
|
|
688
|
+
* Unchanged when the parts give no
|
|
669
689
|
* role: no parts, the name column not among them, or a mapped number column
|
|
670
690
|
* (then the split clause in propertyQueryUrl owns the number).
|
|
671
691
|
*/
|