ODM2 / CZ-Manager

CZ Manager (formerly ODM2 Admin) is an application for site level data management of environmental observations using Observation Data Model 2 (ODM2) for documentation and a detailed walkthrough see:
http://odm2.github.io/CZ-Manager
MIT License
9 stars 12 forks source link

Use ODM2REST for mapping interface? #192

Open lsetiawan opened 6 years ago

lsetiawan commented 6 years ago

I think once ODM2REST is released, ODM2-Admin should use ODM2REST for it's mapping interface backend? This will allow practical, production testing for ODM2REST and enhance the mapping capability. What do you think @miguelcleon?

miguelcleon commented 6 years ago

hmm, perhaps. One issue I see right away is I've been working on a feature to export data from postgresql to sqlite and uploading the result to hydroshare. I got that working on my development server last week. I'm using Django loaddata and dumpdata utilities which seem like they would be a pain to reproduce. Would the ODM2REST API have something that would export a result along with all related entities? Would it be able to load that dump into another database?

lsetiawan commented 6 years ago

Would the ODM2REST API have something that would export a result along with all related entities?

Currently there is no export feature, but /results endpoint does get all results and all related entities. I don't think it would be to difficult to use pandas to save into a sqlite from that result or other databases. That is an interesting feature to explore!