ngds / ckanext-ngds-bku03232018

CKAN extension for NGDS-specific customizations
Other
5 stars 13 forks source link

Manage multi-layer datasets #608

Open ccaudill opened 9 years ago

ccaudill commented 9 years ago

We have several content models (Aqueous Chemistry, Rock Chemistry, so on) which have several layers that need to be associated. These will have to be separate CSV file uploads, but how do we let the user know that the layers are associated, and how do we automatically have them viewed at once, as if it were one layer?

smrgeoinfo commented 9 years ago

Options:

  1. create constants in the excel module for each worksheet that will be deployed as a service. Upside-- accommodate as many worksheets as necessary. downside: requires enabling macros, will cause security problems for some systems; invisible (mixed blessing--hard to change, but tricky if you're not excel savvy and subject to invisible cryptic errors if there are typos); processing requires iterating through each worksheet looking for the ones that have the correct named constants; more dependency on vagaries of Excel updates/versions.
  2. continue to put information in cells A1, A2, A3, but make them comma delimited lists, matching type/layer name, usginKeyword, and workbook.worksheet name based on index in the arrays. pro: visible, always in same location in workbook (A1,A2,A3 of the first worksheet). requires tokenizing a list to process
  3. other suggestions?