Skip to content

Create and Import Spatial Data

New GIS data may be created from scratch or imported using an import tool. GIS data are stored as feature classes or rasters in the database.

Create a new feature class

Right-click on a Group node and select Create new feature class

To create a new feature class name, geometry type (point, line, polygon) and projection must be defined.

Note that the Name field cannot contain space or any special characters.

Optionally an attribute fields may be defined (default is none). In this case a field named Name has been defined as a string with length 15 characters.

Press OK to create the feature class.

Temporal feature class can be created only by import.

A new feature class is now added to the GIS explorer under the selected group (or root).

In order to create new features in the feature class first add the (empty) feature class to an Active map or to a New Map.

Select the new feature class in the active layer drop-down dialogue (hint: the order they appear depend on the order they were added to the map).

Select Edit active layer... in the View settings menu.

Choose Sketch New Feature and simply start digitizing the feature on the screen.

Sketch of the new feature cannot be done for the temporal feature class. It is possible to edit already existing feature geometry and attributes.

To complete a polygon or line feature simply double click on the map.

To save edits press the Save button in the Edit layer toolbar.

To stop editing, click Save, and close the toolbar.

Import Spatial Data

Feature classes can be created in the database using an import tool.

To activate the import tool first click on the database node in the GIS explorer.

In the Tools Explorer choose the import tool that you want.

If pressing Run on the tool property dialogue, a window will appear assisting the input specifications.

Import of the temporal feature class can be currently done using Import from dfsu to Feature class and Import from shape file.

Please refer to the section GIS Tools for vector data for further details on the individual import tools.

Raster data can be imported in a similar manner to feature classes. To activate import tools for raster data, click on the raster database to select it.

Temporal raster can be done from Dfs2, Dfs3 files and Temporal import tools.

The raster import tools will then appear in the Tools Explorer. Press Run on the tool property dialog to display the import window.

Please refer to the section GIS Tools for raster data for further details on the individual import tools.

Export spatial data

Feature classes can be exported to a file using an export tool.

Temporal feature raster data are exported to the standard "non" temporal dataset. Time step information is exported as separate attribute.

To activate the export tool simply click on the feature class to be exported.

In the Tools Explorer choose the export tool that you want.

Please refer to the section GIS Tools for vector data for further detail on the individual export tools.

Raster can be exported to a file using an export tool.

Temporal raster can be exported as one Time step or to the time aware storage Dfs2 or Temporal raster to Gif.

To activate the export tool simply click on the raster to be exported.

In the Tools Explorer choose the export tool that you want.

Please refer to the section GIS Tools for vector data for further detail on the individual export tools.

Supporting additional projections in MIKE Workbench

MIKE Workbench support a long range of projections.

The list of supported projections can be found in the ESRIProjections.txt file of the MIKE Workbench installation folder.

ESRIProjections.txt contains information about the reference to projections info in the PostgreSQL database and the ESRI WKT used in the map component of MIKE Workbench.

For every line in the ESRIProjections.txt, a row with a srid containing the reference (e.g. 29190) is found in the PostgreSQL database in table: public.spatial_ref_sys.

New projections can be supported, adding rows in both ESRIProjections.txt and in the PostgreSQL table public.spatial_ref_sys.

Required information can be found on the site SpatialReference.org or ESPG.

The following information is needed: - PostGIS spatial_ref_sys INSERT statement
For the PostgreSQL database

  • ESRI WKT
    For the ESRIProjections.txt file. Use the srid of the INSERT statement in the file.

Note that creating new databases using the Database Manager Utility, will use the spatial_ref_sys table of the PostGIS template database template_postgis_20. This means that it is recommended to execute the INSERT statement on both the database requiring the new projection and the PostGIS template database.