Legacy relation preprocessor now only keeps the ref number of stad genk

This commit is contained in:
Pieter Vander Vennet 2020-09-09 14:26:13 +02:00
parent 29d7200158
commit bf560e4c81
2 changed files with 1044 additions and 2 deletions

View file

@ -14,8 +14,8 @@ function legacy_relation_preprocessor(attributes, result)
result.attributes_to_keep.cycle_network_colour = attributes.color
end
if (attributes.ref ~= nil) then
-- for the americans!
if (attributes.ref ~= nil and attributes.operator == "Stad Genk") then
-- This is pure legacy: we need the ref number only of stad Genk
result.attributes_to_keep.cycle_network_ref = attributes.ref
end
end

1042
outputhelpText.md Normal file

File diff suppressed because it is too large Load diff