Skip to content

Empty geometries and Mutable arrays #258

Answered by kylebarron
JosiahParry asked this question in Q&A
Discussion options

You must be logged in to vote

I think the (warranted) confusion here is between "invalid/null/missing", "valid but empty", and "valid and non-empty" geometries. Most geospatial tools don't have a separate validity buffer, but Arrow does, which allows us to have a rich understanding of the data.

I think of the three as:

  • Null: You have a row of data that doesn't have any geometry associated with it
  • Valid but empty: the result of an intersection between two polygons where the polygons don't intersect at all. Aka POINT EMPTY in WKT. The operation didn't fail... the geometry isn't missing... it returned with an empty result.
  • Valid but nonempty: an intersection with non-empty output.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kylebarron
Comment options

Answer selected by JosiahParry
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