MensorGIS Topological Analysis Tutorial


Back to MensorGIS Help / User Manual


This Tutorial shows Routing Calculations. You learn about




MensorGIS stores Project Data Sets in a proprietary XML Format, consisting of several XML Files (Menues „File-Open“/„File-Save“):


Change of Data Properties is possible for (Menu „Edit“):


Topological Analysis is essential for GIS Functionality; Mensor GIS allows (Menu „Topology“):



Now to our first task: Weighted Routing

Load the Project Data Set „TopoTutorial“
  1. Menu „File - Open“

  2. select „TopoTutorial.minfo“


Visualize the Points' Names
  1. Menu „Edit - Texts - Generate from Object Class“ or Button „TG“ -> Window „Create Text“:

  2. select Object Class „* City“

  3. select Attribute „NAME“

  4. select Color „Black“

  5. select Size „4“

  6. select Layer „1“

  7. press „Create Texts“

  8. close the Window (OK)


Visualize the Lines' Weights
  1. Menu „Edit - Texts - Generate from Object Class“ or Button „TG“ -> Window „Create Text“:

  2. select Object Class „- Street“

  3. select Attribute „SPEED_CLASS“

  4. select Color „Black“

  5. select Size „4“

  6. select Layer „1“

  7. press „Create Texts“

  8. close the Window (OK)


Create Topology
  1. Menu „Topology - create Topology“

  2. ignore the Warning on Area Objects (OK)

  3. -> Message „Topology partially created!“ (18 Point-Point / 18 Point-Line / 30 Line-Line)


Compute Routing with Street Classification

    Street Classification means that not the shortest Way, but the fastest Way is computed.

  1. Menu „Topology - Routing“ -> Window „Routing“ is shown:

  2. press Start -> select Node at A -> P 1

  3. press Destination -> select Node at D -> P 5

  4. select Attribute „>no Attribute<“

  5. press „Calculate“

  6. -> Highlighted Path: look at length and time (press „Redraw“ to redraw)

  7. -> in Project's /bin/Debug Directory open „Routing.html“

  8. now select Attribute „SPEED_CLASS“

  9. press „Calculate“

  10. -> Highlighted Path: now longer, but less time (press „Redraw“ to redraw)

  11. -> in Project's /bin/Debug Directory open „Routing.html“

  12. close the Window (OK)



Begin a new Project („File - New“) answering the Question with „Yes“.

Now to our second task: Spreading in a Street Network
Remark: For building a Topology no identical Points or PolyLines are allowed. The Import of Data Formats allows to make an Identity Check. Usually this slows down the Import, but here we need an Identity Check.

Import the GPX Data Set „Ergoldsbach.gpx“
  1. Menu „File - Import - GPX“

  2. select „Ergoldsbach.gpx“

  3. answer the Question on Identity Check with „Yes“ (important!)

  4. -> 1 Object Class gets created (Lines): Streets of OpenStreetMap


Make Background Points visible (needed for Building Topology)
  1. Menu „Topology - Use all Points“

  2. answer the Question with „Yes“

  3. -> 1450 Points are available


Create Topology
  1. Menu „Topology - create Topology“

  2. ignore the Warning on Area Objects (OK)

  3. -> Message „Topology partially created!“ (3052 Point-Point / 3052 Point-Line / 3220 Line-Line)


Compute Spreading without Street Classification
  1. Menu „Topology - Spreading“ -> Window „Spreading“ is shown:

  2. press Start -> select a Node of the Street Network

  3. enter Distance in km -> maybe 0.3

  4. select Attribute „>no Attribute<“

  5. press „Calculate“

  6. -> Highlighted reachable Points (press „Redraw“ to redraw)

  7. -> in Project's /bin/Debug Directory open „Spreading.html“

  8. close the Window (OK)



Remarks on Topological Analysis:

Back to MensorGIS Help / User Manual


MensorGIS Version 1.1.8, 2012/11/08