You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A discussion about turn restrictions on the main osm2pgsql project (osm2pgsql-dev/osm2pgsql#2215) caught my eye. The idea seems worth exploring to attempt to add a turn restriction layer to PgOSM Flex.
I think this could be implemented similarly to the nested place polygon data set. Some data will be loaded to Postgres via osm2pgsql, and custom functions are developed to handle loading data from that data set into a structure that is usable for common use cases.
What needs to be done?
While I fully intend to work forward on this idea as I have time.... Help is appreciated! Everything from ideas shared in comments, reviewing PRs, and submitting PRs is welcome (see the contributing page). I'll keep this issue updated as progress is made.
The Lua example below doesn't appear to consider restriction:conditional. Research what tags all need to be included
Start implementing code to load initial data into Postgres
Work out how to merge data (assuming points, ways and relations all need to relate to restrictions)
The relevant bits to integrate into PgOSM Flex are below. This site seems to be a good place to verify what is expected in the data. https://ahorn.lima-city.de/tr/
Details
A discussion about turn restrictions on the main osm2pgsql project (osm2pgsql-dev/osm2pgsql#2215) caught my eye. The idea seems worth exploring to attempt to add a turn restriction layer to PgOSM Flex.
I think this could be implemented similarly to the nested place polygon data set. Some data will be loaded to Postgres via osm2pgsql, and custom functions are developed to handle loading data from that data set into a structure that is usable for common use cases.
What needs to be done?
While I fully intend to work forward on this idea as I have time.... Help is appreciated! Everything from ideas shared in comments, reviewing PRs, and submitting PRs is welcome (see the contributing page). I'll keep this issue updated as progress is made.
restriction:conditional
. Research what tags all need to be includedExample Starting Point
This file was shared in the original discussion: https://raw.githubusercontent.com/Andreas4242/Andreas_file_tools/main/compatible.lua
The relevant bits to integrate into PgOSM Flex are below. This site seems to be a good place to verify what is expected in the data. https://ahorn.lima-city.de/tr/
The text was updated successfully, but these errors were encountered: