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

Is it possible to add a 'level' info? #57

Open
lmdc45 opened this issue Oct 23, 2019 · 3 comments
Open

Is it possible to add a 'level' info? #57

lmdc45 opened this issue Oct 23, 2019 · 3 comments

Comments

@lmdc45
Copy link

lmdc45 commented Oct 23, 2019

for instance I would have

  • ground level:0
  • bridge:1
  • Underground:-1

At this stage I got small issues with some path going from under the bridge straight to the bridge, as lines are crossing...

I am trying to eliminate common/near vertexes on these locations as a way to solve it, however was wondering if it would be possible another way.

Thanks

@perliedman
Copy link
Owner

Hi, it would definitely be interesting to incorporate something like this, but at the moment there is no support: all vertices that are sufficiently close will be considered as a node in the graph.

I think changing this would only need to affect the topology.js function, which is responsible for turning the LineStrings into nodes and edges.

@lmdc45
Copy link
Author

lmdc45 commented Oct 26, 2019

Ok thanks.
I am not an expert so will try not to touch topology.js.
I will try to work on the geojson data first, to avoid close nodes in intersection if different levels.

@lmdc45
Copy link
Author

lmdc45 commented Oct 28, 2019

In fact this seems quite similar to issue #25 , will look at adding z coords

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

No branches or pull requests

2 participants