[Tagging] Wiki Edit War on using/avoiding semicolon lists
Dmitry Kiselev
dkiselev at osm.me
Thu Jan 22 14:48:03 UTC 2015
As I think,
replace
key=val1;val2
with
key: val1 =*
key: val2 =*
Is just a transposition of problem.
Yes, it's easier now to test for any particular value,
but harder to get all the values inside category.
For key=val1;val2 you need some kind of regex
or smarter application which allows you to find particular value inside collection.
But it's harder to get all tags in category.
How would you get all the payment methods, not the exact 'ellectrico'?
/payment:(.*?).*/
reg. expressions, again?
As for for me as a programmer, both of these approaches are the same.
But for mappers, who are normal people, not the crazy data miners
route_ref=1;2;3;4;5;123;124;125;126;234;235;236;456;457;458a
is easier than
route_ref:1=yes
route_ref:2=yes
route_ref:3=yes
route_ref:4=yes
route_ref:5=yes
route_ref:123=yes
route_ref:124=yes
route_ref:125=yes
route_ref:126=yes
route_ref:234=yes
route_ref:235=yes
route_ref:236=yes
route_ref:456=yes
route_ref:457=yes
route_ref:458a=yes
Anyway none of programmers couldn't be freed out of burden to support both of them.
But, at least we could try to establish one delimiter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20150122/be02a213/attachment.html>
More information about the Tagging
mailing list