Public Access
1
0
Files
leads4less/db/datasets
pguerrerox f1a46c79f2 feat: add billing plan foundations and refresh LocaleScope pricing
Introduce a shared pricing and entitlement model so plan metadata can drive public pricing and future subscription enforcement. Rebrand the product to LocaleScope and align the UI copy around market intelligence and business research workflows.
2026-05-13 03:50:29 +00:00
..

Postal Datasets

LocaleScope expects local GeoJSON files for deep research postal overlays.

Supported v1 datasets

  • US ZIP/ZCTA polygons
  • Canada FSA polygons

Default file locations

  • db/datasets/postal/us_zcta.geojson
  • db/datasets/postal/ca_fsa.geojson

You can override either path with environment variables when running the import script:

  • POSTAL_US_DATASET_PATH
  • POSTAL_CA_DATASET_PATH

Expected feature properties

The importer tries common field names automatically.

For US ZIP/ZCTA:

  • postal_code
  • zip
  • zcta
  • GEOID20
  • ZCTA5CE20
  • ZCTA5CE10

For Canada FSA:

  • postal_code
  • fsa
  • CFSAUID
  • CFSAUID24

If your dataset uses different property names, update db/scripts/import-postal-areas.ts.