Releases: TaskarCenterAtUW/TDEI-python-lib-osw-validation
Releases · TaskarCenterAtUW/TDEI-python-lib-osw-validation
v0.3.2
v0.3.1
0.2.16
v0.3.0
v0.2.15
v0.2.14
v0.2.13
v0.2.12
Added
- Per-geometry schema support: auto-picks Point/LineString/Polygon schemas with sensible defaults.
- Structured per-feature issues output (former “fixme”): one best, human-friendly message per feature.
- Friendly error formatter:
- Compacts
Enumerrors. - Summarizes
anyOfby unioning required keys → “must include one of: …”.
- Compacts
_feature_index_from_error()to reliably extractfeature_indexfromjsonschema_rserror paths._get_colset()utility for safe set extraction with diagnostics for missing columns.- Unit tests covering helpers, schema selection, and issues aggregation.
Changed
validate()now streamsjsonschema_rserrors; legacyerrorslist remains but is capped bymax_errors.ValidationResultnow includesissues.- Schema selection prefers geometry from the first feature; falls back to filename heuristics (
nodes/points,edges/lines,zones/polygons).
Fixed
- Robust GeoJSON/extension handling:
- Safe fallback to index when
_idis missing. - Non-serializable property detection in extensions (with clear messages).
- Safe fallback to index when
- Safer flattening of
_w_id(list-like) for zone validations.
What's Changed
Full Changelog: 0.2.11...0.2.12