Repository navigation
Vector Layer Projection Plan 3/3 - #100
Conversation
- add projection automation for WKT, EPSG, probing, and layer reprojection - add host mismatch choices, EPSG status, and generated EPSG:28992 fixture - document the Core-owned model and update shared project memory Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Julian-MW
left a comment
There was a problem hiding this comment.
Automated review. Final decision is with the human reviewer.
Solid phase-3 slice: the new IMapWinGISControlProjection is a clean separate dispatch interface with a fresh IID, correct ISupportErrorInfo and COM-map wiring, consistent COM error translation, and the rollback-on-failed-fit pattern in ReprojectLayer/ClearLayerReprojection mirrors the existing load path (verified safe against Core's Map/MapView semantics). Findings are minor: host-side CRS matching is weaker than Core's IsSame, layer projection getters return the source (not display) CRS, the probe does a full synchronous dataset open, and a few test-host/test-quality nits. Note: one CI job (cmake-vs-release-x64) was still running at review time.
- expose Core CRS matching and display projection state - add direct projection coverage and improve host diagnostics - fix dialog defaults and shapefile ring winding Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Motivation
Complete the ActiveX layer of the vector projection plan by exposing Core projection state and display reprojection to hosts.
Design
Adds the independent
IMapWinGISControlProjectioncapability, while the ActiveX test host owns the three-choice mismatch prompt and EPSG status. Reprojection remains display-only. The generated host fixture is a real EPSG:28992 shapefile.Dependencies and validation
Builds on Projection Phases 1 and 2. Debug CTest passed all 555 tests, the opt-in real ESRI-WKT test resolved EPSG:28992, and Debug and Release automated host runs passed. Shared ActiveX memory and projection lessons were updated.