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

Incorporate adjacency information into segment-level data #224

Open
bpben opened this issue Jan 5, 2019 · 3 comments
Open

Incorporate adjacency information into segment-level data #224

bpben opened this issue Jan 5, 2019 · 3 comments

Comments

@bpben
Copy link
Collaborator

bpben commented Jan 5, 2019

We should include information about adjoining segments in with segment-level information, likely at the creation of intersection and non-intersection jsons. This empowers use to use that adjacency information in other stages. We don't have anything built out at the moment that would consume this data, but it's likely this type of spatial information is really important.

@j-t-t , assigning this to you, but @terryf82 , not sure if this alters data standards significantly?

@terryf82
Copy link
Collaborator

terryf82 commented Jan 6, 2019

@bpben it will change it, whether that change is significant depends on what we want to add. Either way it sounds like a worthwhile extension so I have no problem changing the standard.

What does a given segment need to include about its adjoining segments to be useful?

@j-t-t
Copy link
Collaborator

j-t-t commented Jan 8, 2019

It would be fairly straightforward to add a list of segment ids that are connected with each segment id. Is that helpful on its own, or would we need to start representing the set of segments as a graph in order to take advantage of this?

@bpben
Copy link
Collaborator Author

bpben commented Jan 8, 2019

Seems like there's three options here:

  1. Your idea, Jenny, just a list of segment_ids that are connected, which would just require some manipulation after to create an adjacency graph.
  2. Including the original segment ID from the source map, which would basically be the same as 1, as I see it
  3. Some kind of stored graph structure

I'd say 1 or 2 makes the most sense, though I guess it is dependent on what kind of spatial features we want to generate. For now, I was just thinking something simple like the number of connections, direction of connections, etc.

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

3 participants