Adding Data

In order to optimize the location of the infrastructures, Pathfinder needs spatial information about the suitability of different locations. This geospatial information is collected from multiple datasets in vector form (features) and raster (image) form.

Check out our recommended steps to prepare data for Pathfinder.

Note

Users who are not admin/staff can’t add data. Ask your administrator to do it for you.

Base Datasets and Project Layers

Pathfinder works with vector and raster data at two levels:

  • Base datasets: These contain the original data which can be used in different projects. For instance, we may have a “protected areas” dataset or a land cover raster for the whole country that we want to use for different study areas (different projects).

    The base datasets can be:

    • Public datasets: They are setup by Gilytics for all Pathfinder users. An example are the OpenStreetMap (OSM) datasets for the whole world.

    • Private datasets: They are uploaded or connected from remote services by Pathfinder users, and are available to all members of your organization.

  • Project layers: Data from the base datasets are added to a project in the form of a layer, clipped to the area of the project.

Therefore, data can be added to a project only by creating layers from the base datasets, either public or private.

_images/sharedDatasets.jpg

Adding Base Datasets

For this section, you can follow one of our tutorial videos:

To add private base datasets to be used within your organization and projects, use the Project/Import Datasets menu option.

_images/baseDatasets.jpg

The Import Datasets dialog will open:

_images/importDataset.jpg

From the user profile it is possible to list the datasets already available and also add new ones.

Add the Files

By default, the File tab is selected in the Import Datasets dialog. The supported formats are

  • Vector data: shapefile (all files compressed in a single .zip), ESRI Geodatabase (zip), GPKG, GeoJSON and KML.

  • Raster data: GeoTIFF files (.tif, .tiff, .geotiff).

You can drag and drop, or select, the data files. Multiple files are supported. They should appear in the list below the drop area before they can be uploaded. If a format is not supported, an alert message will be visible and the file will not be listed.

_images/raster_import.jpg

After you click on the Upload button, the new datasets will be uploaded and stored in the Pathfinder database. You can follow the progress in the Process Log popup window:

_images/baselayerProcessed.jpg

Add WFS Services

Another option to add vector data to Pathfinder is to use a Web Feature Service. Some organizations publish data in this form.

Select the WFS tab in the Import Dataset dialog, and enter the URL of the service you want to access. Then click on the Load Layers button to get a list of the available datasets:

_images/addLayerWFS1.jpg

You can type some text to search available layers by name:

_images/addLayerWFS4.jpg

Click on the layer list names to select which datasets you want to create from the WFS service:

_images/addLayerWFS2.jpg

After you click on the Upload button, you should see a confirmation that the base dataset was created:

_images/addLayerWFS3.jpg

When you are done adding datasets, click on Cancel to close the dialog.

Adding Layers to a Project

After creating and opening a project, you can add layers to it in the project viewer.

Note

Base datasets are not visible in the project until they are added as one or more layers.

To add a new layer, use the Project/New Layer menu option:

_images/addLayerMenu.jpg

You can also use the New layer icon button in the LAYERS header of the left panel:

_images/addLayerIcon.jpg

In both cases, the Add New Layer dialog will become visible:

_images/addLayerDlg.jpg

If a raster with multiple bands has been imported, the user will be able to add them separately as layers in the project.

_images/multiband1.jpg

_images/multiband2.jpg

Configuring the Layers

The Add New Layer dialog will show all datasets (public and private) available to create project layers. You can use the checkboxes to select one or more of these datasets to create new layers.

Note

Only the base datasets whose extension intersects the project area are listed. If a base dataset is already used by other project layer, it will appear under the “Included” tab.

Even if the base dataset extension includes the project area, it may happen that it does not include any data in this area.

Use the Search Layers input to quickly find the dataset you are interested. For instance, search for “forest” to quickly find the OSM Forest dataset.

_images/bufferSearchLayers.jpg

The layer configuration includes these options (raster layers only require the Category):

  • For vector layers, set a filter to specify the objects to be used in the layer, based on attributes or field values. If no filter is specified, all features from the base dataset in the project area will be used.

    First click on the Set button in the Filter column. Then, in the filter dialog, select the attribute containing the property you are interested, as well as the operator (=, <, …) and the value to compare. Multiple filters can be combined by using Add Filter, as in the following example.

    _images/class_filter.jpg

    By repeating this process on the same base dataset, you can easily create layers with different objects from the original data.

    _images/class_pathfinder.jpg

  • Select the name of the category (the group the layer will belong to) in the dropdown of the column Category.

    Categories are important to tune the relative weight of different layer groups in the optimization scenarios. The name and members of categories can be changed later.

  • Select the buffering option: single or multiple buffer rings.

    _images/bufferRingOption.jpg

    Buffer rings are used to extend the area of influence beyond the original dataset boundaries or locations.

    • In the single ring mode, the original data boundary or location is extended by a certain distance or ring width:

      _images/bufferSinglering.jpg

    • In the multi ring mode, the original data are extended with multiple rings at different distances, so we can set different resistances or cost to each of these areas. Normally, the first ring will have a higher resistance, and more distant rings will have progressively lower resistance.

      The user specifies the width of each ring, and the distances are added (e.g. if widths are 100, 200, 300, the distances to the original will be 100, 300, 600…):

      _images/bufferMultiring.jpg

      By default, up to four rings can be defined. Click on the Add Ring button if you want more rings:

      _images/bufferAddRing.jpg

If you have a project containing correct settings for the layers, you can copy them to the current project, by clicking on the Copy Buffer Settings from Project button:

_images/bufferCopyFromPrjBtn.jpg

When the selection dialog pops up, select the project you want to copy the settings from:

_images/bufferCopyFromPrjDlg.jpg

After the layer configuration is finished, click on the Process Layers button at the bottom right.

You can follow the progress of layer preprocessing in the Process Log:

_images/processLogBuffers.jpg

After the process is completed, the new layers will be visible in the Left Panel of Pathfinder.

Changing the Layer Configuration

The layer configuration can be changed at any time while working in the project. This is typically needed to change the layer filter, the number of rings or their widths.

Note

Only the project owner (the user who created the project) and the administrators of the company can change the layer configuration.

Layer configuration changes require the layers to be processed again from the base data. To access the configuration properties at any time, use the Project/Layer Preprocessing menu option:

_images/layerProcessMenu.jpg

You can also access it from the corresponding icon in the Layers panel on the left:

_images/layerProcessBtn2.jpg

The window displayed with a table of the project layers is very similar to the Add New Layer dialog we have seen. After changing the properties of one or more layers, they get automatically selected, so when the user clicks on the Process Selected button, these layers will be reprocessed:

_images/layerPreprocessBtn.jpg

Check the process log to see when the layer processing ends and you can verify visually the results.




Disclaimer: the scenarios depicted in this manual do not represent actual customer projects or infrastructure proposals, and are presented for demonstration purposes only.

For more help, please use the help chat in the application, or contact Gilytics.