by at_a_remove · 5y ago · 0 comments
Even the slightest nudge of a single coordinate point on the line would mean that they were not geometrically identical, so I would not know to compare their attributes. Names are almost laughably bad for this purpose, for having multiple forms ("N SECOND ST" vs "NORTH 2ND STREET") and for being terrifying vague (so many, many Main Streets). Worse yet, a given segment might be split at a point not an intersection (speed change occurs here, municipality change, directionality change, road type change, etc) so I cannot even rely on those. And it is entirely possible for different maps to include a driveway, splitting a street at that point, while another does not, leaving it continuous.
Large-scale automated comparison of this kind of thing is challenging.
It's _much_ easier for automated comparison to replace `street` with `st` than it is to guess which one of many possible expansions to replace `st` with (is it saint? street? sankt? strasse?).
This isn't foolproof but much of the "authoritative" data out there has no such convention, making analysis much more dangerous.
> SharedStreets Referencing System is a global, non-proprietary system for describing streets. The Referencing System is the foundation of the SharedStreets toolkit and it is used to connect a wide range of street-linked data. The Referencing System connects street data from private companies and cities. Referenced data can then be transferred between different maps seamlessly.
I think it can align maps that have similar streets that may not align perfectly coordinate wise.
libpostal (open source, open data location parser) might help with this. Between using it to parse the name, and supplementing this with the city name (using reverse geocode with imprecise coordinates), you might be able to get something useful.