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

geoCircle produces an open LinearRing #289

Open
llamington opened this issue Jun 28, 2024 · 0 comments
Open

geoCircle produces an open LinearRing #289

llamington opened this issue Jun 28, 2024 · 0 comments

Comments

@llamington
Copy link

The GeoJSON spec states that a polygon's LinearRings should be closed. The geoCircle function does not necessarily produce a closed LinearRing (first element does not equal the last element).

Test script:

geoCircle().center([-74.006, 40.7128]).radius(8.993216059187306)()

First element:

[
  -85.42210701073721,
  38.73562276218336,
]

Last element:

[
  -85.42210701073715,
  38.73562276218316,
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant