[Tile-serving] [openstreetmap/osm2pgsql] How would you apply "osm-legal-default-speeds" with osm2pgsql (Discussion #1765)

Jochen Topf notifications at github.com
Sat Sep 17 08:33:39 UTC 2022


You can use an approach like Sven uses in his [osml10n](https://github.com/giggls/osml10n) setup. A server runs in the background (in Svens case written in Python, because he needs some Python libs, in your case probably in Kotlin) which can be accessed from Lua through a network connection. He also uses get_bbox to find out in which country he is.

I suspect this is going to be slow though, because you have the extra network connection for each `highway` object.

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

Message ID: <openstreetmap/osm2pgsql/repo-discussions/1765/comments/3667421 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220917/3d1d9811/attachment.htm>


More information about the Tile-serving mailing list