frictionlessdata / datapackage

Data Package is a standard consisting of a set of simple yet extensible specifications to describe datasets, data files and tabular data. It is a data definition language (DDL) and data API that facilitates findability, accessibility, interoperability, and reusability (FAIR) of data.
https://datapackage.org
The Unlicense
484 stars 110 forks source link

Add `wkt` to field types #772

Open datagistips opened 2 years ago

datagistips commented 2 years ago

Hello

In TableSchema, you can specify geometry field types as geojson or geopoint

But from my own experience, wkt strings are more commonly used to store geometries in a table than geojson strings.

Let's notice that wkt is used in frictionless-geojson project.

For me, wkt format deserves to be taken seriously taken into account (and geoCSV)

This wkt implementation would surely really be appreciated by the Geographic Information Systems community.

What do you think of it ?


Related issues :

jze commented 1 year ago

I second it. Right now I have a lot of CSV-exports from a geoserver. There is always a column with WKT included.

jze commented 1 year ago

Instead of introducing a new value for type we could keep type as string and define a new value wkt for format. This is how it is done for URIs, UUIDs and email addresses.

jze commented 1 month ago

It seems that this proposal did not make it into version 2. This is a pity, as there is already a working implementation in frictionless-py. Is there any hope that the wkt format will be included in version 2 or version 2.1?