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

Polygon with Holes and Multi Geometries #130

Closed
JanniePienaar77 opened this issue Mar 16, 2017 · 2 comments
Closed

Polygon with Holes and Multi Geometries #130

JanniePienaar77 opened this issue Mar 16, 2017 · 2 comments

Comments

@JanniePienaar77
Copy link

Hi,

We are building a proof of concept using Cesium and using the czml-writer. The latest version (master download (zip)), does not have the Polygon algorithms included and also the Shapefile projects have been removed from the project. Is the functionality like "eliminateHoles" to serialize data into a polygon with holes moved or how is this supported going forward with the project?
I have read previous forum posts that this is supported, can you please give me direction regarding this.

Thanks
Jannie

@shunter
Copy link
Member

shunter commented Mar 16, 2017

CZML does not yet support polygons with holes. See CesiumGS/cesium#3826.

In the meantime, you are welcome to take ownership of the last version of the polygon algorithms code in your application:

https://github.com/AnalyticalGraphicsInc/czml-writer/blob/e951af7a950f4648749d964b21dc809adeca9e5b/DotNet/GeometricComputations/PolygonAlgorithms.cs

Alternatively, you may be able to find another geometry library which has more full-featured support for polygon hole elimination.

@JanniePienaar77
Copy link
Author

Thank you Scott.

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

No branches or pull requests

2 participants