pds-data-dictionaries / PDS4-LDD-Issue-Repo

Issue repository for tracking all PDS4 Discipline Dictionary-related issues, new feature requests, and releases.
Apache License 2.0
2 stars 1 forks source link

[ldd-cart] add additional local_reference_type of cartography_parameters_to_data_object (?) #187

Open thareUSGS opened 2 years ago

thareUSGS commented 2 years ago

Issue Type ENHANCEMENT request

Currently, CART seems to be locked into using "cartography_parameters_to_image_object" when it can be used for tables too (e.g. GeoCSV or even a Lon/Lat table).

I guess we should introduce "cartography_parameters_to_data_object" so it can be used across data types.

PDS4 IM Version All

Need-by Date n/a

Additional thoughts the use of "_to_image_object" seems odd. I would have thought this should be "_to_array". Perhaps add "cartography_parameters_to_array" as an option? All additional would be backwards compatible.

mit3ch commented 2 years ago

As near as I can tell, the enumerated values for reference_type in the Internal_Reference class DD_Attribute and DD_Class are just attribute_to_image and attribute_to_document. This is the only place that uses *_to_image

For Product_Observational, the values are all datato*. Neither image or array are used.

Consequently, I’m leaning precariously toward cartography_parameters_to_data_object.