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

Define geometries of placeholder features #55

Open
clarisma opened this issue Nov 17, 2022 · 1 comment
Open

Define geometries of placeholder features #55

clarisma opened this issue Nov 17, 2022 · 1 comment
Labels
clarify Spec is unclear about behavior

Comments

@clarisma
Copy link
Owner

clarisma commented Nov 17, 2022

  • A placeholder Way has no nodes (should have 2 zero nodes to make processing consistent)
  • All other geometry-related methods return an X-coordinates of Integer.MIN_VALUE to indicate that the feature’s location is invalid/unknown (should invalid coordinates be 0/0 instead?)
@clarisma clarisma added todo A feature that has been specified, but not yet implemented clarify Spec is unclear about behavior and removed todo A feature that has been specified, but not yet implemented labels Nov 17, 2022
@clarisma clarisma changed the title Implement Feature.isPlaceholder() Define geometries of placeholder features Nov 18, 2022
@clarisma
Copy link
Owner Author

According to JTS:

  • LINESTRING(0 0, 0,0) is not valid.
  • EMPTY LINESTRING is valid.

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