Skip to content

Geography datatype #2152

Answered by joto
JakobMiksch asked this question in Q&A
Mar 31, 2024 · 3 comments · 12 replies
Discussion options

You must be logged in to vote

It shouldn't be too difficult to add this. We'll just need a way to tell osm2pgsql in the config file that we want geography instead of geometry columns. We probably also need to check the SRID, because geography types only allow lat/lon SRIDs and we want to give a nice error message instead of failing with an SQL error. I don't have much experiences with the geography type, but I think that's probably it.

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
5 replies
@pnorman
Comment options

@joto
Comment options

joto Apr 2, 2024
Maintainer

@JakobMiksch
Comment options

@joto
Comment options

joto Apr 3, 2024
Maintainer

@JakobMiksch
Comment options

Answer selected by JakobMiksch
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@mboeringa
Comment options

@joto
Comment options

joto Oct 29, 2024
Maintainer

@mboeringa
Comment options

@mboeringa
Comment options

@joto
Comment options

joto Oct 31, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants