I am investigating to use Arena Mobil for field survey. I would like to get the survey record to copy it in my PostGIS database for further data analysis and publication in my own web mapping platform connected to the PostGIS database. Furthermore, I know that I should export the survey record in file format, but the best should be to use python or R script for example to automatically copy records from Arena database to my own PostGIS database. Is there any API or trick to do it ? Best regards asked 11 Apr, 12:18 clardeux |
Dear users, answered 12 Apr, 10:56 Stefano (OF) ♦♦
Oh, that is great! Now, I have slightly different issues to solve, but I will come to this probably soon. I will try to get oriented in Explorer module in Arena! Please, if you will communicate something via email regarding this, add me to CC (my email is accessible in my profile here, right?)!
(12 Apr, 11:06)
jurafejfar
|
Hi Clardeaux, There is API used for export to R. See this in docs: J. answered 12 Apr, 09:58 jurafejfar But it will just download data in .zip ... I have somewhat similar plans to touch data from my custom postgres DB... So far, I did not find any API for that. I just spent some limited time browsing source code on GitHub. But on the other hand, I have found the Arena internal DB structure and data format (JSON) quite accessible. So If you could host Arena (server) yourself, it would be quite easy to access data inside quite easily.
(12 Apr, 10:01)
jurafejfar
Maybe, it would be also possible to develop REST API (for example PostGREST) which will serve data through https protocol. And maybe in the future this could be integrated to Arena?
(12 Apr, 10:01)
jurafejfar
|