Save Viewer as SVG

Save Viewer Image as SVG or SWF

Save the image window or the full dataset as Scalable Vector Graphic (SVG) or Adobe Flash (SWF).
Useful for high quality prints and online presentations with pan and zoom functionality.

.SVG-files are supported in

  • Corel Draw
  • Incscape, highly recommended Open Source SVG Editor
  • Mozilla Firefox
  • Internet Explorer 9 and above
  • and many others

.SWF-files are supported in

  • Mozilla Firefox
  • Internet Explorer
  • most other browsers


  • Rotate output by any degree value (0 for no)
  • Overlay your image with a coordinate grid (Grid line distance in model units; 0 for no grid)
  • X and Y dimension of the SVG file in screen units. Useful to control display in browsers. For prints:  higher values bring better results.
  • CSS files (Style Sheets) can be added to format the output. Area and Line color, width, and other attributes can be controlled. This is very useful for drawing maps or corporate design. Link1. Link 2. Link 3.
  • You can limit the image extend to the visible extend by pressing Yes when asked.


  • Originally a .MP-file, used as background picture and saved as .SVG-file with embedded .CSS-file. Includes GK3 grid. Zoom in to admire the full details. Download as PDF.
  • Originally an .ELE-file, after mesh quality analysis, 45° rotation and grid option. Download as PDF.
  • Flash example: Use the right Mouse button to zoom in or out, hold the left button to move the image
  • Adaptive Mesh Generator 2.0: Example output file in Shockwave Flash format

Mesh Generator

Mesh Generator (Main Window)

A Mesh is generated with the following steps.

  1. Breaklines and hole polygones are generalized
    • includes intersection points for crossing break lines
    • close neighbours / twin points are united to avoid sliver polygons and midget triangles
    • removes duplicate points and breaklines
    • removes Orphan points
    • increases / decreases line point density with respect to DEM information (smart line interpolation)
  2. The resulting edge graph is triangulated
    • Use the award winning TRIANGLE library as plugin (Settings -> Triangle -> Path of Triangle.EXE)
    • Or use the basic internal triangulation algorithms (leave empty:  Settings -> Triangle -> Path of Triangle.EXE)
    • The output TIN is consistent
    • Output is given as .ELE/.NODE/.POLY triangle mesh
    • Mark the ELE-2-SHP Field for additional .SHP-file output
    • .STAT-files save the mesh statistic parameters (cell area class distribution, mean values, etc. as shown in the “mesh quality” window)
    • .INI-files save the workspace and can be used for resuming projects  (File -> Open Project)
    • .GMW-files (GLOBAL MAPPER WORKSPACE) can be used to open all important project files in Global Mapper newer than Version 8. All important intermediate steps are included.
  3. The triangulation is refined
  4. Elevation values for all nodes are remapped
    • Keeps the original elevation values for all points that already have elevations
    • Adds elevations for all other points, using the DEM file or a folder with DEM-files in .BIL-Format
    • Other DEM file formats like .DEM, .ASC or .TIF have to be converted first, using the DEM conversion window.

Mesh Quality Analysis

Mesh Quality Analysis

Input files:

Mesh (.ELE and .Node-files, or .SHP-file) , DEM as .BIL-file, Velocity distribution .VEC-file after first calculations

Output files:

Saved in the folder of the input mesh.

[Inputfile]+.qual.csv   …   Mesh statistics

[Inputfile]+.qual.shp   …   Mesh with per cell quality information

Further explanation can be found in Chapter 6 of [Merkel, 2009b]

Create Streamlines with Velocity Field files

Create Streamlines with Velocity Field files

Give a .VEC-file with velocity field information and a cross section as .SHP-file of the river which is almost orthogonally flow through.

The resulting streamlines are placed in the same folder as the input .VEC-file.

Velocity Vectors and Streamlines


  • Approximated discharge between 2 streamlines at the given cross section.

Attention: As TINs and 2D – models are both simplified, the discharge might have significant errors some distance up or downstream. This parameters purpose is just achieve a somehow equal distribution of the streamlines. Furthermore, it controls the number of streamlines.

  • The thin-out threshold is used to reduce the number of points of the streamlines after processing.

It’s a Douglas Peuker threshold factor, given in [m]

  • The last 2 parameters control, if streamlines are generated everywhere, or only in zones with highly inhomogenus specific flow.

If the specific flow q [m²/s] changes more than dq within the orthogonal distance s [m] this conditions are fulfilled

Probe Results

