openmaptiles/tests/import
Brian Sperlongano bc9bbd2e67
Coalesce duplicate route concurrencies (#1361)
# Problem description
#1128 introduced route relation concurrency information in OpenMapTiles via the `route_X` attributes.  The original implementation assumed that there would be a single route relation for each `network` and `ref` pair.  However, it is increasingly common practice to tag a separate route relation for each direction of a route in order to provide awareness to routers and other data consumers of the directionality of a route.  This standard and growing practice is described on the [OSM wiki page on route directions](https://wiki.openstreetmap.org/wiki/Route_directions).  Thus, the naïve implementation of #1128 caused duplicate entries to be added as `route_X` attributes in the case where separate route relations were used for directional routes.

# Solution description
This PR adds grouping when computing route concurrency information, such that duplicate entries are coalesced in a predictable way.  Since this grouping is done only within a route membership join of a single member way, the computational complexity should be trivial.
2023-01-26 16:15:47 +01:00
..
100_import-large-park.osm Framework for SQL-based unit tests for import and updates (#1249) 2021-10-28 13:38:46 +02:00
200_import-aerodrome.osm Framework for SQL-based unit tests for import and updates (#1249) 2021-10-28 13:38:46 +02:00
300_import-landcover.osm Framework for SQL-based unit tests for import and updates (#1249) 2021-10-28 13:38:46 +02:00
400_import-boundary.osm Framework for SQL-based unit tests for import and updates (#1249) 2021-10-28 13:38:46 +02:00
500_import-highway.osm Coalesce duplicate route concurrencies (#1361) 2023-01-26 16:15:47 +01:00
600_import-poi.osm Add POI parcel locker (#1390) 2022-06-01 09:32:10 +02:00