CSIRO-enviro-informatics / loci-integration-api

This application provides a convenient interface for executing common functions across the whole LOCI system.
0 stars 3 forks source link

DGGS Feature: toDGGS #56

Closed jyucsiro closed 4 years ago

jyucsiro commented 4 years ago

For a Loc-I Feature ID (ABS SA1-4, MB, Contracted Catchment...etc.) find the DGGS cell ID:

Create a new endpoint: /location/toDGGS

Inputs: Loc-I Feature ID, example http://linked.data.gov.au/dataset/asgs2016/statisticalarealevel1/31503140814

Method: Get Feature type from URI ... http://linked.data.gov.au/dataset/asgs2016/statisticalarealevel1/ = SA1 Get column name for query... maybe use a lookup table to get this: 'sa1_main16'

Return: Array of DGGS cells 'auspix_dggs' (cell id) 'auspix_uri' (uri)

Develop functionality as a Jupyter notebook in https://github.com/CSIRO-enviro-informatics/loci-notebooks first. Once developed, implement in loci-integration-api