[Tile-serving] [osm2pgsql-dev/osm2pgsql] Geography datatype (Discussion #2152)

mboeringa notifications at github.com
Thu Oct 31 10:48:22 UTC 2024


> Yes, you should be able to write this (note the two places where you need the SRID):
> 
> ```
> { column = 'geom', type = 'point', sql_type = 'geography(point, 1234)', not_null = true, projection = 1234 }
> ```

@joto 

I only tried this with SRID=4326 as input in my Lua file, but it worked like a charm and nicely outputted geography. Thanks for the tip :-)

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

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2152/comments/11110145 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20241031/d77fc9a9/attachment-0001.htm>


More information about the Tile-serving mailing list