specs icon indicating copy to clipboard operation
specs copied to clipboard

A proposal to add geographic specifications in TableSchema

Open datagistips opened this issue 3 years ago • 1 comments

Hello

🌐 On OpenData portals, we observe a significative proportion of spatial data.

TableSchema tends to become the standard of standards. I personally like it a lot 👍

It is used on the French schema.data.gouv.fr

🙁 But TableSchema misses some specifications for spatial data that could really be useful

That's why I made a proposal of geo enhancement in both TableSchema (spatial-schema) and the validator : ➡ https://github.com/datagistips/geo4TableSchema/

Here's how geodata, for me, could be specified

{
  "name": "_geom",
  "title": "Polygon geometry",
  "description": "Polygon geometry",
  "type": "wkt",
  "geomtype": "polygon",
  "crs": "EPSG:4326",
  "horizontalAccuracy": 5,
  "constraints": {
    "required": true,
    "unique": true,
    "overlaps": false,
    "minArea": 100000000,
    "bounds": [4.9283, 43.0756, 7.6412, 45.0923]
  }
}

Also, on the repo, you'll see a prototype that controls these specifications with geopandas under the hood

❓ Is it planned to improve spatial aspect and add spatial tags in TableSchema ? Is this proposal relevant to you ?


Related issues :

  • https://github.com/frictionlessdata/specs/issues/86
  • https://github.com/frictionlessdata/specs/issues/545
  • https://github.com/frictionlessdata/specs/issues/499

datagistips avatar Feb 16 '22 10:02 datagistips

Hi @datagistips,

Sorry, this issue somehow hadn't been answered =(

It's very interesting I think it will be great to start from a pattern - https://datapackage.org/standard/patterns/

roll avatar Jan 03 '24 12:01 roll