…ections
New reading-loss cases, each a clean file against the same file with one
loss:
- TopoJSON: a measure ([x, y, null, m]) on every position and on one.
- CSV: a measure in WKT (POINT M) and on a WKT line (LINESTRING M).
- GML: a measure, as a 4-D posList (srsDimension="4"), since GML can't
mark a 3-D position as XYM.
- GeoJSON: a two-member geometry collection, which the reader rejects
rather than keep part of it.
The measures give the DroppedZm notice and the collection DroppedFeature
("unreadable geometry"). The inventory's TopoJSON, delimited-text, GML
and GeoJSON rows move these to the covered column.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New reading-loss cases, each a clean file against the same file with one loss:
The measures give the DroppedZm notice and the collection DroppedFeature ("unreadable geometry"). The inventory's TopoJSON, delimited-text, GML and GeoJSON rows move these to the covered column.
Summary
Fills four gaps in the reading-loss tests (
crates/engine/tests/integration/never_silent_reading.rs), following the pattern of #3419. Each case pairs a clean file with the same file holding one loss. The readers already say each of these losses, so no reader changes.[[0,0],[1,1]][[0,0,null,7],[1,1,null,8]]Classified(DroppedZm, "Z or M")[[0,0],[1,1]][[0,0],[1,1,null,8]]Classified(DroppedZm, "Z or M")POINT(1 2)POINT M(1 2 4)Classified(DroppedZm, "Z or M")LINESTRING(0 0,1 1)LINESTRING M(0 0 7,1 1 8)Classified(DroppedZm, "Z or M")posListsrsDimension="4":48 10 5 7 49 11 6 8Classified(DroppedZm, "Z or M")GeometryCollectionClassified(DroppedFeature, "unreadable geometry")The coverage inventory (
crates/engine/testdata/reading-losses/README.md) moves these to the covered column of the TopoJSON, delimited-text, GML and GeoJSON rows.Notes for review:
geometry_from_geojsonrejects a multi-member collection instead of keeping part of it, so the feature is left out with the generic "1 features had unreadable geometry" (DroppedFeature). It doesn't say the geometry was a collection of several members, which the reader can't keep. Would you like a specific notice for this? I've left the reader unchanged here. (The notice also says "1 features"; that plural is in the existing message.)ROADMAP › Correct results (open item).
Testing
cargo test -p rustgis-engine --test integration: 246 passed, includingnever_silent_reading::andread_routes::.Silent("probe"). The test failed with "a new notice …" for every one (DroppedZm for the TopoJSON, CSV and GML cases, DroppedFeature for the GeoJSON one). Then I restored them.cargo fmt --all --check, clippy-D warnings(the packagescargo xtask changed --listnames),cargo xtask layers|attribution|rows|schema --check|test-hygieneandpre-commit run --all-filesall pass.cargo test --workspace --no-fail-faston Windows had three failures, all in code this PR doesn't touch:cog_windows_stand_in_the_level_kept_until_their_tiles_arriveis the known Windows failure (Flaky test: cog_windows_stand_in_the_level_kept_until_their_tiles_arrive fails 'no holes' in full local runs #2687).cloud_optimised_geotiffs_are_read_in_place(engine) andrelay::archive_tests::padded_archive_commands_use_the_worker_and_keep_admission_and_landing_boundaries(assistant) both pass when run on their own, so they look load-sensitive under the full parallel run.Reach every surface: tests only. No reader, command or UI change, so no surface needs anything.
UI evidence
No visible UI change.
Related issue
Part of ROADMAP › Correct results (open item; no issue needed). Follows #3419.
🤖 Generated with Claude Code
Summary by CodeRabbit