Api session event editor building: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
API api session event editor building Events.
Api session event editor building Events.


Building editing.
[[Building]] editing.
{|class=wikitable
{|class=wikitable
!Name
!Name
!Description
!Description
|-
|-
|[[api session event editor building add|ADD]]
|[[Api session event editor building add|ADD]]
|Add new [[Building]]
|Add new [[Building]]
|-
|-
|[[api session event editor building add polygons|ADD_POLYGONS]]
|[[Api session event editor building add polygons|ADD_POLYGONS]]
|Add polygons for [[Building]] [[Section]]. In case the [[Building]] is empty, optionally set ownership to largest [[Plot]] Owner of provided MultiPolygon
|Add polygons for [[Building]] [[Section]]. In case the [[Building]] is empty, optionally set ownership to largest [[Plot]] Owner of provided MultiPolygon
|-
|-
|[[api session event editor building append attribute|APPEND_ATTRIBUTE]]
|[[Api session event editor building append attribute|APPEND_ATTRIBUTE]]
|Appended to existing [[Building]] attribute value
|Appended to existing [[Building]] attribute value
|-
|-
|[[api session event editor building duplicate|DUPLICATE]]
|[[Api session event editor building duplicate|DUPLICATE]]
|Duplicate existing [[Building]]
|Duplicate existing [[Building]]
|-
|-
|[[api session event editor building import|IMPORT]]
|[[Api session event editor building import|IMPORT]]
|Import [[Building]] Collection
|Import [[Building]] Collection
|-
|-
|[[api session event editor building remove|REMOVE]]
|[[Api session event editor building remove|REMOVE]]
|Remove existing [[Building]]
|Remove existing [[Building]]
|-
|-
|[[api session event editor building remove attribute|REMOVE_ATTRIBUTE]]
|[[Api session event editor building remove attribute|REMOVE_ATTRIBUTE]]
|Remove attribute from [[Building]]
|Remove attribute from [[Building]]
|-
|-
|[[api session event editor building remove polygons|REMOVE_POLYGONS]]
|[[Api session event editor building remove polygons|REMOVE_POLYGONS]]
|Delete polygons for [[Building]] [[Section]]
|Delete polygons for [[Building]] [[Section]]
|-
|-
|[[api session event editor building set attribute|SET_ATTRIBUTE]]
|[[Api session event editor building set attribute|SET_ATTRIBUTE]]
|Set [[Building]] attribute value
|Set [[Building]] attribute value
|-
|-
|[[api session event editor building set attributes|SET_ATTRIBUTES]]
|[[Api session event editor building set attributes|SET_ATTRIBUTES]]
|Set multiple [[Building]] attribute values
|Set multiple [[Building]] attribute values
|-
|-
|[[api session event editor building set name|SET_NAME]]
|[[Api session event editor building set name|SET_NAME]]
|Set new name of existing [[Building]]
|Set new name of existing [[Building]]
|}
|}
Line 45: Line 45:
!Description
!Description
|-
|-
|[[api session event editor building add geometry|ADD_GEOMETRY]]
|[[Api session event editor building add geometry|ADD_GEOMETRY]]
|Add a custom [[Building]] geometry
|Add a custom [[Building]] geometry
|-
|-
|[[api session event editor building add road|ADD_ROAD]]
|[[Api session event editor building add road|ADD_ROAD]]
|Add Road
|Add Road
|-
|-
|[[api session event editor building add section|ADD_SECTION]]
|[[Api session event editor building add section|ADD_SECTION]]
|Add [[Section]]
|Add [[Section]]
|-
|-
|[[api session event editor building add standard|ADD_STANDARD]]
|[[Api session event editor building add standard|ADD_STANDARD]]
|Add Standard
|Add Standard
|-
|-
|[[api session event editor building add underground|ADD_UNDERGROUND]]
|[[Api session event editor building add underground|ADD_UNDERGROUND]]
|Add Underground
|Add Underground
|-
|-
|[[api session event editor building duplicate section|DUPLICATE_SECTION]]
|[[Api session event editor building duplicate section|DUPLICATE_SECTION]]
|Duplicate a [[Building]] [[Section]].
|Duplicate a [[Building]] [[Section]].
|-
|-
|[[api session event editor building generate rotation angles|GENERATE_ROTATION_ANGLES]]
|[[Api session event editor building generate rotation angles|GENERATE_ROTATION_ANGLES]]
|Calculation a rotation angle for [[Building]]s having the identifying attribute polygons, optionally only for specified [[Building]].
|Calculation a rotation angle for [[Building]] having the identifying attribute polygons, optionally only for specified [[Building]].
|-
|-
|[[api session event editor building generate water connection|GENERATE_WATER_CONNECTION]]
|[[Api session event editor building generate water connection|GENERATE_WATER_CONNECTION]]
|Generate Water Connection.
|Generate Water Connection.
|-
|-
|[[api session event editor building multi select|MULTI_SELECT]]
|[[Api session event editor building multi select|MULTI_SELECT]]
|Multi Select
|Multi Select
|-
|-
|[[api session event editor building query|QUERY]]
|[[Api session event editor building query|QUERY]]
|Executes a single TQL query. Note: you can also use the session/query endpoint to execute multiple statements and get additional information on API usage.
|Executes a single TQL query. Note: you can also use the session/query endpoint to execute multiple statements and get additional information on API usage.
|-
|-
|[[api session event editor building remove geometries|REMOVE_GEOMETRIES]]
|[[Api session event editor building remove geometries|REMOVE_GEOMETRIES]]
|Remove all custom [[Building]] geometries
|Remove all custom [[Building]] geometries
|-
|-
|[[api session event editor building remove sections|REMOVE_SECTIONS]]
|[[Api session event editor building remove sections|REMOVE_SECTIONS]]
|Remove [[Section]]s
|Remove [[Section]]s
|-
|-
|[[api session event editor building reset category values|RESET_CATEGORY_VALUES]]
|[[Api session event editor building reset category values|RESET_CATEGORY_VALUES]]
|Reset [[Category Value]]s
|Reset [[Category]] Values
|-
|-
|[[api session event editor building reset function values|RESET_FUNCTION_VALUES]]
|[[Api session event editor building reset function values|RESET_FUNCTION_VALUES]]
|Reset [[Function Value]]s
|Reset [[Function]] Values
|-
|-
|[[api session event editor building reset slanting roof height|RESET_SLANTING_ROOF_HEIGHT]]
|[[Api session event editor building reset slanting roof height|RESET_SLANTING_ROOF_HEIGHT]]
|Reset [[Height]] of the slanting roof of a [[Building]] section
|Reset [[Slanting roof height (Function Value)|Height of the Slanting Roof]] of a [[Building]] section
|-
|-
|[[api session event editor building set category value|SET_CATEGORY_VALUE]]
|[[Api session event editor building set category value|SET_CATEGORY_VALUE]]
|Set [[Category Value]]
|Set [[Category]] Value
|-
|-
|[[api session event editor building set decals|SET_DECALS]]
|[[Api session event editor building set decals|SET_DECALS]]
|Set Decals
|Set Decals
|-
|-
|[[api session event editor building set floors|SET_FLOORS]]
|[[Api session event editor building set floors|SET_FLOORS]]
|Change amount of floors
|Change amount of floors
|-
|-
|[[api session event editor building set function|SET_FUNCTION]]
|[[Api session event editor building set function|SET_FUNCTION]]
|Set [[Function]]
|Set [[Function]]
|-
|-
|[[api session event editor building set function value|SET_FUNCTION_VALUE]]
|[[Api session event editor building set function value|SET_FUNCTION_VALUE]]
|Set [[Function Value]]
|Set [[Function]] Value
|-
|-
|[[api session event editor building set owner|SET_OWNER]]
|[[Api session event editor building set owner|SET_OWNER]]
|Set Owner
|Set Owner
|-
|-
|[[api session event editor building set slanting roof height|SET_SLANTING_ROOF_HEIGHT]]
|[[Api session event editor building set slanting roof height|SET_SLANTING_ROOF_HEIGHT]]
|Change [[Height]] of the slanting roof of a [[Building]] section
|Change [[Slanting roof height (Function Value)|Height of the Slanting Roof]] of a [[Building]] section
|}
|}


