Closed rugk closed 7 years ago
Well, I am not that sure anyway about whether any order (in tonnes) is still relevant. Didn't we decide to let the user start typing the name and present him a list of matching entries?
Anyway:
orchardCrops.yml
" in /res/country_metadata
. Then, you need to add List<String> orchardCrops;
(same name as the file) to CountryInfo.java
. Finally, you (or me or anyone) need to once execute the gradle task generateMetadata
to execute a python script that copies over the metadata in the source format into the format that fits for the CountryInfo. When you implement a quest, you can simply access your CountryInfo object from there and it will have all the information for the country the quest is in - in that case, it will have the list of orchardCrops as they are defined in orchardCrops.yml.AddSportForm.java
to see how is the preferred way to supply this data.Special cases:
First the first three questions were related to the special cases.
Didn't we decide to let the user start typing the name and present him a list of matching entries?
No. Pictures are nicer… As for 1. – okay, somehow needs to be split. Created https://github.com/rugk/crops-parser/issues/20 for that.
As for 2. we'll do it in Java… okay.
I think this issue can be closed, then.
Maybe just another thing about 2.: Maybe add a column "landuse=?" in the osmcrops.csv
? Just to collect the information there?
+shrug+. You are implementing the quest, right? So where you keep the information is up to you.
I am just collecting the data. No Java knowledge here…
Ah, I thought you will implement the quest also.
That answers the question why you want so much feedback from me.
Well, no matter. This research and the hopefully subsequent search for suitable images will make the actual implementation very straightforward.
Yeah, and if the input gets even complexer, I can certainly not implement it. Yeah, searching for images is okay, also the translation to German, at least.
And the thing I just talk about could also make it easier for you, when we have the data ready already:
Maybe add a column "landuse=?" in the osmcrops.csv? Just to collect the information there?
So?
Ok
done
Questions for each case:
Some special cases:
trees=lemon_tree|trees=lime_tree
landuse=farmland+crop=hemp
(retag this orchard aslanduse=farmland
)