Skip to content
New issue

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

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

Already on GitHub? # to your account

Add a function to compute start and/or end of a way to write in a way:Layer #514

Open
BenOnTrack opened this issue Jul 31, 2023 · 0 comments

Comments

@BenOnTrack
Copy link

While processing ways, there should be a similar function as "LayerAsCentroid" that would write the start and/or end of the way in the layer (if possible configurable - nice to have). Be aware of ways that may not have start/end, such as "loop" ways (unless there would always be a start/end, based on how the way has been built on the pbf?).

That'd be great to have a similar function for relation, but you may face issue if the ways are not contiguous - unless we could have a check that returns nil if the relation is "discontinued, and that returns start and/or end if not.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant