Repository navigation
fix(map): only Winkel Tripel reads +lat_1, as the reader does - #1822
Conversation
Projector::new checked +lat_1 for every world projection, so it refused a Natural Earth or Eckert IV definition the reader accepts. No preset or code gives one today.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewReviewed the one-file change to Bugs: None. The match guard compiles against the in-scope Security: None. Performance: None. Quality: Nit, optional. The guard arm ( AGENTS.md: No violations. No Test coverage: No test is added. This is acceptable because the map's inputs can't reach the branch: Earlier review threads: None existed, so none were left alone. Checked and not raised: The map matches No inline comments were posted. Change sizeCompared with
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. |
Summary
Follow-up to #1781, which merged while this last review fix was on its way.
Projector::newchecked+lat_1for every world projection it computes, so it refused a Natural Earth or Eckert IV definition with a+lat_1that the reader (WorldProjection::from_proj4) accepts and ignores, as PROJ does. The map now reads+lat_1for Winkel Tripel only, so the two agree on a definition.Reachability is low today: the map takes a preset, an EPSG code or an ESRI code from its table, and none gives these projections a
+lat_1. Raised by the review of #1781 (thread oncrates/map/src/projection.rs).Testing
cargo clippy -p rustgis-map --all-targets -- -D warningsandcargo test -p rustgis-map --lib(295 passed) on Linux. No new test: no map code reaches the branch.UI evidence
No visible UI change.
Summary by CodeRabbit