specs icon indicating copy to clipboard operation
specs copied to clipboard

Add `wkt` to field types

Open datagistips opened this issue 4 years ago • 3 comments

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 :

  • https://github.com/frictionlessdata/specs/issues/86#issuecomment-34067226
  • https://github.com/frictionlessdata/specs/issues/771

datagistips avatar Feb 16 '22 10:02 datagistips

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

jze avatar Aug 09 '22 12:08 jze

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 avatar Sep 06 '22 06:09 jze

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?

jze avatar Jun 20 '24 15:06 jze