Modify the selection rules to fit the usages of variables in other rules

  1. The tags from building selection rules should only have the OSM building information. Thus, change the tags in SelectGoogleBuilding to google_tags, tags as the output is only for the OSM tag information.

  2. Remove the useless outputs:

    • Remove attributes output in rules (doesn't need to hold building_id in attributes anymore since selection).
    • Remove the tags and relations outputs, both of them will stay as None if building is not selected from OSM.
  3. 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_information with the key-value pair (source_name: height_value) in selection rules;
    • Directly retrive height value from height_information in HeightRule, 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.
Edited by Chengzhi Rao