fix(#242): ekburg_permits SSL — verify=False для CA Минцифры РФ #245

Closed
lekss361 wants to merge 2 commits from fix/242-ekburg-permits-russian-ca into main

2 commits

Author SHA1 Message Date
lekss361
3000fed7e9 fix(#242): ekburg_permits SSL — verify=False для CA Минцифры РФ 2026-05-17 08:46:06 +03:00
lekss361
2a47084ee5 feat(#126): Sub-PR A — NSPDClient.get_features_in_bbox_grid + engineering classifier
Add get_features_in_bbox_grid(layer_id, bbox, *, grid_n=7, step_m=50) to NSPDClient:
delegates grid_n×grid_n WMS GetFeatureInfo calls via NSPDBulkClient.wms_feature_info
(async httpx + Semaphore(3)), deduplicates by feature_id/cad_num/reg_numb_border.

Deprecate get_features_in_bbox (single-pixel, 0-3 results) in docstring — not removed,
used by search_by_quarter (Sub-PR B).

Add classify_engineering_kind(properties) in nspd_denorm.py — regex classifier for
layer 36328 structures: water/sewage/gas/heat/electric/other.

Tests: 31 unit tests (mock-based, no live HTTP), 1 integration skip placeholder.
Foundation only — no behaviour change in harvest_quarter (Sub-PR B).
2026-05-17 08:44:01 +03:00