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

Jakob Miksch notifications at github.com
Sun Mar 31 19:10:26 UTC 2024


PostGIS has a [`Geography`](https://postgis.net/docs/geography.html) datatype. This is useful to store worldwide POI data and perform proximity analysis using [`ST_DWithin`](https://postgis.net/docs/ST_DWithin.html). 
However, ( to my knowledge), osm2pgsql currently does not support importing the OSM geometry to a `Geography` column. Only these types seem to be allowed: ST_DWithin
Would it be of interest for osm2pgsql to be able to create `Geography` columns? What do you think about this?

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

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


More information about the Tile-serving mailing list