Probe Results

Load a mesh and multiple parameter layers, which provide one value per cell each.

Provide a file with points or lines.

For each point or each line point the values of each mesh data layer are written in a .CSV-file

This is an easy way to get cross sections or gauge information at specific coordinates.

Create Velocity Vector Arrows

Create Velocity Vector Arrows

Creates a .SHP-file with arrows in direction of flow, based on .VEC-file information. The arrow length depends on the magnitude. E.g. 1m/s generates an 1 meter long arrow.  For better visibility the length of the vectors can be scaled by the magnitude length multiplicator.

  • Option 1:  Only 1 arrow in the middle of each cell.  Grid width has to be set to 0 .
  • Option 2:  Creates a regular grid of arrows.  Grid width has to be set in meters > 0.

Velocity Vectors created with Option 1 and Streamlines

Convert mesh to grid

Convert Mesh to Grid and Subtract another Grid (optional)

Attributes from various files will be assigned to triangles of a mesh. The mesh,  given with .ELE + .NODE  files  will be rasterized and saved as .BIL-file(s) in an output folder. The distance between 2 grid points in x or y direction is given by a “grid width” parameter.

Option: If another .BIL-file or folder with files is specified, the values will be subtracted from the TIN values.

This is just a simple rasterizer followed by a simple grid calculator (subtract) for big amounts of data.

E.g. to process water level differences folder wise.

Refine an existing MESH

Refine an Existing Mesh

An existing mesh,  given with .ELE + .NODE + .POLY files will be refined according to one of the following options until the maximum number of refinement steps is reached.

  • Option 1:  Refine a mesh dependent to already known velocity distributions and water level information
    • velocity and water level informations can be given as BIL files or multiple BIL files in a folder.
    • As triangulation is always a topography simplification, the simplification error will be quantified and weighted by the velocity. See [Merkel, 2009b], Chapter 6 for more information in German.
    • If this index parameter inside a cell exceeds the threshold t, the cell will be refined.
  • Option 2: Refine a mesh dependent to Relative Elevation Models
    • Uses Digital Elevation Models with relative elevations above their surrounding areas within a radius r, according to the preprocessing function RELATIVE DEM.
    • A cell will be refined if there is a land contour inside exceeding its surrounding  areas by more than the given threshold t.
  • Option 3: Refine a mesh dependent to maximum curvature
    • If no relative DEM and no velocity is given, the normal DEM will be used to refine the mesh if sinside a triangle the elevation models curvature exceeds a threshold t.
  • Option 4: Refine a mesh inside of given refinement polygons
    • Refines all cells within the given polygons, without further checking of other parameters.

Create roughness zones for a mesh

Just add polygon .SHP-files and enter the necessary kst-parameters.

The polygons will be converted into Flumen specific polygon files.


Convert Triangle Files (.ELE,  .NODE,  .POLY)  to  .SHP-files

  • Add attributes from multiple files as LAYERS for the .SHP-files
    • Use AREA, VEC, NODE, XYZ
  • Add a LAYER with the approx. TIME STEP limit according to the Courant-Friedrich-Levy (CFL) -criteria for each cell
    • Add 1 depth file (.NODE)
    • Add 1 velocity distribution file (.VEC)


Convert .SHP files  to Triangle-files (.ELE + .NODE + .POLY)

This is not just a simple converter. It enables mapping, exclusion and substitution filters. For every single cell.

  • Add Elevation Values from DEM (if a .BIL-file or a FOLDER with multiple files is given)
  • Don’t convert cells
    • PROP >   C …  [layer property of  input .SHP-file]   >  C  [constant Value]
    • PROP <   C
    • PROP >=   C
    • PROP <=  C
    • PartOut – full or PARTial OUTside a polygon given by a shapefile
    • PartIN – full or PARTial INside a polygon
    • AllOut – ALL 3 cell nodes OUTside
    • AllIN – ALL 3 cell nodes INside
  • Add multiple Filter rules like:
    • AREA > 4000m²
    • ELEVATION > 578 m. a. s. l

Enables selective Elevation manipulation for case studies or DEM improvement.

  • Replace Elevation Values
  • Add multiple filter rules like:
    • REPLACE NodeElevation with ELEVATION Property of POLYGONFILE A
    • REPLACE NodeElevation with Z Property of POLYGONFILE B
  • Tip: Use the CORRIDOR ALONG LINE  tool to erase / insert dams, dikes or ditches

Example: Modify dike height elevations along line...