View Geometries as Map

Displays one (or two) table(s) made of spatial features on a map.

Input data should contain a "the_geom" column encoded in WKT (Well-known Text) representation, and a variable storing the Coordinate Reference System. The best is to display data which was loaded using the "Read Shapefile as WKT" node.

Once you are in the the view:

  • wheel scrolling zooms in and out
  • the "Spatial tools" menu provides "zoom to fit", zoom in and out, info or pan (move) features

You can color the geometries by tuning the default colors in the configuration pane. You also can use the color manager node, and assign colors to each line based on its characteristics; this leads to more interesting symbologies.

The actual visualization is done using the wonderful geotools library.

Options

top table: default color
The color to use if there is no color assigned to each line
top table: opacity
Opacity of the geometries of the first table. Keeping a bit of transparency is good (defaults to 0.7), as it helps to detect overlapping geometries.
bottom table: default color
The color to use if there is no color assigned to each line
bottom table: opacity
Opacity of the geometries of the first table. Keeping a bit of transparency is good (defaults to 0.5), as it helps to detect overlapping geometries, and enables to views the geometries of the first table below.
WMS server for overlay
The server to load the background overlay from. Change in case the overlay is not displayed.

Input Ports

Icon
A table with WKT data
Icon
(optional)A table with WKT data

Output Ports

This node has no output ports

Views

view map
View the table(s) on the same map

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.