This Tutorial shows Cartographic Visualizing. You learn about
opening a Cartographic Data Sets (openCartoDB)
creating Texts automatically
querying Attribute Information
setting Graphics Limits (MBR)
Open Carto Database is a Data Format which was created for MensorGIS. It can be edited by a Text Editor or an XML Editor and can also be used for other perposes. Up to now two different areas of Scale are designed:
World Data Sets with Geographic Coordinates (Datum WGS84/ITRF)
Regional Data Sets with UTM Coordinates (Datum WGS84/ITRF)
The Import Routine for the Open Carto Database automatically transforms all Coordinates into the Geographic System (only here you don't need to set the Import/Export System). Also automatically the Display Information is set by an Attribute:
e.g. cities and settlement get red, waterlines and waterareas get blue, traffic lines get different Line Types and Point Featues get different Symbols. See Functionality Description and User Manual in MensorGIS Help for more details.
The so far 10 defined Object Classes are created when importing the first File of this type (* means Point, - means Line, o means Area Feature):
* cities
* peaks
* sanctuaries
- traffic
- waterlines
- boundaries
o settlement
o waterareas
o vegetation
* gridline
Menu „File - Import - openCartoDB“
select „openCartoDBworld.xml“
answer the Question on Identity Check with „No“
-> 10 Object Classes get created, 3 of them are used (Points *):
„cities“ as red Points of different Size
„peaks“ as black Triangles (Icons)
„sanctuaries“ as black and white Icons
Remark: You may turn the Icons On / Off by using Menus „Cartography - Icons On“ / „Cartography - Icons Off“
Menu „Cartography - Icon Manager“ -> Window „Icon Manager“ is shown:
in GroupBox „Icon Geometry“ select the Object Class/Theme „peaks“ or „sanctuaries“
-> current Values for Scaling and Orientation are displayed
then change the Icon Size by selecting a different Scaling Factor
-> pressing the Button „Save“ changes the Icon Size for the selected Theme
Menu „Edit - Layers - New Layer“
type „Texts“ into the InputBox and press „OK“
-> a Layer named „Texts“ gets created
Menu „Edit - Texts - Generate from Object Class“ -> Window „Create Text“:
select Object Class „* OCDB_peaks“
select Attribute „height“
select Color „Black“
select Size „3“
select Layer „Texts“
press „Create Texts“
close the Window (OK)
Menu „Data - Query - by Attribute (attributive)“ -> Window „attributive Query“:
at first select Object Class „OCDB_cities“ (from clause)
then select Attribute „name“ (select clause)
for the first WHERE clause:
select Attribute „ID“
select Operator „LIKE“
type in „#001“
for the second WHERE clause:
select Operator „AND“
select Attribute „inhabitants“
select Operator „greater“
type in „1000000“
press the „Query“
Capitals get highlighted (violett circles)
press „Redraw“ to redraw the Highlights
in Project's /bin/Debug Directory open „Select.html“ to see the Query's result
close the Window (OK)
Menu „File - Import - openCartoDB“
select „openCartoDBLinBGL.xml“
answer the Question on Identity Check with „No“
3 Object Classes are used (Lines -):
„traffic“ as black Lines
„waterlines“ as blue Lines
„boundaries“ as magenta Lines
Menu „File - Import - openCartoDB“
select „openCartoDBAreBGL.xml“
answer the Question on Identity Check with „No“
3 Object Classes are used (Areas o):
„settlement“ as orange and red Polygons
„waterareas“ as blue Polygons
„vegetation“ as yellow Polygons
Menu „View - Limits - Fit Subset“ -> Window „Set Limits“ is shown:
choose the Name of the Regional Data Set just imported
-> the Limits get displayed
press „Save“
-> the Region around „Koenigssee“ in Bavaria gets displayed
-> the Peak with Height 2713 is from the World Data Set
right click with the Mouse within the Graphics Plot -> Cursor Menu is shown:
select „Show Attr“
select any Graphic Object (e.g. the peak) to get Object Information:
Schema Information: Object Class, internal ID, internal Name
Geometry Information: Number of Points/Lines, Length/Area
Display Information: Color, PointSize/LineType/AreaType, Layer
Attribute Information: Tags which you can also see in the XML File
There are a number of Cartographic Systems which are independent of GIS Systems.
Usually these System work with Raster Data or the result of the Processing are Raster Data.
As MensorGIS is a Vector GIS only part of such a Functionality can be implemented.
The Point Icons and the Height Contour Levels are just an example what could be done.
MensorGIS uses a pre-defined Point Icon Directory; you can change this in the Menu „Extras - Set Preferences - Icon Dictionary“.
The Printing Functionality (Menu „File - Print“) conserves these implemented Cartographic Features.
MensorGIS Version 1.1.1, 2012/03/29