[Tile-serving] [openstreetmap/osm2pgsql] Support for TWKB output (#1085)

Jochen Topf notifications at github.com
Thu Jan 26 09:21:38 UTC 2023


I have done a lot of refactoring on the code that creates the geometries for PostgreSQL/PostGIS in the last months. It should now be relatively straightforward to add in code for generating TWKB instead of the default EWKB. But it's not something high on anybody's priority list and it's unclear whether it is worth the extra complexity.

If somebody wants to tackle this: Look for the `geom_to_ewkb()` function and a a `geom_to_twkb()` which does basically  the same thing only for TWKB. Then add some kind of flag so the user can choose which one is called from the Lua config.  Please talk to us here first, though, before you spend a lot of time on it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1085#issuecomment-1404735121
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1085/1404735121 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230126/c22dcd0d/attachment.htm>


More information about the Tile-serving mailing list