Skip to content

Vector Layer Projection Plan 3/3 - #100

Merged
pmeems merged 2 commits into
developmentfrom
phase-3-activex-projection
Nov 27, 2026
Merged

pmeems merged 2 commits into
developmentfrom
phase-3-activex-projection

Conversation

@pmeems

@pmeems pmeems commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Motivation

Complete the ActiveX layer of the vector projection plan by exposing Core projection state and display reprojection to hosts.

Design

Adds the independent IMapWinGISControlProjection capability, 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.

- 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>
Copilot AI balanced review requested due to automatic review settings November 27, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@Julian-MW Julian-MW left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Copilot AI balanced review requested due to automatic review settings November 27, 2026 18:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@pmeems
pmeems enabled auto-merge (squash) November 27, 2026 18:48
@pmeems
pmeems merged commit 4cb5b0f into development Nov 27, 2026
17 checks passed
@pmeems
pmeems deleted the phase-3-activex-projection branch November 27, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants