[mkgmap-dev] [PATCH] apply_once
From Marko Mäkelä marko.makela at iki.fi on Sun Jan 3 09:44:27 GMT 2010
Hi Felix, On Sun, Jan 03, 2010 at 10:37:05AM +0100, Felix Hartmann wrote: >> The attached patch implements an apply_once keyword that will apply the >> commands only once per matching relation member. OK to commit? >> >> > So this patch will only allow the same (same ID) relation to be applied > once to a road, correct? > But if I have different bus routes, all of them will be applied as > status quo? With the regular apply, you could get something like this for a twoway highway section that is part of three route=bus relations with ref=1, ref=2, and ref=3, in both role=forward and role=backward: Main Street (1,1,2,2,3,3) With apply_once, you will get each bus route once: Main Street (1,2,3) A poor man's apply_once could be to pass role=forward to the apply command so that the return routes would not be applied, but the problem is that many mappers are not assigning roles to the route relation members. Best regards, Marko
- Previous message: [mkgmap-dev] [PATCH] apply_once
- Next message: [mkgmap-dev] [PATCH] apply_once
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list