Modify the selection rules to fit the usages of variables in other rules
-
The
tagsfrom building selection rules should only have the OSM building information. Thus, change thetagsinSelectGoogleBuildingtogoogle_tags,tagsas the output is only for the OSM tag information. -
Remove the useless outputs:
- Remove
attributesoutput in rules (doesn't need to holdbuilding_idinattributesanymore since selection). - Remove the
tagsandrelationsoutputs, both of them will stay as None if building is not selected from OSM.
- Remove
-
Change the way of handling height attributes. Sources 3D, EUBucco and Microsoft have the height column with the float number as value, we can image the more sources contribute to the height:
- Add new
height_informationwith the key-value pair (source_name: height_value) in selection rules; - Directly retrive height value from
height_informationinHeightRule, the mapped source name can be handled in the correct priority orders. - Once a new height source is in, the needed changes are only the new selection rule and the order in
HeightRule.
- Add new
Edited by Chengzhi Rao