On Wed, 4 Aug 2010, Lars Francke wrote:
Will a period in the key name for a tag cause a problem?
Generally: No.
You were asking about database problems: No problems at all in regards
to PostgreSQL. MongoDB is the only database I know that has problems
with dots in keys but you'd have to escape everything anyway, so no
problem there either.
Yeah, that is what I was asking.
It is proposed in:
http://wiki.openstreetmap.org/wiki/Proposed_features/Tag_structures
I'd disregard that page...but that's just my opinion.
I would like to use it for some custom tags I am using, namely
"name.prefix", and "name.full" (see below for context). The idea is that
".prefix" and ".full" is closely tied to the primary "name" key, and not
some other forms of name such as "alt_name". If the properties applied to
the "alt_name" key than "alt_name.prefix" will be used instead, etc.
I'd use name:full, name:prefix etc. for it. As far as I can tell it's
pretty much established practice and you'd make _at least_ my life
easier :)
How?
Anyway, you don't think the distinction between Parameter and a Property
is important? I like the "." better, but again I don't care that much.
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev