qcif / data-curator

Data Curator - share usable open data
MIT License
266 stars 38 forks source link

Add support for "Minimal Spatial Data Packages" #390

Open Stephen-Gates opened 6 years ago

Stephen-Gates commented 6 years ago

Open Knowledge have released research into the need for "spatial data packages" within Frictionless Data.

The recommendations may become part of the specification and be supported by other resources (software libraries, online services, core data packages).

This feature request is to add the subset of the recommendations that relate to tabular data into Data Curator, specifically:

Tabular Data Package

Support collecting any new metadata properties, e.g. spatial-profile used to help discover different types of location data, as discussed at https://discuss.okfn.org/t/geo-data-package/6143/27?u=stephen

Tabular Data Resource

Support collecting the new locations metadata properties for type lat-lon and boundary-id

lat-lon

Full set of properties from report below.

It may not make sense to implement geojsonpath as this is a convenience copy of the tabular point data in GeoJSON format.

"resources": [{
  "name": "office-locations",
  "profile": "tabular-data-resource",
  "locations": [
    {
      "type": "lat-lon",
      "fields": {
        "latitude": "lat",
        "longitude": "lon"
      },
      "geojsonpath": "http://example.com/point_data.geojson",
      "role": "reference to controlled vocabulary"
    }
  ],
  ...
}]  
screenshot 2018-01-14 23 28 27

boundary-id

Full set of properties from report below

  "locations": {
      "type": "boundary_id",
      "field": "tourism district",
      "codelist": "district-name",
      "version": "2016"
      "geometrypath": "tourism_districts.geojson"
    }
screenshot 2018-01-14 23 27 21

Table Schema

Support any new data type or format as discussed in https://discuss.okfn.org/t/geo-data-package/6143/26?u=stephen

Potentially delete the geopoint and geojson data type

Dependencies

Updates to:

Create:

Stephen-Gates commented 6 years ago

Plus potential changes for spatial extent https://hackmd.io/s/SyyEbQuEM

screenshot 2018-01-14 23 19 59
HackMD
Spatial Extent for Lat-Lon Locations - HackMD
# Spatial Extent for Lat-Lon Locations ## Point dataset The [Spatial Data Package Investigation](h
ghost commented 6 years ago

Closed in error.