Closed hallahan closed 8 years ago
Just some random examples? In Uganda, for banks (so on choosing the
amenity=bank
form) we required the operator
(official bank entity). For
mobile money agents, the network
s they could transact on. For ATMs, both
operator
and network
. Both addr:city
and addr:street
could
probably also be required.
On May 11, 2016 9:35 PM, "Nicholas Hallahan" notifications@github.com
wrote:
Any examples of required tags?
cc/ @dalekunce https://github.com/dalekunce @PaulUithol https://github.com/PaulUithol
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/AmericanRedCross/OpenMapKitAndroid/issues/17#issuecomment-218565934
Ah, ok, so that means that required tags are often, but not always, activated only if some other tag is selected, like amenity=bank
.
Hmm, could be. Although using distinct forms to isolate choice values
across forms worked fine for us, and would solve this as well I guess. For
example, we had a different list of possible network
values when filling
out a mobile money agent form, containing MNOs, and when filling out an
ATM's form, containing Visa, MasterCard etc.
On May 11, 2016 9:47 PM, "Nicholas Hallahan" notifications@github.com
wrote:
Ah, ok, so that means that required tags are often, but not always, activated only if some other tag is selected, like amenity=bank.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/AmericanRedCross/OpenMapKitAndroid/issues/17#issuecomment-218568882
the constraints are very much a tree based constraint model. If this then that kinda stuff. iD or JOSM ontology may help to understand it. Ideally this will get folded into some yet to be spec'd UI form builder.
To know that a question is required, you'll see this:
And then if all of the required questions aren't answered upon save, I'll have a snackbar tell you about it and bounce you back to a tag you haven't answered.
Done.
Any examples of required tags?
cc/ @dalekunce @PaulUithol