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

List way membership of points #39

Open
PanierAvide opened this issue Jul 15, 2015 · 4 comments
Open

List way membership of points #39

PanierAvide opened this issue Jul 15, 2015 · 4 comments

Comments

@PanierAvide
Copy link

Hello,
I think it could be interesting to keep track of the nodes identifiers in OSM way-based features, for example by adding an array of nodes ID in feature properties. This would allow some advanced processing (like finding a door direction along a wall). Do you think it can be implemented ?

@tyrasd
Copy link
Owner

tyrasd commented Jul 15, 2015

Hmm. Wouldn't it be better to perform this kind of analysis on the OSM data before converting it to geojson? Then, you could simply have separate information like "door with id x belongs to building with id y" alongside the geojson geometries…

@PanierAvide
Copy link
Author

Well, let's consider it reversed: if you consider that a node may have the list of ways it belongs to, the same way that a feature knows to which relations it belongs, would it be more interesting to implement ? The goal is to avoid two-time parsing for performance reasons.

@tyrasd
Copy link
Owner

tyrasd commented Jul 16, 2015

Ok, that does indeed sound like a useful information to have!

@tyrasd tyrasd changed the title List the nodes ID of a way List way membership of points Jul 16, 2015
@PanierAvide
Copy link
Author

Nice, thank you for this great library and your openness to new functionalities ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants