[mkgmap-dev] [PATCH v1] finalizer style file
From WanMil wmgcnfg at web.de on Mon Oct 28 21:06:30 GMT 2013
Hi Henning, > Hi WanMil, > just to make sure, I've got it right. > > way with: > a=b > c=d > e=f > > actual in lines: > a=b & c=d {set x=y } > x=y & e&f [0x01 ...] > > with finalizer: > -in lines: > x=y & e=f [0x01 ..] does not match because the way has no tag x=y. > - in finalizer: > a=b & c=d & type()=way {set x=y} Sets x=y. Setting a tag in finalizer makes sense only for mkgmap:* tags which are evaluated by mkgmap internally. > > If this is true, also the hole addr-part could be moved to finalizer. Yes, that's also a good example how the finalizer can be used. The disadvantag is that you cannot use country specific rules in the lines or points file. > > Regarding type I think it should better return line, point, relation and > polygon. I agree, but I'll have to take a look if that's possible. WanMil > > Henning >
- Previous message: [mkgmap-dev] [PATCH v1] finalizer style file
- Next message: [mkgmap-dev] [PATCH v1] finalizer style file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list