Steve Ratcliffe schrieb:
> You cannot set the same tag that you are matching. (Currently there is
> a bug and it will hang, but the intended result would be just that it is
> ignored
> as it is too late.)
>
> All actions will be run before the final matching rule is selected and the
> action rul
Hi
> http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Cycle_map
> http://svn.openstreetmap.org/applications/utils/export/garmincyclemap/network/
> http://www.openstreetmap.org/user/Richard/diary/6949
Looks great! Is there anything that you would really like it to do that it
doesn't yet?
..S
Hi
> And I think, if I would change the second line to
>
> highway=* tag_a!=yes {set tag_b=yes}
adding in the missing '&' sign:
highway=* & tag_a!=yes {set tag_b=yes}
Then that is allowed, and the result would still be that all
highways were 0x01.
> it wouldn't change anything, or would it?
2009/7/7 Torsten Leistikow
> Steve Ratcliffe schrieb:
> >> highway=* {set tag_a=yes}
> >> tag_a!=yes {set tag_b=yes}
> >> tag_a=yes [0x01 resolution 20]
> >> tag_b=yes [0x02 resolution 20]
> >> highway=* [0x03 resolution 20]
> >>
> >> Will all highways be converted to 0x01, 0x02 or 0x03?
> >
> >
Steve Ratcliffe schrieb:
>> highway=* {set tag_a=yes}
>> tag_a!=yes {set tag_b=yes}
>> tag_a=yes [0x01 resolution 20]
>> tag_b=yes [0x02 resolution 20]
>> highway=* [0x03 resolution 20]
>>
>> Will all highways be converted to 0x01, 0x02 or 0x03?
>
> My guess was 0x01. But it turns out that I was
Steve Ratcliffe wrote:
It seems that the action rules are being used a lot more than I thought
going some way beyond what they were designed for. We need to look at what
the actions are being used for.
If it helps, I finished (\o/) the map I was working on, and have
uploaded both it and the
Hi
> So what will happen with this example.
>
> highway=* {set tag_a=yes}
> tag_a!=yes {set tag_b=yes}
> tag_a=yes [0x01 resolution 20]
> tag_b=yes [0x02 resolution 20]
> highway=* [0x03 resolution 20]
>
> Will all highways be converted to 0x01, 0x02 or 0x03?
My guess was 0x01. But it turns ou
Steve Ratcliffe schrieb:
> However what currently happens is that for each node/way/relation I
> go through the tags exactly once and find the earliest rule that
> matches. Rules with actions have the actions run when seen. So in
> this case I believe that ncn is already set and has been processed
Steve Ratcliffe wrote:
There is nothing wrong with this and I would like it to work.
However what currently happens is that for each node/way/relation I go
through the tags exactly once and find the earliest rule that matches.
Rules with actions have the actions run when seen. So in this case
Hi Richard
> The rules Im using (in lines) are this:
>
> ncn_ref=* { set ncn=yes; echo 'Converting from ${ncn_ref}'; }
> ( highway=bridleway | highway=byway | highway=cycleway |
> highway=track | highway=footway) & ( ncn=yes | rcn=yes )
> { set offroad='yes'; echo
Hi all,
Ive been trying to work on some style rule files and am running into
a few problems.
The rules Im using (in lines) are this:
ncn_ref=* { set ncn=yes; echo 'Converting from ${ncn_ref}'; }
( highway=bridleway | highway=byway | highway=cycleway |
highway=
11 matches
Mail list logo