CUAHSI-APPS / tethysapp-hydroshare_gis

Combine and view Raster and Feature Resources from HydroShare or uploaded from your own computer
0 stars 1 forks source link

HydroShare GIS features that depend on hs_restclient functionality #15

Open aphelionz opened 6 years ago

aphelionz commented 6 years ago

From @shawncrawley on December 7, 2016 0:55

These are a few features for HydroShare GIS that are not very urgent and depend on hs_restclient functionality that is does not yet exist (as far as I know).

@alvacouch @pkdash Is it possible to update a resource's metadata through the REST API? Also, it seems we would need to handle assigning these relationships (such as "has part") to a resource through the REST API... ?

Copied from original issue: hydroshare/hydroshare#1692

aphelionz commented 6 years ago

From @dtarb on December 7, 2016 4:32

Explaining what is intended with the Part of. Metadata for each resource may include relationships. On a resource landing page in edit mode you can see a related resources tab. There is a button to add relation. There is then an option to choose "Part of" or other choices and fill in the URL of another resource. For a resource that is added to a GIS map project, we should fill in the "Part of" relation ship to point to the map project resource so that anyone accessing the resource can find a map project that it is part of. However there are management considerations involved. I suggested that adding this relationship should be optional because you may not have permission to change the resource being added to the map, or even if you do have permission, may not want to add the relationship.

aphelionz commented 6 years ago

From @pkdash on December 7, 2016 5:13

@shawncrawley There is currently work in progress for a new REST endpoint to support metadata update for GenericResource. @alvacouch can provide more details on this. The relation metadata should meet your requirements which this new REST endpoint I assume will be supporting as this element is part of the core metadata elements. Once this endpoint in implemented I can update the restclient to use it.

aphelionz commented 6 years ago

From @pkdash on February 1, 2017 22:9

@shawncrawley The hs_restclient latest version (1.2.6) should support the above metadata update requirements. @shawncrawley or @zhiyuli Can one of you test it and then close this issue?

aphelionz commented 6 years ago

From @danames on August 22, 2017 19:1

It has been several months since this list of requested updates to the rest client was posted by @shawncrawley. Who is in charge of the REST client at the moment? Is it still @pkdash ?

aphelionz commented 6 years ago

From @dtarb on August 23, 2017 12:59

@aphelionz is now in charge of the REST client.

aphelionz commented 6 years ago

From @danames on August 23, 2017 15:12

@pkdash on Feb 1 said that the metadata update via REST client is working now. So if that is the case, then the only part missing might be the "Is Part Of" relationship management that @dtarb described on Dec 6, 2016. @aphelionz can you tell us if this has been implemented? @dtarb if "parts" has not been implemented yet, do you still see it as a priority?

aphelionz commented 6 years ago

From @pkdash on August 23, 2017 17:15

@danames @dtarb @aphelionz "Is Part Of" is stored as a 'relation' core metadata element. It has been implemented.