Sunday 31 January 2016

postgis - How to add our own routing data from postgresql into osm2po graph


Is there any way to convert data from a PostgreSQL noded table into an osm2po graph? this library is able to read pbf data and generate a graph from osm data but If I want to update roads data it is not possible. I can update a PostgreSQL database which contains osm data but have no idea if it is possible to deploy them into an osm2po graph?



Answer



I'm sorry it's not. osm2po is a chain of many conversion steps. The generated postgres table is only one of many. However, technically osm2po is prepared for custom sources. But this has to be implemented per use case and input format individually.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...