Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tolerate (but don't fully render) complex polygons #1201

Merged
merged 2 commits into from
Sep 30, 2013

Conversation

DavidHudlow
Copy link

This patches the problem with complex polygons completely failing
triangulation. Instead, complex areas of the polygon will not render,
but instead be skipped over. This allows polygons which are have only small
"complexities" to still render (almost) correctly.

Should get b21 in shape until complex polygon rendering can be sorted out.

(Fix #1121)

David Hudlow added 2 commits September 27, 2013 17:25
This patches the problem with complex polygons completely failing
triangulation. Instead, complex areas of the polygon will not render,
but
instead be skipped over. This allows polygons which are have only small
"complexities" to still render (almost) correctly.
@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 30, 2013

Thanks @DavidHudlow. This is a reasonable approach for b21. I'll test the JSON files now.

There is a test failure that I fixed in #1208 (another test was wrong). In general, always run the tests before opening a pull request.

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 30, 2013

This works well. I'll merge after #1208 is merged.

@mramato
Copy link
Contributor

mramato commented Sep 30, 2013

@pjcozzi I just merged your PR, you are good to merge this.

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 30, 2013

That was fast, thanks.

pjcozzi added a commit that referenced this pull request Sep 30, 2013
Tolerate (but don't fully render) complex polygons
@pjcozzi pjcozzi merged commit 92babfa into CesiumGS:master Sep 30, 2013
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.

Polygon triangulation is broken for US states
3 participants