Archive

Posts Tagged ‘map’

GTK+ GRASS — Image Ouput

June 11th, 2009 admin No comments

Map images can easily and quickly be saved from the GTK+ GRASS GUI. Saved images include all currently selected objects in the display list.

The map is saved by default to a PNG image at the same size as the display canvas. Other image formats supported by GTK+ will be added.

A second image save option is available to save map images as a scaled PNG image. The user is prompted to set the display width in pixels, of the output image. This option can be used to output map images at the current GRASS resolution, which can in turn be encoded to GeoTiff files or GDAL compatible files.

Note: The scaled image output is dependent upon system memory.

Categories: GTK+ GRASS Tags: , , ,

GTK+ GRASS — Map Display

June 11th, 2009 admin No comments

The right pane of the GTK+ GRASS GUI displays several user controlled Map Layers. The map layers can be added or removed at any time. Each map layer has its own associated GRASS Region, and display list (previous post). To optimize drawing speed, the GTK+ GRASS GUI uses its own internal drawing routines for GRASS files and decorations. This may be changed with the new display used in GRASS7.

Display options include the usual interactive zoom window, zoom/out, and pan. The GRASS region can also be manually edited. The region can also be set to a raster or vector from the GRASS file selection view.

Display Toolbar

Display Toolbar

The map view can be maximized to fill the window, overriding the current GRASS region.

The position can be queried and captured, features can be measured, plus rasters and vectors can be queried from the display.

Display overlays (decorations) include:

  • Raster colorbar.
  • Vector legend.
  • Scalebar.
  • Grid.
  • Geographic grid.
  • Compass rose.
Categories: GTK+ GRASS Tags: , , ,