Hi every one, I want to connect my collect desktop with postgresql database. I followed the following procedure described here https://openforis.support/questions/1228/how-to-set-up-postgresql-server-for-new-collect I could not get success. how can I connect with it? Is there special process. what should I do in postgres database eg. the name of database, schema, username etc please guide me. thank you very much. The error msg was as this asked 06 Sep '17, 15:06 Rajkumar |
Hi Raj kumar, answered 06 Sep '17, 22:17 Stefano (OF) ♦♦ |
Hi all, I am successful to connect with postgres database. I changed username and password in collect.porperties file in Data folder. The password was that which I put when installing the postgres database. Now I can enter the data and save through collect desktop application.Now my new question is that in which table the data is stored that I entered? I have created a database named collect and schema also collect. answered 06 Sep '17, 17:59 Rajkumar |
Dear developers, is there any news about this issue? I also set up Collect with PostgreSQL and it would be a huge step forward if we would be able to access the data from there. Regards, Lutz answered 07 Mar '18, 21:41 Fehrmann |
Dear Lutz, answered 13 Mar '18, 16:39 Stefano (OF) ♦♦ |
Thank you, this is a solution I have not thought about so far. I tested it and it works nicely. I can now connect the sqlite .db directly to RStudio and can access all my tables and data there. Thank you for this hint, very useful! For others who are looking for that, the respective R code to access the SQLite.db would be library(RSQLite) filename <- "C:/Users/YOUR USER ACCOUNT/OpenForis/Collect/data/rdb/YOUR.db" sqlite.driver <- dbDriver("SQLite") db <- dbConnect(sqlite.driver, dbname = filename) dbListTables(db) plots <- dbReadTable(db,"plot") Lutz answered 13 Mar '18, 17:53 Fehrmann |
Hello, is there any news regarding saving data to a PostgreSQL database as normal entries which can be accessed from outside Open Foris (directly with SQL queries)? answered 13 May '20, 09:27 roks |
Dear Rok, answered 17 May '20, 23:07 Stefano (OF) ♦♦ |