Closed mfrasca closed 8 years ago
I for one second the idea! :smile:
I 3rd it!
I"m editing the initial comment so it contains the user guide to have it set up.
if you want to get ready and not wait for me to complete this before you can even make a start at the long task of inserting plant location data, you can start adding notes to your plants, of the form:
category: <coords>
note: {lat: ...; lon: ...; alt: ...}
relevant issues in Ghini (mentioning them here so github makes a back-link there.):
this is interesting work, but low priority as long as there's no customer. it's quite a lot of work and not only does it need financing, it also needs solving a concrete problem, not just do something nice, so a customer with concrete needs and time to discuss them with a developer. (it's working again on my laptop and it looks fine, but there's so many aspects to it...)
This issue was moved to Ghini/ghini.desktop#134
there is this prototype project on mfrasca/ghini, which started with the goal "ITF2-compliant" and after meeting bauble.classic got a bit lost. So the goals now sound like:
need documentation on how to set it up, and have to test it.
step-by-step
psql -t -P format=unaligned -c 'show hba_file';
create user <USER> with createdb unencrypted password '<PWD>';
create database <DBNAME> with owner <USER> encoding='utf8';
plant
that are needed in Ghini and not created by Bauble.alter table plant add column position_lon numeric(9,6), add column position_lat numeric(9,6), add column zoom integer;
geography
is used by Bauble.sudo -u postgres psql -c "CREATE EXTENSION postgis; CREATE EXTENSION postgis_topology;" <DBNAME>
<coords>
, you need copy them to position_lon-position_lat. and you need set the zoom to 18 for monumental trees, 19 other major trees, 20 smallish trees, etc.mkdir -p ~/Local/<your-github-account>
cd ~/Local/<your-github-account>
git clone git@github.com:<your-github-account>/ghini.git
cd ghini
npm install
DATABASE_URL='postgresql://<USER>:<PWD>@localhost/<DBNAME>' node web.js