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

mboeringa notifications at github.com
Tue Oct 29 11:49:13 UTC 2024


> { column = 'geom', type = 'point', sql_type = 'geography(point)', not_null = true, projection = 4326 }

@joto,

Does this syntax already support an arbitrary lat/lon SRID for the projection, so replacing the 4326 with another lat/lon based SRID? So in fact we already have everything that is needed to work with geography and arbitrary lat/lon SRID, maybe just no internal error checks in osm2pgsl to detect non lat/lon SRID numbers and properly error out in case of geography?

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

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


More information about the Tile-serving mailing list