Basics tutorial: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 281: Line 281:
[[File:basics-editor-editing-ribbon.jpg|frame|center|TODO]]
[[File:basics-editor-editing-ribbon.jpg|frame|center|TODO]]


Switching between these tabs may also change parts of the [[user interface]], allowing for more ways to view and interact with the [[3D visualization]].
Switching between these tabs may also change parts of the [[user interface]], allowing for more ways to view and interact with the [[3D Visualization]].


Starting out with the {{software}}, getting acquainted with, and properly using the options available which are part of the  [[Current Situation]] are the essential foundation for each use-case. The functions available through the other tabs may be relevant for more specific or specialized use-cases.
Starting out with the {{software}}, getting acquainted with, and properly using the options available which are part of the  [[Current Situation]] are the essential foundation for each use-case. The functions available through the other tabs may be relevant for more specific or specialized use-cases.
Line 323: Line 323:
[[File:basics-editor-editing-3d-highlight.jpg|frame|center|TODO]]
[[File:basics-editor-editing-3d-highlight.jpg|frame|center|TODO]]


For geographic types of data, it is also possible to click on the element in the [[3D Visualization]]. Click on a road where cars are visualized, so that it is highlighted in the [[3D visualizaton]] and the [[right panel]] shows information about it.
For geographic types of data, it is also possible to click on the element in the [[3D Visualization]]. Click on a road where cars are visualized, so that it is highlighted in the [[3D Visualizaton]] and the [[right panel]] shows information about it.


This also works for roads (or other [[building]]s where no cars are shown, but for a later step it is most interesting to have a road with cars.
This also works for roads (or other [[building]]s where no cars are shown, but for a later step it is most interesting to have a road with cars.

Revision as of 16:07, 28 February 2023

Prerequisites

The following prerequisites should be met before starting this tutorial:

  • Ensure your organisation's domain administrator has created an account for you.
  • This tutorial will involve the creation of a new Project. This Project is intended for experimentation with the features the Tygron Platform offers.

Introduction to the Tygron Platform

The Tygron Platform is a server-client application specializing in rapid, parallel calculations and processing of data. Organizations have license which allows access to the software, and a Domain which holds all the organization's User accounts and Projects. Each user within an organization that wishes to make use of the software must have an individual User account.

Projects are complete sets of data representing a use-case in a real geographical location. Projects can be started as a Session, which is an interactive representation of Project data. Generally, only one Session can exist per Project.

When a Session is active, it is generally not possible to start a second Session while the first Session is still running. However, it is possible for multiple Users to interact with the same Session at the same time.

This tutorial assumes a user account has been created with at least EDITOR rights.

Getting started as a new user

Download the Tygron Platform client application. It can be found here:

https://engine.tygron.com

The web page will prominently present a link to download the installer.

After the download completes, install it the application, and finally start the application.

If the Tygron Platform has not been run recently on this computer, a prompt may appear for the end-user license agreement. If you agree with the terms, accept it. Note that accepting the EULA is required to continue this tutorial and to use the Tygron Platform in general.

The end-user license agreement will be shown.

At the login screen, click on "forgot password". Enter the email associated with your account, and click on "Reset".

The reset password screen.

This will prompt an email to be sent to your email account with a new password, which will allow you to log in.

After resetting the password, the login screen will have reappeared. As username, enter your email. As password, enter the password sent to you in the mail. Then click on "sign in".

If the Tygron Platform has been freshly (re)installed, the application may take a moment to optimize its internal settings, so that it can maximize performance as necessary. This will force the application to close. When this happens, restart the application, and log in again.

The software will optimize itself, and close.

The main menu will appear.

The software will optimize itself, and close.

In the main menu, click on "options", and then "my account". This screen will allow you to manage your own account and your own Projects.

The software will optimize itself, and close.

Click on "Change my password". A prompt will appear with which you can change your password to one you can remember.

The software will optimize itself, and close.

Working with Projects

Essential for working with the Tygron Platform is the ability to create new Projects and manage their Sessions and permissions.

Creating a new Project

In the main menu, click on "Create new Project".

Use "New Project" to create a new Project.

This will start the New Project Wizard.

The "New Project Wizard" guides the process of creating a new Project.

Enter a name for the new Project. A Project name should usually indicate the geographical setting where the Project is located. When creating a new Project for the purpose of experimentation, such as a tutorial, it is generally convention to have the project name indicate the person the Project belongs to, e.g. test-yourname.

The name must be between 3 and 20 characters, and may consist of alphanumeric characters, spaces, and dashes.

Enter a project name.

When creating a new Project, it is possible to either create a new Project from scratch, or to base the new Project on a pre-existing Project. Ensure the option for creating a new project is selected.


Set the Projects language to the desired language, the currency to the desired currency, and the measurement system to "international".

TODO

Proceed to the next screen of the wizard.

This screen allows the selection of the geographical location and size of the new Project.

TODO

Use the search bar to locate the general area where the Project is to be located.

Move the map using the right-mouse button.

Use the left mouse button to place the blue selection zone in the appropriate location. Everything within the blue extent will be part of the Project and the 3D visualization. Anything outside the blue extent will not be part of the Project and the 3D visualization.

TODO

Click on "Advanced Options". This opens an additional panel in which some specific datasources can be toggled or configured. Some datasources can be explicitly includes or excluded from the process of generating the Project.

TODO

Disable the "Ownership" options. This will disable the Tygron Platform from generating a complex ownership situation, which might inhibit the free application of tools for sketching a future situation using Actions. Disabling the import of ownership data is a best-practice.

TODO

Click on "Generate". This will start the data import process on the Tygron Platform server.

TODO

After the generation process completes, the editor environment and 3D Visualization will load.

TODO

Saving, and permissions

When the Editor and the 3D Visualization have loaded, it is possible to explore the data present in the project, to effect changes in the data, to add calculation models, and perform all other operations desired.

Before exploring the editor, click on "File" in the top-left corner of the screen. This will open the File menu for the Project.

TODO

Click on "Save" to save the Project. The current state of the Project will now be saved.

TODO

After the Project has saved, click on versions.

TODO

Each Project can have a maximum of 10 versions within it. Versions are used to create known states of a Project, to which it is possible to revert if so desired.

Click on "Add new version". This will save the current state of the Session in a second version. The second version will now be listed, and this new version will also be marked as active.

TODO

If changes are now made to the Project and the Project is saved, those changed will be stored in the new version. At any point in the future, it will be possible to revert the Project back to the initial "Base Version", which will not include those changes made in the second version.

It is important to note that the Tygron Platform does not have an "undo" button. To revert (complex) changes, the appropriate approach is to save periodically when the state of the Session is correct, using versions to maintain those states, and either closing without saving or switching to earlier versions to remove or revert the changes.

Click on "details". This will open the overview of general meta-data of the Project.

TODO

The meta data of a Project includes an overview of the permission which dictate who can access this Project and Session.

Permissions can be set for:

  • Owner, which is generally the User whom created the Project
  • Other users in Domain, which are all the Users in the same Domain
  • Tygron Support, which is any Tygron employees

The rights for any of these can be set to any of the following levels:

  • NONE, which means the Project cannot be accessed.
  • READ, which means the Project can be opened as a Session. Data can be inspected and modified, but not saved. Saving a copy to create a new Project is allowed.
  • WRITE, which means the Project can be saved as well, allowed its data to be permanently changed.
TODO

Note that any newly created Project (including one resulting from copying an existing Project), will have all rights except of that of the owner set to NONE. This is in line with Tygron's privacy-by-default policy, requiring explicit granting of access to others.

Also note that because the permissions for Tygron Support are set to NONE by default, Tygron employees cannot access a Project's data without explicit approval.

Closing and reopening

In the File menu, click on "Exit".

TODO

A prompt will appear to ensure you wish to exit, and whether the Project should be saved before closing. Opt to close the Session, either with or without saving.

The application will now close. The client application always closes fully when exiting a Session. Additionally, because there are no more Users active in the Session, the Session itself is also ended on the server. Because the Project has been saved manually before closing it, the Project data will continue to exist on the server even after the Session has closed.

Restart the application and log in again.

In the main menu, click on "options", and then "my account". Notice that now a Project is listed, specifically the Project created previously.

The permission settings, which could be edited from the Editor, can also be set from this overview.

TODO

Additionally, if at any point a Project should be reverted to a previous version, that can be done from this overview as well. Note that no Session of the Project may be running while changing the Project's version.

TODO

Finally, also take note of the options to rename any Project listed here, or delete any Project listed here.

Go back to the main menu, and click on "Edit Project".

TODO

The list of Projects includes:

Select the Project created as part of this tutorial.

TODO

The Project will now open in a new Session, again providing an Editor environment in which it is possible to interact with the data.

Interacting with Project data

Sessions allow interacting with Project data, such that:

  • The data present in the Project is made to be more representative of reality.
  • Calculation models are added to analyse the data, resulting in information on a variety of theme's such as heat, water, and traffic effects.
  • Tools for adding changes, from individual options for free-form drawing to complete urban plans which can be implemented integrally, are available for exploring and analyzing potential scenarios.

Structure of the editor

The editor can be considered to consist of 2 levels of interface:

  • The 3D visualization and related user interface in the center of the screen, with mostly dark-colored interface elements.
  • The surrounding/overlaid editing interface, with mostly bright-colored interface elements.
TODO

Exploring the 3D visualization

The 3D visualization is a visualization of the data in the Session, as a unified 3D world. All elements which can be seen in the 3D environment are based on data present in the Session.

Camera

The 3D visualization is facilitated through a camera, which has a position (the point at which the camera is located, and looking "from"), and a focal point (the point at which the camera is directed, and looking towards).

Click in the 3D world, and move the camera. Try the following motions:

  • Hold down the left mouse button, and drag the 3D world, to move the camera along the horizontal plane.
  • Hold down the right mouse button, and drag the 3D world, to rotate the camera around the point the camera is pointed at.
  • Scroll the scroll wheel up and down to zoom in and out.

There are multiple camera modes available, which can be switched between. Find the camera icon at the top right side of the user interface.

TODO

Change the camera mode by clicking on the icon, and again try to move, rotate, and zoom the camera.

Move the focal point of the camera as far to the side as possible. Notice that when the edge of the Project area is reached, it is not possible to move any further. The camera is always directed at a location inside the Project area.

TODO

Overlays

On the right side of the screen, a list of icons is displayed. These icons represent Overlays, which are map layers which can be switched between. By default, the following Overlays are available:

Icon Overlay Description
Overlay icon normal.png Base Shows the 3D world as-is, without additional information.
Overlay icon neighborhoods.png Neighborhood The Neighborhoods the world is divided up into.
Overlay icon ownership.png Ownership Shows what areas and what Buildings are owned by which Stakeholders.
TODO

Click on the icons to switch between the Overlays. You will see the 3D Visualization now includes an additional overlaid image displaying specific information.

TODO

A legend is also displayed at the bottom of the user interface, clarifying the meaning of the colors of the Overlay.

TODO

Note that, because the "Ownership" option was turned off while creating this Project, there is no detailed ownership data available. The Ownership Overlay will still display the state of ownership of the data in the Project, but all land and Buildings are owned by the default Stakeholder, which is the municipality.

Select the base Overlay again, and click in any location in the 3D visualization. A hover panel will appear, giving more information about that location.

TODO

Switch to a different Overlay, and click in any location in the 3D visualization again. The hover panel will again appear. The hover panel and the active Overlay are always related, so the information displayed will always relate to the Overlay displayed.

TODO

Exporing the editor

Where the user interface allows for an integral look at the data via a 3D visualization, the editing interface allows for inspecting and modifying all data, as well as access additional tools to further interact with the Session.

Ribbon tabs

All options in the editor are divided into groups of data and tools. The groups can be switched between using the tabs at the top of the ribbon. The tabs are:

  • Current Situation, which defines all the base data of the Project, and the calculation models with which to analyse them.
  • Future Design, which defines the tools which can be made available to explore potential future scenarios.
  • Multi Scenario, which defines tools to set up and compare multiple future scenarios.
  • Tools, miscellaneous tools, including recording tools, access to the API and web interface, and tools for Project templating.
  • Community, which provides built-in links to other parts of the Tygron Platform ecosystem, such as the wiki for documentation, and the forum for users to exchange knowledge and ideas.
TODO

Switching between these tabs may also change parts of the user interface, allowing for more ways to view and interact with the 3D Visualization.

Starting out with the Tygron Platform, getting acquainted with, and properly using the options available which are part of the Current Situation are the essential foundation for each use-case. The functions available through the other tabs may be relevant for more specific or specialized use-cases.

Browsing data types

Ensure the "Current Situation" tab is selected.

TODO

Directly underneath the tabs in the ribbon is an overview of the data and tools which are relevant for the selected tab. In this case, the "Current Situation" provides access to data like the Buildings in the Project Area, terrain information such as elevation and Terrain Types, and the Overlays which can be viewed.

TODO

Click on "Buildings" (ignore the dropdown which appears). A left panel will appear in the editor, which provides an overview of all Buildings. The buildings are subdivided into categories (and Neighborhoods if there the amount of Buildings warrants it).

TODO

Click on "Overlays" (ignore the dropdown which appears). The left panel now lists all Overlays currently part of the Session. Notice that the Overlays listed in the left panel of the editing interface are the same as the Overlays listed on the right-hand side of the user interface.

TODO

Click on "Administrative" (ignore the dropdown which appears). The left panel now lists all Neighborhoods, which are the primary administrative subdivision of most Projects.

TODO

Hover over the "Buildings" button, and a dropdown will appear with further options.

In general, dropdowns provide access to quick options for adding extra data of the specified type, options for data import- and export, access to related data such as typology, and access to documentation about that particular kind of data or feature. The exact contents are always dependent on the data or feature.

TODO

It is good to emphasize that, in order to view any kind of data, it is sufficient to click on the button of that data. In addition, each dropdown also has the option to show a list of that data, which has the same effect as clicking the button in the ribbon directly.

Inspecting specific data

Open the list of Buildings again. Select any Building in the list of Buildings. The right panel will display information about the specific Building selected.

TODO

Additionally, because a geopgraphic type of data was selected, the camera automatically moves so that the focal point is centered on selected Building, which is also highlighted to show where the Building is located.

TODO

For geographic types of data, it is also possible to click on the element in the 3D Visualization. Click on a road where cars are visualized, so that it is highlighted in the 3D Visualizaton and the right panel shows information about it.

This also works for roads (or other buildings where no cars are shown, but for a later step it is most interesting to have a road with cars.

TODO

In the right panel, the individual properties of the road building can be viewed. Depending on the type of data, the exact layout of the right panel of the panel will vary. For Buildings, the right panel is divided into a number of tabs, with the General tab displaying some overall properties such as the name, the building type, and the owner.

The General tab also displays the source for the data. If the data was created during project generation, one or more sources will be listed from which the Tygron Platform has derived it.

TODO

Buildings also have properties divided into a Details tab and a Category tab. These tabs display a range of additional values for this Building, which in the case of Buildings are derived from their building type (In the Tygron Platform known as a Function).

TODO

Lastly, there is the Attributes tab. This tab displays Attributes, which are effectively miscellaneous properties the data has. In the case of a roads Building in a Project in the Netherlands, for example, an NWB_ID Attribute may be added to the Building, which is a national standard identification for roads allowing them to be easily related back to external datasources.

TODO

Changing data

Data in the right panel can also be easily changed. Switch to the General tab, and change the name of the road to "test road".

TODO

In the 3D Visualization, click on the road again so the hover panel appears. Notice the hover panel now displays the name "test road".

TODO

Switch to the Details tab, and find the "Cars / hour" value.

Note that it is easier to browse this particular overview by using the "Group Filter" option at the top to filter for only TRAFFIC-related values.

TODO

Some (or all) of the values are shown in black, and some values may be shown in red. Because the Building is of a certain Function (which is effectively a building type), values are derived from that function. However, some values may be known for this Building in particular. These are the values that are shown in red, which are values which are related to the actual Building itself, rather than being inherited from the type of building it is.

Change the "Cars / hour" value to a value 10 times as much.

TODO

Notice the 3D Visualization now updates, and the amount of cars visualized on the road has increased significantly.

TODO

Adding and removing data

Data can also be added and removed entirely. In the left panel, ensure the "test road" building is selected. At the bottom of the left panel, click on "Remove".

TODO

A prompt will appear to verify the building should be removed, and that the action cannot be undone. Confirm the action, and the building will disappear from the 3D Visualization.

TODO

The road is now removed from the Session. A new Building, of the same or a different Function can be added in its place.

At the bottom of the screen, set the add-type dropdown to "ROAD", and click on "Add".

TODO

A new Building, named "Road", will now be listed in the left panel. It is automatically selected in the left panel, and details of it are displayed in the right panel.

Besides its default name, it is immediately assigned a Function as well.

Also take note of the "Source", which now lists you as the origin of the data.

TODO

Drawing data

This new Building exists in the Session data, but is not yet visualized. This is because the Building has not yet been assigned a location.

At the bottom of the right panel, click on "Draw Area".

TODO

The bottom panel will now present a number of selection drawing tools, and is known as the brush panel.

TODO

The 3D Visualization will also change, to show show where a selection can or cannot be drawn. Any place where the usual visualization can be seen is a valid location for a selection. Any place where the a gray layer fades out the usual visualization is an invalid location for a selection.

For Buildings, the most common reason for locations being invalid to draw is because there is already a Building in that location. However, because a road was removed previously, a free location exists where the new Building can be drawn.

TODO

Left-click on one end of the free location where the new Building can be drawn. Then move the mouse so that a selection appears and extends across the intended location. When the selection is oriented appropriately, left-click again to place it.

TODO

A selection is now drawn in the 3D Visualization. In the bottom panel, click on "Apply selection". This will confirm that the selection which was drawn should be added to the polygons which compose the Building. This change to the Building also triggers an update of the 3D Visualization again, and the new construction will appear.

TODO

Essential data types

The Tygron Platform has a range of data types which can be added and/or edited in any given Session. Not all types of data are equally relevant for every use-case, but it is good to have a general overview of the kinds of data available and how they are generally structured.

For each type of data, a general description will be provided here. For more information on any specific data type, review the documentation available for those topics.

Buildings

TODO
Main article: Building

Buildings have already been explored in a previous step, but are one of the most important types of data in any Project. Buildings are effectively all spatial features in any geographic extent. Among other things, all of the following are known as Buildings in the Tygron Platform:

  • Houses
  • Apartment complexes
  • Offices
  • Retail venues
  • Roads
  • Parking lots
  • Trees
  • Benches
  • Crop fields

The most important notable exception is water, which is a type of Terrain.

Buildings inherit their properties from Functions, which can be considered the abstract building types. Each Building has the same properties as the Function it inherits from, unless that Building has values defined for it specifically.

Buildings can be seen in the 3D Visualization, with a model and textures which are defined by their Function.

Terrains

TODO
Main article: Terrain Type

Terrain is the definition of the surface and subsoil. Each location has both exactly one surface Terrain Type, and exactly one underground Terrain Type.

Terrain Types may inherit from other Terrain Types. Similar to Buildings, their properties are derived from the Terrain Types they inherit from, but can also have their own values set.

There is, effectively, no such thing as a Terrain to edit separately from a Terrain Type. Instead, Terrain Types are drawn directly into the Project Area.

Surface Terrain can be seen in the 3D Visualization, with a height defined by the elevation model, and a texture defined by the Terrain Type.

Underground Terrain can be visualized using an Underground Overlay.

Terrain also encompasses (and may refer to) the elevation model, also known as the terrain height.

Neighborhoods

TODO
Main article: Neighborhoods

Neighborhoods have already been briefly touched upon, but warrant some additional attention. Neighborhoods are administrative subdivisions. They are generally used as a default way to divide the Project Area up into smaller sections to aggregate results for, so that any results or changes become more manageable. In addition, for Projects in the Netherlands the CBS datasource will also provide a wide range of demographic attributes about the Neighborhoods when a new Project is generated.

Every location has at most one Neighborhood, and the entire Project Area should be covered by the complete set of known Neighborhoods. It is possible for a location to not be covered by a Neighborhood, but this is not a usual situation.

Neighborhoods can be visualized using a Neighborhoods Overlay.

Areas

TODO
Main article: Area

Areas are a vague but useful datatype which can best be summarized as "arbitrary Polygons with Attributes". They are shapes which can be placed anywhere in the Project Area to represent data. They have no inherent meaning in the Tygron Platform, but can be used for any number of definitions which do not fit neatly into other categories of data provided. Some uses include:

  • Indicating locations of spatial interest, such as archaeology of subsoil contamination
  • Creating additional/alternative spatial subdivisions with which to calculate data or aggregate results, instead of on a Neighborhood level.
  • Defining geographical policy areas for, for example, the Water Module. This includes Water Areas and Sewer areas.
  • Defining geographical spatial features without affecting the Buildings layer, such as Foliage for the Heat Module.

Overlays

TODO
Main article: Overlay

Overlayss have already been touched upon in a previous step, but are one of the most important types of data in any Project. As a first principle, they are map layers which display information already present in a Session, but which may not be directly visible in the 3D Visualization as is, such as the division of [[Neighborhood]s.

Overlays can also perform spatial calculations. These Overlays are known as Grid Overlays, as they function by interpreting the Project area as a grid consisting of a large number of cells. A calculation is then run for every individual cell.

Some Grid Overlays are relatively simple, such as the Elevation Overlays or the Average Overlay. Other Grid Overlays are the practical implementations of fully-fledged calculation models, such as the Water Overlay or the Heat Overlay.

Overlays are a form of data which is part of the Session, but are not themselves geographical data in the Project Area. Instead they are definitions for available map layers and calculation models, the output of which are geographically visible.

Indicators

TODO
Main article: Indicator

Indicators are definitions of statistical calculation models. Rather than the geographical calculation models which perform spatial calculations, Indicators retrieve numerical values from the Session's current state, can use those numerical values to perform calculations, and then output results. Those results are similarly not spatial, but can be numbers aggregated based on spatial features such as Neighborhoods or Areas.

Indicators are defined using uploaded Excel files. A number of Indicators are offered directly through the Tygron Platform and can easily be added to any Project. It is also possible to create a custom Excel file with the appropriate linkage to the Tygron Platform and upload it, to define your own analyses or result overviews.

Indicators retrieve data from the Tygron Platform using TQL, which is the Tygron Query Language. This is a syntax for instructions through which requests can be made of the Tygron Platform for certain details about the Session, ranging from things like the surface area in a Neighborhood, to the amount of market-rate housing units which are exposed to a specific level of Traffic Noise.

Panels are a similar type of data in the way they function, but they are not as visible by default and omit a score.

Recalculation mode

Although working with calculation models has so far not yet come up, part of knowing how the Tygron Platform works includes a detail about automatic calculations.

One of the strengths of the Tygron Platform is that new data can be very easily analysed and recalculated. By default, Sessions are set to recalculate automatically. This is signified by an "A" in the recalculation symbol in the top left of the editor interface.

While this symbol is present, auto-recalculate is active, and all dynamic calculation models are run automatically whenever any data in the Session changes.

However, when the set of calculation models in a Session is such that recalculating takes a significant amount of time, the Tygron Platform will disable automatic recalculation. This will allow editing in the Session data without every change blocking work for a multitude of seconds.

When this happens, this will result in newly added Grid Overlays having a value of "0" everywhere, and Indicators and other computed interface elements not updating or presenting as empty.

When this happens, a recalculation of all calculation models in a Session can be triggered.

Final Assignments

Using the information learned in this tutorial, and with an initial Project created specifically for experimentation, try the following editing actions and explore the results.

  1. Hover over the Overlays button in the ribbon so that the dropdown opens. In the list of Overlay categories, select "Topographical", and then click on "Digital Terrain Model". Explore the resulting Digital Terrain Model Overlay

Final notes

Although not part of the general explanation provided in this tutorial, the following notes are important to keep in mind:

  • Sessions will be closed when you exit them explicitly by closing the application. However, should something happen which erroneously breaks connection, such as the computer losing power, the Session will remain active for a grace-period of 30 minutes. During this time the application can be restarted, and the session can be rejoined to continue without loss of work.

Tutorial completed

Congratulations. You have now completed this tutorial. In it, you have learned the basics of working with the Tygron Platform editor. This includes some general information about creating and managing Projects,.