logo separator

[mkgmap-dev] Multiple relations per map element ([PATCH] apply_local action (variable substitution in relation members))

From Marko Mäkelä marko.makela at iki.fi on Wed Dec 16 19:35:33 GMT 2009

Hi Felix,

On Wed, Dec 16, 2009 at 09:07:23AM +0100, Felix Hartmann wrote:
> 
> 
> On 16.12.2009 09:03, Marko Mäkelä wrote:
> > Hi,
> >
> > Maybe I am being impatient, but I would have expected some feedback
> > to this patch.  As far as I understand, it is not currently possible
> > to catenate attributes from multiple relations to a map element.
> > Is really nobody trying to achieve that?  For example, bus routes overlap
> > on main streets.  How would you replace the street name (on a bus route
> > map layer) with a list of bus route names or refs that use the street?
> >
> > Best regards,
> >
> >    
> Well I'm using add relation:name {name} .... scheme and rules to catch 
> it back in the lines file., same for ref.
> 
> I can't really understand what your patch would make better.

How do you combine the names from several name or ref?  Let's assume that
you are making a bus route map, and there are two bus route relations,
ref=1 and ref=2, and a section of Main Street belongs to both.  How would
you write the rules so that the street would be named "Main Street (1,2)"?

Alternatively, how would you copy the names of all boundary=administrative
relations to the lines that belong to the boundary relation?  There usually
are at least two boundary relations per boundary line, sometimes several
(at different administrative levels).

	Marko



More information about the mkgmap-dev mailing list