Skip to content

fix: allow CCW polygons in MVT#277

Open
keiya01 wants to merge 1 commit intogeorust:mainfrom
keiya01:fix/ccw-mvt
Open

fix: allow CCW polygons in MVT#277
keiya01 wants to merge 1 commit intogeorust:mainfrom
keiya01:fix/ccw-mvt

Conversation

@keiya01
Copy link

@keiya01 keiya01 commented Dec 18, 2025

  • I agree to follow the project's code of conduct.
  • I added an entry to the project's change log file if knowledge of this change could be valuable to users.
    • Usually called CHANGES.md or CHANGELOG.md
    • Prefix changelog entries for breaking changes with "BREAKING: "

Thank you for this amazing project.

I encountered an unexpected error when parsing MVT geometry using ToGeo.
The error was MvtError::GeometryFormat, and it occurred when the MVT geometry contained a counter-clockwise (CCW) exterior polygon.

My proposal may not strictly follow the MVT specification, but it should handle a wider range of real-world data.

@keiya01 keiya01 force-pushed the fix/ccw-mvt branch 5 times, most recently from 26b6e19 to f92e9d4 Compare December 30, 2025 03:32
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