Getting all connectors/intersections for a distinct road #375
Replies: 1 comment 2 replies
-
|
Hi Nolan, maybe I can offer some insight; I'm an intern working on transportation at Overture. This is an excellent question, and touches on something extensively discussed within Overture. The mereological problem you're facing is a consequence of Overture's segmentation: the way in which the real-world transportation network is partitioned into discrete elements. This is a slightly contentious topic, as the "best" segmentation depends on the the final use case. At Overture, one of our segmentation rules is to split geometry on intersections between "major" roads, which loosely means "roads that cars drive on", and I think includes all of the road classes you listed. We're working on improving our docs for all this. With respect to your specific points:
Again, great question, and feel free to ask more! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, started playing with this data recently and had a few questions.
A bit of likely required context: I'm blind, so I literally can't see any visualizations and am working completely with numbers/theater of the mind. So apologies if these answers are obvious, or would be if I had working eyeballs. :) I'm currently building out my import/CLI tooling and it's very likely some or all of it has major issues I just don't know about.
I'm trying to identify intersection neighbors to the current intersection that are on a road. For my purposes, I define "road" as a segment likely named, likely to be traversed and oriented to. The goal is to describe someone's surroundings as them being on a specific known street rather than in some sidewalk/alley, at least for now. Ultimately I' trying to browse my map intersection-to-intersection.
Here's my Rust code for deciding that something is a "road," ultimately I want to pick out intersections only along these "roads," hopefully this makes it a bit clearer what the segment and ultimate intersection filter will look like.
The problem I'm running into is that, when I look at data for connectors/segments in my area, each segment appears to be a linestring from connector to connector. There are multiple points, it's just that I'd expect to see a longer segment with intersections along its length vs. just one short segment with intersections/connectors at each end. I don't know if this is right, or if I'm importing/processing data incorrectly. So I can browse between intersections like, say, streets intersecting driveways/walkways, but what I really need is some way to identify all segments as belonging to a specific "path", then I can iterate over all connectors along that super-segment and do the more detailed pattern-matching I need. So, specific questions:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions