IGNF / route-graph-generator

Script collection used to generate routing data for Road2 (https://github.com/IGNF/road2)
https://ignf.github.io/route-graph-generator/
GNU General Public License v3.0
7 stars 3 forks source link

feat(sql_convert): use schema from database configuration #33

Closed jmkerloch closed 1 year ago

jmkerloch commented 1 year ago

Database schema is not supported for conversion to pivot database.

This PR take into account these schemas by supporting two templates values in conversion scripts:

lgrd commented 1 year ago

Hi ! I've just seen that schemas are not used for the pivot in _pivot_to_osm.py and _pivot_to_pgr.py. They are used only for the final pgr base. So, if we don't change that, your modification will not be used in the next step of the generation. :/

Do you want to make the changes ? For information, I can help, but only in one or two weeks. Now, I have to make continue my work on the admin API.