Geometry color (Building Attribute): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Line 2: Line 2:


==What is the GEOMETRY_COLOR attribute?==
==What is the GEOMETRY_COLOR attribute?==
The GEOMETRY_COLOR attribute enables the option to update the color of [[functions]], specified by attribute, by using a [[TQL|Tygron Query Language (TQL)]] query. It actually does not overwrite to color, so removing the attribute will restore the original color of the model.
The GEOMETRY_COLOR attribute enables the option to update the color of [[functions]], specified by attribute, by using a [[TQL|Tygron Query Language (TQL)]] query. It actually does not overwrite the color, so removing the attribute will restore the original color of the model.


==How to use the GEOMETRY_COLOR attribute==
==How to use the GEOMETRY_COLOR attribute==

Revision as of 08:27, 6 April 2022

Please note: This page is currently being updated.


What is the GEOMETRY_COLOR attribute?

The GEOMETRY_COLOR attribute enables the option to update the color of functions, specified by attribute, by using a Tygron Query Language (TQL) query. It actually does not overwrite the color, so removing the attribute will restore the original color of the model.

How to use the GEOMETRY_COLOR attribute

As the operation is performed by TQL, the task can be done in the Editor, with the Query Tool. More advanced users can also perform these queries through the API.

Speciffic Use Cases

Identify buildings by energy label

  • Give each building an energy label as attribute.
  • Construct a query that gives a corresponding color to each label group.

Identify trees with disease/ animal plague

  • Mark each infested treewith a suitable attribute.
  • Construct a query that gives a corresponding color to each label group.

Colorize 3D models that lack textures (I3S/ 3D BAG/ CityGML)

  • Construct a query that gives a corresponding color to each Function type.

See Also