[mkgmap-dev] !< not working -- problem with conditions in style-file.
From Steve Ratcliffe steve at parabola.me.uk on Fri Nov 19 07:46:47 GMT 2010
Hi > However I think something like this won't work > So would (!(tracktype<5)|condition2=yes) work? Meaning either > tracktype not equal smaller 5 or condition2=yes - one of the two has to > match for it to not stop the action. Yes it would work. Here is an example, only WAY 2 is not converted. WAY 2 and 5 differ only in condition2=yes WAY 1 highway=track WAY 2 highway=track tracktype=3 WAY 3 highway=track tracktype=5 WAY 4 highway=track tracktype=fjdk WAY 5 highway=track tracktype=3 condition2=yes <<<lines>>> highway=track & (!(tracktype<5)|condition2=yes) [0x1] <<<polygons>>> <<<results>>> WAY 1: Line 0x1, name=<null>, ref=<null>, res=24-24 (1/1),(2/2), WAY 3: Line 0x1, name=<null>, ref=<null>, res=24-24 (1/1),(2/2), WAY 4: Line 0x1, name=<null>, ref=<null>, res=24-24 (1/1),(2/2), WAY 5: Line 0x1, name=<null>, ref=<null>, res=24-24 (1/1),(2/2),
- Previous message: [mkgmap-dev] !< not working -- problem with conditions in style-file.
- Next message: [mkgmap-dev] Some options from -c not applied
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list