Initial commit — multi-tenant filtering, port constraints, chart bbox

This commit is contained in:
2026-05-04 22:41:09 -04:00
parent c3b07be67e
commit fcf1d2787a
1102 changed files with 7353 additions and 1166 deletions
+13
View File
@@ -0,0 +1,13 @@
import json
from pathlib import Path
for chart in ["BARRANQUILLA", "BAHÍA_DE_CARTAGENA"]:
p = Path(r"D:\Proyectos Software\AR ECDIS\webecdis\data\charts\manual") / chart / "LIGHTS.geojson"
if not p.exists():
print(f"{chart}: no LIGHTS.geojson"); continue
feats = json.loads(p.read_text(encoding="utf-8"))["features"]
with_orient = [f for f in feats if f["properties"].get("ORIENT") is not None]
print(f"\n{chart}: {len(with_orient)}/{len(feats)} features have ORIENT")
for f in with_orient[:6]:
pr = f["properties"]
print(f" {pr.get('OBJNAM','?'):30s} ORIENT={pr['ORIENT']}")