How do I donate to the Ghini project?

9 views
Skip to first unread message

thay...@yahoo.com

unread,
Apr 1, 2019, 8:23:31 AM4/1/19
to ghini/bauble
Hi Mario,

I am wondering how I donate to the Ghini project? I am getting close to having a final product done for the Arboretum I am working with. Going forward I will try to get you some of the stuff I promised, like documentation. 

FYI, I ended up using ODK Collect for the field data collection and writing some Java and a batch script to get data into Ghini. ODK does a good job with controlling data input, and the XLSForm standard is a very nice flexible way to edit data entry forms. I put the database up in an Amazon Web Services PostgreSQL/PostGIS RDS instance, and I turn the data into web feature services using Geoserver on an EC2 instance. I had to do this latter so that I could access the data from my shared hosting website that does not allow root access for installing the stuff I would need, but gives me the ability to host javascript and PHP webpages. You can see a far from complete webmapping product here.

So indeed all of this is a kluge. Hopefully, my experience will be useful for you.

-Thayer

Mario Frasca

unread,
Apr 1, 2019, 7:11:52 PM4/1/19
to thayeray via ghini/bauble

Hi Thayer,

well, donate to the project amounts basically to donating to me.  contact me in private, or have your institution do that, so we can talk details.  I do realize today it's the first of April, so nicely played.

it's interesting the ODK Collect part.  that was also my first option.  then, mostly because of the ODK Aggregator stuff there in the middle, I preferred ghini.pocket.  Ghini.pocket was born as a quick tool for inventory review, it puts your collection in your pocket, while ODK Collect is only for collecting data, as it says.  Orthography correction is a plus.

if you have code or documentation, it would be nice if you shared it.  the GPL license allows and invites you to do so.

you haven't considered ghini.web?  why not?

cheers,

Mario

--
You received this message because you are subscribed to the Google Groups "ghini/bauble" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bauble+un...@googlegroups.com.
To post to this group, send email to bau...@googlegroups.com.
Visit this group at https://groups.google.com/group/bauble.
For more options, visit https://groups.google.com/d/optout.

Thayer Young

unread,
Apr 1, 2019, 8:14:25 PM4/1/19
to bau...@googlegroups.com
Hi Mario,

We are using ODK Briefcase, it requires the step of manually transferring data from the mobile device. I agree that Aggregate is a pain as it effectively requires Google App Engine, unless you are knowledgable enough to install from source and set up Apache? or was it Tomcat? requirements.  

I have not looked into ghini.web very closely, I wasn't sure that it gave a mapping interface.

The April 1st thing was an oversight, I was serious about sending a donation. I will dig through my e-mail to see if I can find your private connection details.

-Thayer



--
You received this message because you are subscribed to a topic in the Google Groups "ghini/bauble" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bauble/_KciztN2U-0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bauble+un...@googlegroups.com.

Mario Frasca

unread,
Apr 2, 2019, 8:31:25 AM4/2/19
to 'Thayer Young' via ghini/bauble

good morning Thayer,

I'll check the ODK Briefcase, but if you already have a working bridge to ghini, I could have a look and see how to integrate it into ghini.desktop.

about my email address, and ghini.web, there's some reference material you possibly missed:

https://ghini.github.io/software/2018/02/22/new-family-picture.html

https://ghini.github.io/network/2018/03/24/cuba-poster.html

the pages of the above site, all contain the 'gh...@anche.no' email address, which is an alias to my private address.  my name and email address is in the copyright statement of every source I significantly altered (all but three).

thank you,

Mario

Thayer Young

unread,
Apr 2, 2019, 2:30:42 PM4/2/19
to bau...@googlegroups.com
Thanks Mario, 

I think I remember now what you are saying about Aggregate, it may be required to transfer the forms onto the device. After that though everything else can be done through Briefcase. Linked below is my code. It is very ugly, and incomplete, but it is what it is.


I will put the javascript and php up in the not so distant future.

-Thayer



Mario Frasca

unread,
Apr 2, 2019, 10:13:54 PM4/2/19
to 'Thayer Young' via ghini/bauble

hi again Thayer,

I've looked a bit into your code, you say it yourself it's ugly and incomplete, but may I add this is not the best way to write stuff to a ghini database.

you are writing straight into the database, circumventing all of ghini's SQLAlchemy smartness.

while this is perfectly possible, this way you are missing the 'history' for all your operations.  there might be other contraindications, I'm not sure.

a better idea?

- convert the data into json, and have ghini import that. 

https://github.com/Ghini/ghini.desktop/blob/ghini-1.0-dev/scripts/csv2json.py

this is mentioned in issue #127.  I never found a garden interested in financing a better, more radical solution to this issue, so I never addressed it, I just adapted and re-adapted the same script, which in the meanwhile became more flexible, but remained a patchy work and never got a graphic interface within ghini.desktop.

in reality, ghini.desktop should import the data straight into the database, not go through json, and there should be a graphic interface to it.  it's possibly a week work, maybe two, not more.  the interface bits are already there, as you can see in the new "quick csv report", only available in ghini.desktop 3.1.  we only have to use it the opposite way.

some reference material:

https://ghini.readthedocs.io/en/ghini-1.0-dev/imex.html

https://ghini.readthedocs.io/en/ghini-3.1-dev/imex.html

the documentation may be a bit behind the code, and the warning "this will destroy your data and may kill your cat" only applies to backup-restore (was called, up to ghini 1.0.88: "import csv files").

I didn't check your ODK Collect configurations yet, I'll let you know when I do that.

bests,

Mario

Thayer Young

unread,
Apr 3, 2019, 9:29:44 AM4/3/19
to bau...@googlegroups.com
Hi Mario,

Thanks for your comments about my code and the advice on the json import. I agree with you about this not being the best way. I will look into your suggestions when I get a chance, probably next week. 

-Thayer



Reply all
Reply to author
Forward
0 new messages