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

Should Way.toGeometry() return LinearRing for closed ways? #58

Open
clarisma opened this issue Nov 18, 2022 · 0 comments
Open

Should Way.toGeometry() return LinearRing for closed ways? #58

clarisma opened this issue Nov 18, 2022 · 0 comments
Labels
clarify Spec is unclear about behavior

Comments

@clarisma
Copy link
Owner

clarisma commented Nov 18, 2022

Currently, it always returns LineString if Way does not represent an area.

  • Docs say it could return LinearRing for closed ways)

  • However, it is not a GeoJSON type.

  • It is also not an official WKT type.

@clarisma clarisma added the clarify Spec is unclear about behavior label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarify Spec is unclear about behavior
Projects
None yet
Development

No branches or pull requests

1 participant