Api session event editor building: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 10: Line 10:
|-
|-
| [[Api session event editor building add polygons|add_polygons]]
| [[Api session event editor building add polygons|add_polygons]]
| Add [[Polygon]]s for [[Building]] [[Section]]. In case the [[Building]] is empty, optionally set ownership to largest [[Plot]] Owner of provided [[MultiPolygon]]
| Add [[Polygon]]s for [[Building]] [[Section]]. If the [[Building]] is empty, optionally set ownership to the largest [[Plot]] Owner of the provided [[MultiPolygon]]
|-
|-
| [[Api session event editor building append attribute|append_attribute]]
| [[Api session event editor building append attribute|append_attribute]]
Line 64: Line 64:
|-
|-
| [[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]] [[Polygon]]s, optionally only for specified [[Building]]s.
| Calculate a rotation angle for [[Building]]s with [[Polygon]]s for the identifying [[Attribute]], optionally only for specified [[Building]]s.
|-
|-
| [[Api session event editor building generate water connection|generate_water_connection]]
| [[Api session event editor building generate water connection|generate_water_connection]]
Line 73: Line 73:
|-
|-
| [[Api session event editor building query|query]]
| [[Api session event editor building query|query]]
| Executes a single [[Tygron Query Language|TQL Query]]. Note: you can also use the [[Session]]/query endpoint to execute multiple statements and get additional information on API usage.
| Execute a single [[Tygron Query Language|TQL Query]]. Use the [[Session]]/query endpoint for multiple statements or detailed API usage information.
|-
|-
| [[Api session event editor building remove geometries|remove_geometries]]
| [[Api session event editor building remove geometries|remove_geometries]]
Line 97: Line 97:
|-
|-
| [[Api session event editor building set floors|set_floors]]
| [[Api session event editor building set floors|set_floors]]
| Change amount of floors
| Change number of floors
|-
|-
| [[Api session event editor building set function|set_function]]
| [[Api session event editor building set function|set_function]]

Latest revision as of 09:58, 13 July 2026

API Endpoint: api/session/event/editorbuilding/

API endpoints for Building editing.

Name Description
add Add new Building
add_polygons Add Polygons for Building Section. If the Building is empty, optionally set ownership to the largest Plot Owner of the provided MultiPolygon
append_attribute Appended to existing Building numeric Attribute value
duplicate Duplicate existing Building
import Import Building Collection
remove Remove existing Building
remove_attribute Remove numeric Attribute from Building
remove_polygons Delete Polygons for Building Section
set_attribute Set Building numeric Attribute value
set_attributes Set multiple Building numeric Attribute values
set_name Set new name of existing Building

Additional API endpoints:

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 Calculate a rotation angle for Buildings with Polygons for the identifying Attribute, optionally only for specified Buildings.
generate_water_connection Generate Water Connection.
multi_select Multi Select
query Execute a single TQL Query. Use the Session/query endpoint for multiple statements or detailed API usage information.
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 number 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