You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Constraint: Required Tags Force User To Answer #17
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 networks 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:
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 #17 (comment)
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.
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.
Activity
hallahan commentedon May 11, 2016
Any examples of required tags?
cc/ @dalekunce @PaulUithol
PaulUithol commentedon May 11, 2016
Just some random examples? In Uganda, for banks (so on choosing the
amenity=bankform) we required theoperator(official bank entity). Formobile money agents, the
networks they could transact on. For ATMs, bothoperatorandnetwork. Bothaddr:cityandaddr:streetcouldprobably 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
#17 (comment)
hallahan commentedon May 11, 2016
Ah, ok, so that means that required tags are often, but not always, activated only if some other tag is selected, like
amenity=bank.PaulUithol commentedon May 11, 2016
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
networkvalues when fillingout 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:
dalekunce commentedon May 12, 2016
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.
#151 #17 Added required text view.
hallahan commentedon May 20, 2016
To know that a question is required, you'll see this:
hallahan commentedon May 20, 2016
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.
#151 #17 Shows if tag is required based off of constraint.
#151 #17 Setup UI for complaining about missing tag.
#151 #17 finding missing tags that are required
#151 #17 Required constraint working correctly, fixing a bug with def…
hallahan commentedon May 23, 2016
Done.