How to use the GEOMETRY COLOR attribute: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
File:GeometryColorUpdated1.jpg|4. The selected building color is now updated, according to the newly added GEOMETRY_COLOR attribute.
File:GeometryColorUpdated1.jpg|4. The selected building color is now updated, according to the newly added GEOMETRY_COLOR attribute.
</gallery>
</gallery>
{{article end
|seealso=
*[[Custom Geometries]]
*[[Building]]
*[[Geometry color (Building Attribute)]]
}}

Revision as of 14:17, 24 April 2023

It is possible to change Geometry color (Building 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.

We will use the following example:
UPDATE_BUILDINGGEOMETRY_COLORWHEREATTRIBUTEISFOO

How to update the Geometry Color of a building:
  1. Select a building and add the attribute FOO:1.
  2. From the top bar, open the Query Tool (Current Situation > Queries > TQL Query Tool).
  3. Construct the above mentioned example, select the update color (Update to Value), and execute the query.
  4. The selected building color is now updated, according to the newly added GEOMETRY_COLOR attribute.