Skip to content
Discussion options

You must be logged in to vote

Is the bbox column supposed to be created automatically by COPY TO when the spatial extension is loaded? Or must I explicitly compute it with ST_Envelope() in the SELECT clause?

From a GeoParquet perspective it'd be ideal if it was created automatically (or at least had an option to), if writing GeoParquet 1.1, but it's not currently supported (apologies for the mis-information on that blog, I'll correct it now - I only realized a couple months later that it doesn't actually write the bbox, as I had just happened to be mostly working with files like Overture that include the bbox). The call to create the bbox is a bit non-obvious, as writing out with ST_Envelope() doesn't exactly match …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@aborruso
Comment options

@aborruso
Comment options

@cholmes
Comment options

@cholmes
Comment options

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