Skip to content

Revert "Fix missing points (#919)"#923

Merged
matzf merged 2 commits into
mainfrom
feature/revert-919
May 18, 2026
Merged

Revert "Fix missing points (#919)"#923
matzf merged 2 commits into
mainfrom
feature/revert-919

Conversation

@matzf
Copy link
Copy Markdown
Contributor

@matzf matzf commented May 18, 2026

Revert "Fix missing Points (#919)" and the subsequent (icomplete) fix up for tests.

Fix for the problem addressed by #919 is to increase the "extent".

@matzf matzf requested a review from maurhofer-ubique May 18, 2026 13:37
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d50d59cd80

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +149 to 150
if (geoJson->hasOnlyPoints) {
options.maxZoom = options.minZoom;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve default maxZoom for point-only GeoJSON sources

Reverting this condition to if (geoJson->hasOnlyPoints) makes every point-only source collapse to a single zoom level by setting options.maxZoom = options.minZoom, and minZoom defaults to 0 when the style omits it (Tiled2dMapVectorLayerParserHelper.cpp only sets options.minZoom when minzoom is present). In the common case of GeoJSON sources without explicit minzoom, this forces all symbols through z0 geometry and reintroduces the missing-point behavior (points get dropped at runtime due to coarse matching/collision ownership) that #919 fixed.

Useful? React with 👍 / 👎.

@matzf
Copy link
Copy Markdown
Contributor Author

matzf commented May 18, 2026

Note: baseline benchmark runs on main branch are failing, this is effectively what we fix in this PR.

@matzf matzf merged commit 23a56af into main May 18, 2026
6 of 7 checks passed
@matzf matzf deleted the feature/revert-919 branch May 18, 2026 13: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.

2 participants