Skip to content

OverlayEdge: Don't skip first point when adding coordinates#1187

Open
dbaston wants to merge 1 commit intolocationtech:masterfrom
dbaston:overlayedge-addcoords-fix
Open

OverlayEdge: Don't skip first point when adding coordinates#1187
dbaston wants to merge 1 commit intolocationtech:masterfrom
dbaston:overlayedge-addcoords-fix

Conversation

@dbaston
Copy link
Copy Markdown
Contributor

@dbaston dbaston commented Mar 27, 2026

The isFirstEdge logic in OverlayEdge::addCoordinates appears to be backwards. It works out OK because it is only used to construct rings, and the dropped point ends up being added later on, with the ring being "rotated" by one vertex.

However, problems arise when extending this function to handle coordinates from CircularString because dropping the first point of the first arc causes a control point to be interpreted as an endpoint.

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.

1 participant