Line 117: Line 117:
!Description
!Description
|-
|-
|[[api session event editor building duplicate sections|DUPLICATE_SECTIONS]]
|[[Api session event editor building duplicate sections|DUPLICATE_SECTIONS]]
|Use DUPLICATE_SECTION instead for identical result.
|Use DUPLICATE_SECTION instead for identical result.
|}
|}
{{article end|seealso=*[[Api Events]]}}
{{article end|seealso=*[[Api Events]]
*[[Api session items buildings]]
}}


[[Category:API]]
[[Category:API]]

Latest revision as of 12:05, 1 April 2026

Api session event editor building Events.

Building editing.

Name Description
ADD Add new Building
ADD_POLYGONS Add polygons for Building Section. In case the Building is empty, optionally set ownership to largest Plot Owner of provided MultiPolygon
APPEND_ATTRIBUTE Appended to existing Building attribute value
DUPLICATE Duplicate existing Building
IMPORT Import Building Collection
REMOVE Remove existing Building
REMOVE_ATTRIBUTE Remove attribute from Building
REMOVE_POLYGONS Delete polygons for Building Section
SET_ATTRIBUTE Set Building attribute value
SET_ATTRIBUTES Set multiple Building attribute values
SET_NAME Set new name of existing Building

Specific Events:

Name Description
ADD_GEOMETRY Add a custom Building geometry
ADD_ROAD Add Road
ADD_SECTION Add Section
ADD_STANDARD Add Standard
ADD_UNDERGROUND Add Underground
DUPLICATE_SECTION Duplicate a Building Section.
GENERATE_ROTATION_ANGLES Calculation a rotation angle for Building having the identifying attribute polygons, optionally only for specified Building.
GENERATE_WATER_CONNECTION Generate Water Connection.
MULTI_SELECT Multi Select
QUERY Executes a single TQL query. Note: you can also use the session/query endpoint to execute multiple statements and get additional information on API usage.
REMOVE_GEOMETRIES Remove all custom Building geometries
REMOVE_SECTIONS Remove Sections
RESET_CATEGORY_VALUES Reset Category Values
RESET_FUNCTION_VALUES Reset Function Values
RESET_SLANTING_ROOF_HEIGHT Reset Height of the Slanting Roof of a Building section
SET_CATEGORY_VALUE Set Category Value
SET_DECALS Set Decals
SET_FLOORS Change amount of floors
SET_FUNCTION Set Function
SET_FUNCTION_VALUE Set Function Value
SET_OWNER Set Owner
SET_SLANTING_ROOF_HEIGHT Change Height of the Slanting Roof of a Building section

Deprecated Events:

Name Description
DUPLICATE_SECTIONS Use DUPLICATE_SECTION instead for identical result.