logo separator

[mkgmap-dev] set display name problem ( Error in style: Error: (lines:14): Unrecognised command 'display_name', Could not open style null )

From Mark Burton markb at ordern.com on Mon Nov 9 23:05:36 GMT 2009

Hi Felix,

> could you explain a bit more how they work?

Simply, the contents of those "ref" like names are all concatenated
together with ";" between them and then the first 4 names in that list
are used as the labels for the way. If the way also has a "name" then
that will be the first label and you will only get 3 labels from the
"ref" list. Also, if display_name is assigned, that goes in front of
the refs. For example, if X=Y represents a tag called X having the
value Y:

name="foo"
display_name="bah"
ref="A123"
int_ref="E99"

would produce these labels:

"foo" "bah" "A123" "E99"

You could also have:

name="foo"
display_name="bah"
ref="A123;E99"

and the end result would be the same.

Very simple.

Mark



More information about the mkgmap-dev mailing list