feat(cadastre): per-category NSPD snapshot — Phase 1.5 (ZOUIT/ENK) #180

Merged
lekss361 merged 1 commit from fix/cadastre-per-category-snapshot into main 2026-05-15 13:53:49 +00:00

1 commit

Author SHA1 Message Date
lekss361
df5034fe29 feat(cadastre): per-category NSPD snapshot — Phase 1.5 (ZOUIT/ENK)
Switch base search_by_quarter from thematicSearchId=1 to thematic=1
(includes ZOUIT in features). Add optional category_id param that routes
ZOUIT (36940/469039/469040/469042) -> thematicSearchId=5,
ENK (39663) -> thematicSearchId=15.

Add Phase 1.5 in harvest_quarter: for each PER_CATEGORY_PROBE_CATS
category present in meta_counts (meta_total>0), run dedicated
per-category search call. Skips if category in GRID_WALK_CATS and
bbox is valid (grid-walk gives better coverage).

Curl-probe confirmed NSPD API caps at 20/category with no pagination;
categoryId param is server-ignored; thematic=1 strictly better than
thematicSearchId=1 (includes ZOUIT).

Closes part of #168 (ZOUIT/ENK coverage gap).
2026-05-15 16:48:59 +03:00