fiboa / specification

Field Boundaries for Agriculture (fiboa) - a specification that describes important properties of field boundaries
Apache License 2.0
9 stars 2 forks source link

Handling schematic differences between encodings #3

Closed m-mohr closed 4 months ago

m-mohr commented 5 months ago

How do we handle schematic differences between the encodings, both in terms of documentation, data types and validation? While the mapping for fields like area are relatively straightforwards (GeoParquet float vs GeoJSON number), it is less obvious for e.g. bbox and geometry.

bbox:

geometry:

This all describes pretty much the same, but schematically they are different and as such need different schemas for validation.

It's not quite obvious how we define the data type in the core metadata. Do we leave the technical details open and just describe the semantic of the field?

cc @cholmes

m-mohr commented 4 months ago

Started working on a generic schema language in #8