Skip to content

Mixed concerns: Encoding + Geometry Type #207

@m-mohr

Description

@m-mohr

I stumbled across the new geometry types mentioned in the encoding. It seems the encoding is GeoArrow, but why are the concerns mixed here?

Why are geometry types in the encoding and that happens with the geometry type then? Are they alway the same for GeoArrow?

From an external perspective I'd have expected something like this:
endocing = geoarrow
geometry_types = [Point]

Also, the schema allows for example:
encoding = point
geometry_types = [Polygon]

The empty array for geometry_types also doesn't make sense for GeoArrow encoding.

In case of geoarrow the geometry_types can have a maximum of one array item, but that could be encoded...

(Without reading the spec, I also can't guess from the value that it's a GeoArrow encoding. Might make things just a little simpler to grasp by default.)

Wouldn't this also be more future-proof with regards to apache/parquet-format#44 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions