[Tile-serving] [osm2pgsql-dev/osm2pgsql] Get information of nearby roads / How to setup processing for the cycling quality index (Discussion #2146)

Jochen Topf notifications at github.com
Mon Mar 25 09:00:07 UTC 2024


Osm2pgsql has a framework for generating generalized data from OSM data. It works by first doing the import and then calling `osm2pgsql-gen` which does various generalization steps. Those can be either just SQL queries, or C++ code reading data from the database, processing it in some way and writing it back to the database. All of this was intended for generalizing data, but there is no reason why this framework could not also be used for other types of "post-processing" like in your case. There is currently no way to run something other than SQL or C++ code but it would certainly be an easily addable option to call external programs (like some Python script) to do part of the processing. Or we can think about adding some functionality to bring the data back into Lua.

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

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2146/comments/8899577 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240325/041643b1/attachment.htm>


More information about the Tile-serving mailing list