[Tile-serving] [osm2pgsql-dev/osm2pgsql] Use osm2pgsql to prepare data that can be imported in a routing service (Discussion #2145)

Paul Norman notifications at github.com
Sun Mar 24 18:44:09 UTC 2024


Not really. osm2pgsql is a lossy transform by design and does not include topology. You could use ogr2ogr to export to another format and convert that to OSM format, but that seems like the wrong way to do it.

I know some people who have processed data with osm2pgsql then with OSRM called out to the DB to get quality factors on routes which were then used with routing weights.

They then used the OSRM graph to identify major bike routes and then fed that into a second osm2pgsql run.

cc @systemed

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2145#discussioncomment-8894547
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2145/comments/8894547 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240324/7b83a946/attachment.htm>


More information about the Tile-serving mailing list