cc00a439bf
Add a dedicated Deep Research view with postal-area preview overlays, batch execution, and bundled map results. Also add postal dataset import tooling and fix local API networking and research insert issues needed to support the new workflow.
750 B
750 B
Postal Datasets
Leads4less 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.geojsondb/datasets/postal/ca_fsa.geojson
You can override either path with environment variables when running the import script:
POSTAL_US_DATASET_PATHPOSTAL_CA_DATASET_PATH
Expected feature properties
The importer tries common field names automatically.
For US ZIP/ZCTA:
postal_codezipzctaGEOID20ZCTA5CE20ZCTA5CE10
For Canada FSA:
postal_codefsaCFSAUIDCFSAUID24
If your dataset uses different property names, update db/scripts/import-postal-areas.ts.