Attribute: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:
==How to add and remove attributes==
==How to add and remove attributes==


Attributes can be added for [[Neighborhoods|neighborhoods]], [[Areas|areas]], [[Constructions|constructions]] and [[Zones|zones]]. In order to add an attribute for one of these Engine components you need to first open the panel of the particular asset.   
Attributes can be added for [[Neighborhoods|neighborhoods]], [[Areas|areas]], [[Constructions|constructions]] and [[Zones|zones]]. In order to add an attribute for one of these Engine components you need to first open the panel of the particular component.   


[[File:Attribute_add.png|framed|left|This panel allows you to add new attributes]]
[[File:Attribute_add.png|framed|left|This panel allows you to add new attributes]]
: To add new attributes, open the Attributes tab on the right in the selected Engine component.  
: To add new attributes, open the Attributes tab on the right in the selected Engine component.  
[[File:Attribute_name_s.png|framed|right|This panel allows you to select the attribute that you want to import]]
: To select the attributes you want to import with a GeoJson file, choose the right attribute name.




{{Editor steps|title=Add a new attribute|Enter a new attribute name|Enter a value|Select "Save New Attribute".}}
{{Editor steps|title=Add a new attribute|Enter a new attribute name|Enter a value|Select "Save New Attribute".}}
{{Editor steps|title=Add attributes with a GeoJson file|Select the GeoJson file in the folder|Drag and Drop the file in the Tygron Engine|Select the desired input|Make sure the attribute checkbox is checked|Select the right attribute name|Select the right attributes to import|Select Send to import the attributes together with the imported area|Pic?}}
{{Editor steps|title=Add attributes with a GeoJson file|Select the GeoJson file in the folder|Drag and Drop the file in the Tygron Engine|Select the desired input|Make sure the attribute checkbox is checked|Select the right attribute name|Select the right attributes to import|Select Send to import the attributes together with the imported area.}}
{{Editor steps|title=Remove an attribute|It is not possible to remove an attribute.}}<br clear=all>
{{Editor steps|title=Remove an attribute|It is not possible to remove a single attribute|To remove all attributes at once select "Reset Variables".}}<br clear=all>


==Edit attributes==
==Edit attributes==
Line 27: Line 29:


====Active (by default)====
====Active (by default)====
: ''The "Name" field is where the name of a zone can be changed. The name of a zone can be seen on the zoning [[overlay]]. By entering a new name in the "Name" field, the zone can be given a more identifying name.''<br clear=right>
: ''When an attribute is active it will be taken into account when the .''<br clear=right>


====Color (by default)====
====Color (by default)====
Line 33: Line 35:


====Add new Attribute with Name====
====Add new Attribute with Name====
 
: ''This is the name of the attribute. This name will be used in the query language and can not be adjusted after selecting Save New Attribute.''<br clear=right>


====Add new Attribute with Value====
====Add new Attribute with Value====
 
: ''This is the value of the new added attribute. This value can be adjusted after selecting save New Attribute.''<br clear=right>


====Reset variables====
====Reset variables====
: ''When selecting this function all attributes are removed from the right attribute tab.''<br clear=right>

Revision as of 12:06, 5 August 2016

Template:Learned

What is an Attribute?

An attribute is a characteristic of a particular component in the 3D world like an areas or a construction. An attribute is always a number and can have a positive or a negative value.

Attributes in relation to the Tygron Engine

Attributes contain information about a particular component which can be used in Excel calculations. The value of an attributed can be changed as a result of an Excel calculation or as the result of an event. Some of the attributes and their value at the start of the project are added by default. It is also possible to add or adjust attrubites and the value manually. In addition, there is also the possibility to import attributes as part of importing GeoJSON files. The Engine's component where attributes are applied to are: neighborhoods, areas, constructions and zones.

The attribute is always described as number value. When the attribute is not given as a number the outcome of a calculation will be zero. But it is also possible that the legit outcome of a calculation is zero. Therefor, when the outcome is zero it can be wise to check the spreadsheet for errors.

When you want to make use of an attribute in an Excel indicator you need to specify in the spreadsheet if the attribute is included int the calculation or not. This is done by the ACTIVE attribute. For the ACTIVE attribute the input is always 1 for active and 0 for not active.

How to add and remove attributes

Attributes can be added for neighborhoods, areas, constructions and zones. In order to add an attribute for one of these Engine components you need to first open the panel of the particular component.

File:Attribute add.png
This panel allows you to add new attributes
To add new attributes, open the Attributes tab on the right in the selected Engine component.
File:Attribute name s.png
This panel allows you to select the attribute that you want to import
To select the attributes you want to import with a GeoJson file, choose the right attribute name.


How to Add a new attribute:
  1. Enter a new attribute name
  2. Enter a value
  3. Select "Save New Attribute".
How to Add attributes with a GeoJson file:
  1. Select the GeoJson file in the folder
  2. Drag and Drop the file in the Tygron Engine
  3. Select the desired input
  4. Make sure the attribute checkbox is checked
  5. Select the right attribute name
  6. Select the right attributes to import
  7. Select Send to import the attributes together with the imported area.
How to Remove an attribute:
  1. It is not possible to remove a single attribute
  2. To remove all attributes at once select "Reset Variables".


Edit attributes

Normally it is not necessary to adjust the values of attributes.

Active (by default)

When an attribute is active it will be taken into account when the .

Color (by default)

Rudolf will explain the color

Add new Attribute with Name

This is the name of the attribute. This name will be used in the query language and can not be adjusted after selecting Save New Attribute.

Add new Attribute with Value

This is the value of the new added attribute. This value can be adjusted after selecting save New Attribute.

Reset variables

When selecting this function all attributes are removed from the right attribute tab.