Managing Data Sources

The following data source management activities can be performed from the Data Sources page:

§  Editing Data Sources

§  Scanning Data Sources

§  Granting Edit or View Access

§  Deleting Data Sources

Editing Data Sources

To edit a data source:

1.      From the SkylineGlobe Server Manager menu, select Data Sources.

2.      Right-click the required data source, and click Properties. The Update Data Source panel is displayed.

3.      Modify the data source properties as required. See "Adding Data Sources" in this chapter for information.

4.      If you want to update the data source layers with these property changes, scan the data source. See "Scanning Data Sources" in this chapter for more information.

Note: This does not apply to SG Upload type data sources.

5.      If you want to save the property changes without updating the data source layers, click Save.

Scanning Data Sources

When adding or editing a server-side data source, either SG Scanner type or from an Oracle Spatial, SQL Server, or PostgreSQL database, SkylineGlobe Server scans the data folder or database and allows you to select which of its layers to publish. Whenever changes are made to this data source, it can be rescanned to update the server. See "Publishing New and Updated Layers from a Server-Side Data Source" in the "Working with Layers" chapter for information.

For more information on adding or editing a data source, see "Adding Data Sources" and "Editing Data Sources" in this chapter for more information.

To scan a previously added data source:

1.      From the SkylineGlobe Server Manager menu, select Data Sources.

2.      Right-click the row of the required data source, and click Scan. The data source is re-scanned and the Scan Results are displayed with a list of all files found in the data source and their status (New, Existing, Deleted or Updated).

3.      The leftmost column of the Scan Results table displays the default and recommended action for each of the layers, which directly correlates to the layer’s status:

§  No marking – Do not update SGS layers with this change (for previously scanned layers that were not modified).

§  P – Publish/update layer to SkylineGlobe Server (for new and updated layers).

§  X – Delete the SkylineGlobe layer (for deleted layers).

4.      Modify the default actions as required, and click OK.

Granting Edit or View Access

Edit and view access can be set for all data source types except SG Upload. This property determines the default permission level for all layers from this data source: None, Only Me, My Group, Everyone, or Selected List (of groups, users, or sites).

Users with valid view access for a layer can list, view and load the layer (opened from TerraExplorer Desktop, TerraExplorer Fusion, WFS/WMS clients, etc.). In addition to loading the layer, users with edit access can also perform layer transactions from TerraExplorer Pro and any WFS-T client.

To set the edit or view access for a data source:

1.      From the SkylineGlobe Server Manager menu, select Data Sources. The Data Sources page is displayed.

2.      Right-click the required data source, and click Properties. The Update Data Source panel is displayed.

3.      In the Permission for Scanned Layers section, select a View Access and an Edit Access. If you want to grant access to selected groups, users, or sites, do the following:

a.      Select Selected List. The Selected List panel is displayed.

b.      Type @ to add a user or group. The autosuggest feature will suggest all relevant options. Click the required option. Repeat this step for each user or group you want to add.

c.      Type # to add a site. The autosuggest feature will suggest all relevant options. Click the required option. Repeat this step for each site you want to add.

d.      Click Add.

Note:       If you want to automatically grant access to future members who are added to a group, make sure to select the required group name in the Select Entities dialog. If only individual members in a group are selected, only they will be granted access, and not future added members (until access permissions are updated).

4.      If you want to update the data source layers with these property changes, click Save & Scan to rescan the data source. See "Scanning Data Sources" in this chapter for more information.

5.      If you want to save the property changes without updating the layers, click Save.

Deleting Data Sources

When a data source with layers is deleted, all of its layers are deleted from SkylineGlobe Server. These layers can later be restored to SGS, or alternatively, deleted permanently. See "Managing Layers Deleted from SkylineGlobe Server" in the "Working with Layers" chapter for information.

The data source itself is deleted permanently only if it is deleted after all of its layers were previously deleted. See "Deleting Layers from SkylineGlobe Server" in the "Working with Layers" chapter for information. 

To delete a data source:

1.      From the SkylineGlobe Server Manager menu, select Data Sources.

2.      Right-click the required data source, and select Delete. The Delete Data Source panel is displayed with a warning that deleting the data source will permanently remove all associated data.

3.      Click Delete to delete the data source. The selected data source is deleted from the server.