[OSM-talk] labels for road names and route designations
openstreetmap-L at gj0.net
Tue Feb 28 16:39:09 GMT 2006
Currently, as I understand it labels are implemented (in some places) as a
single semi-colon delimited string, eg "class=motorway; name=M1;".
I'd much prefer to go the XML way using elements to identify properties of a
road, but this can be cumbersome and would take some time to get
implemented. Using a comma (or some other character) as a list delimiter
was a quick and simple proposal to get something that is workable and
up-and-running straight away. We can always convert the data to XML when
the software is ready for it.
I guess we could specify an escaping convention for data that really needs
to contain a comma. eg route=A317, NR4, Surrey Cycle Guide\, No 3.
Do you have thoughts on any other options?
On 2/28/06, Colin Mackay <colin.mackay at gmail.com> wrote:
> I'm not entirely sure a comma separated list would be a good idea. While I
> cannot see any commas being used naturally as part of a route designation, I
> can envisage some strangely named street containing commas. If a convention
> for dealing with this sort of thing is to be used, it must be used
> consistently throughout otherwise people get confused.
> In some places in Scotland, and I'm sure around Europe too, there are
> streets with two names because there are two dominant languages in the area
> (Scots Gaelic & English for example). There are also examples of dual named
> streets in Edinburgh where both names are in English.
> On 28/02/06, Etienne Cherdlu <openstreetmap-L at gj0.net> wrote:
> > On 2/27/06, Colin Mackay < colin.mackay at gmail.com> wrote:
> > >
> > > route1=M9
> > > route2=M876
> > >
> > The xml way of describing this would be:
> > <route>M9</route>
> > <route>M876</route>
> > As OSM labels perhaps a comma separated list would be sufficient:
> > route=M9, M876
> > Etienne
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> talk mailing list
> talk at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk