What's new

Welcome to the GSA Community!

This is the Official User Community for GE's GeoSpatial Analysis products. By registering with us, you'll be able to discuss, share and private message with other members of our Community.
Registration is currently only allowed with a personalized invitation code, which you might have received previously. If you haven't got one:
please get in touch with your GE contact person or your regional moderator(s): see FAQ.

SignUp Now!

Creating your first project

pauljoosten

Spatial Eye
Staff member
Confirmed GSA Customer
Joined
Aug 2, 2021
Messages
5
This article will help you setup your first project and explore the basic data shaping, query and visualization capabilities of the GeoSpatialAnalysis application (or GSA application).

Prerequisites:​

  • Professional or Ultimate edition of the GSA application
  • Configured location of the project store to save your project file
  • File based data sources (ESRI ArcShape and Microsoft Excel), download here.

Step 1: Starting a new project and opening your data sources​

Start the application, go to the Project tab and select New, to make a new Project.

Afbeelding1.png

Your new project:
Afbeelding3.png

To make sure that you won’t lose your work, save the project in the Project Store. Click on Project in the top left-hand corner.

Afbeelding4.png
Click Save As, give your project a name and click Save.
The project is now saved in your Project Store.
Afbeelding2.png
Now that you have your project set up it's time to add some data and start exploring, shaping and visualizing. Unzip the file-based data sources ESRI ArcShape (countries.dbf, countries.shp and countries.shx) and the Microsoft Excel (CountryInhabitants.xls), you can download from this article and place them in a data directory on your computer.

Note about ESRI Shape
Although you will see only the .shp-file when opening this data source, the .dbf and .shx also need to be in the same directory as they contain specific parts of the stored data.​
If you are interested in the spatial data from this source you will need to know the coordinate system in which the data has been stored. This information is usually provided by the maker of the data source.​

Adding the Countries.shp file as a Feature Source (coordinate system for this file is WGS 84 with EPSG: 4326)
Add a feature source to your project.
  1. Select Feature Sources
  2. Click on the Add Feature Source button
Afbeelding6.png

Select the Type of source, in this case it is: ESRI ArcShape, and click Next.
Afbeelding7.png

Click Add.
Afbeelding8.png

Select the data source you downloaded earlier.
Afbeelding9.png

Now you see that the data source is selected.
Click Next.
Afbeelding10.png

Select the correct coordinate system, in this case WGS84.
Click Next.
Afbeelding11.png

It's a good practice not to auto generate Business Objects right away. It’s better to get familiar with the data source, so you know which tables you want to use in your project.
Auto generation will save you work in the future when you are more familiar with the product.
So untick the box Automatically generate Business Objects and click Next.
Afbeelding12.png

Name your source Countries from Shape and click Next and on the next screen click Finish.
Afbeelding13.png

Explore the structure of the source by clicking on the arrows.
Afbeelding14.png

You can see the following parts in the feature source:
CollectionsOverview of the data source tables
Map DefinitionsOverview of all geometrical fields from the data source
FieldsOverview of the fields within the selected data source table
IndexesOverview of the alphanumeric and spatial indexes for the selected data source table
Alphanumeric FieldIndicated by a selected column icon
Geometrical FieldIndicated by single or multi point, line or polygon icons
Primary keyIndicated by the key icon

Adding the Excel-file is quite similar to adding the shape file. As there is no possibility to store geometrical fields in Excel the selection of the coordinate system will not appear.

When adding the Excel-file you can select to use the first column as primary key, do this only if you are sure that the first column contains unique values. If you are not sure don’t tick the box, in this case we don’t tick it.
Afbeelding15.png
Note about Excel
Excel data source is actively checked for mutations, when you adjust the content of the Excel file the results will be visible in the application.​

Explore the data sources with the Statistic and Browse functionalities to determine which tables you want to use for your Business Objects. Statistics will give insight in the number of records in the source table and field value distribution per specified field from the selected source table.
Afbeelding16.png

Browse or Browse filtered will give you the actual content of the source table.
Afbeelding17.png


Step 2: Creating and shaping Business Objects​

Now that we know that we want to use the Countries table from ESRI Shape and Inhabitants from Excel we can promote those tables to Business Collections. Select the two tables (hold the Ctrl-key to perform a double selection and press the Create Business Object icon).
Afbeelding18.png

You can see the green check icon when the source table is being used in the Business Collections.
Afbeelding19.png

Now we can go to the Business Collections overview and start shaping our newly created Business Objects.
  1. Select the just created Countries Business Object.
  2. Press the configure icon to enter the data shaping menu.
  3. The Business Collection Designer.
Afbeelding21.png

Business Objects
You can see a business object as another layer on top of the source table. In this layer you can change existing fields, create derived fields and integrate other source tables. The fields can be used directly or aggregated.​
You can create new objects with these fields that you can use for reporting, analytics or visualization without changing the actual source.​
The application will determine the most efficient way of returning the data from the selected data sources based on the choices you made in the configuration of the business object​

We are going to integrate the data from Excel with the data from the ESRI Shape file by establishing a relationship (also known as join) between the Countries table and the Inhabitants table. The result will give us the information about the number of inhabitants in the same Business Objects as the information about the location of the countries.

Select the Countries Business Object and go to the add source table wizard.
Afbeelding22.png

In the first menu
  • Select the Excel-sheet as the Source table.
  • Click Next.
Afbeelding23.png

In the next menu
  • Select the field Inhabitants.
    • This field will be added to the Business Object automatically after the wizard menus are completed.
    • When we want to add another field from the related table, we can always do this in the Business Object configuration without running the wizard again.
  • Click Next.
Afbeelding23a.png

In the next menu select the type of the relationship.
  • In our case we will use Look Up Table.
  • Click Next.
Afbeelding24.png

Look Up TableUsed for cases where you want to use the actual value of the field
from the related table, it can be either one on one (single lookup),
one to many (multiplicity) or forced one on one
Aggregate TableAggregate Table is used when the related table will have multiple
results (one to many) in the relationship and you want to add
aggregated values like Count, Gather, Min, Max, Mean and Sum

In this menu
  • Select Do setup Join.
  • Check the From Table and To Table fields to make sure that the relationship, we want to build, is correct.
Afbeelding25.png

Next step is configuring the mutual field to set up the relationship, this can be done alphanumeric, spatial or a combination of the two. In the example the field Country Code is mutual in the two sources, so we use this field to join the tables.
You do this as follows:
  • Click Add
  • Select in the left-hand column the field Cntry Code
  • Select operator Equals
  • Select in the right-hand column the filed Country Code
  • Click Next
Afbeelding26.png

When the wizard is finished you will see the related table in the middle of the screen and a new field added to the Countries Business Object.
To see the results:
  1. Browse the Business Collection
  2. Check that the Inhabitants field is in the Countries collection
  3. Look in the result list
  4. Check the column Inhabitants
Afbeelding27.png


Step 3: Styling the geometries​

For our final step we will add styling to the countries Business Object geometry field and add it to a map. Select the geometry field from the Business Object, in our case it's a multi polygon, and open the style designer.

Afbeelding28.png

The Style Designer is used to give the selected geometry field a specific style. The application provides a default set, but it is also possible to create and import your own styles and create styles dependent on context like view scale or attribute values. For now, we will choose the default Municipality style for this geometry.
Afbeelding29.png

Now we have the integrated Business Object Countries and we styled its geometry field with the default Municipality style, we are ready to put it on a map.
  1. Go to the Map Definitions and
  2. Select the Default map.
  3. Click on the configure button
Afbeelding30.png

In the overview tab you will see the Geometry from Countries that is ready to be used on the map.
Afbeelding31.png

To add the style to the map, follow these steps:
  1. Create a new Theme in the Foreground of the map
  2. Right click on the Foreground
  3. Click on Add Theme
  4. Change the name to Countries.
Afbeelding32.png
Afbeelding33.png

Changing names
If you want to change the name of the Theme later, you can use the F2 key while the Theme is selected to enter the name edit mode. It will also work in other parts of the application.​

You can add the geometry of Countries to the map by selecting it from the Geometry Field tab, selecting the theme and clicking on the plus icon.
Afbeelding34.png

Select the All option in the Scale Ranges to present the geometry on all levels.
Afbeelding35.png

Now you can open the map from the Home ribbon and view the results by navigating on the Default map and clicking on the countries geometries to view it's properties.
Afbeelding36.png

The opened map.
Afbeelding37.png

Details of a country.
Afbeelding38.png
 

Attachments

  • DataSources.zip
    604.1 KB · Views: 9
Last edited:
Top