GXT Toolbox for uDig

Welcome to GXT Toolbox for uDig plugins.

GXT Toolbox for uDig is a plugin that provides geoprocessing functionalities of the GXT engine library.

See also

GXT

Introduction to the GXT Toolbox

Supported Version
  • uDig 1.3.1 / 1.3.2 / 1.3.3 / 1.4.0
Features
  • The GXT Toolbox consists of 5 categories: Vector, Raster, Spatial Statistics, Geometry Operator and GeoTools process
  • Similar structure like uDig Spatial Toolbox
  • UI automation using metadata associated with process
  • Required parameters have a green circle to their left title
  • Invalid values(WKT geometry ...) have a yellow background color.
  • If the output parameter is a geometry, feature or raster, a new layer will be automatically added to the current Map
  • If the output parameter is a number, string, a output tab will be added to the dialog
Constraints
  • the following output formats are supported: shapefiles, geotiff
  • If you have a layer whose dataset does not have a coordinate reference system defined, it uses the coordinate reference system of the current map
  • This plugin is an experimental, so it may contain some bugs. please email us at mapplus @ gmail.com, jya1210 @ gmail.com

Preview

_images/gxt_for_udig_overview_01.png

GXT Toolbox

Installing & Update plugin

The update manager allows users to search for and download new plugins to install and to search for and download updates to the current plugins.

Installation

  1. Choose Help ‣ Find and Install... from the menu bar to open up the Install/Update window

    _images/gxt_for_udig_setup_01.png
  2. Select Search for new features to install option and press Next.

    _images/gxt_for_udig_setup_02.png
  3. Click on the New Remote Site button and enter the location and a name for the site:

    _images/gxt_for_udig_setup_03.png
  4. Press OK and Finish

  5. The new features will appear in a dialog and you can check the features you wish to install

    _images/gxt_for_udig_setup_04.png
  6. Agree to the license (The feature won’t be installed if the license isn’t accepted)

    _images/gxt_for_udig_setup_05.png
  7. Confirm the install location and press Finish

    _images/gxt_for_udig_setup_06.png
  8. Press Install All

    _images/gxt_for_udig_setup_07.png
  9. When prompted press Yes to restart uDig application

    _images/gxt_for_udig_setup_08.png

Update

  1. The update manager can be started by clicking on Help ‣ Find and Install...

  2. Choose Help ‣ Find and Install... from the menu bar to open up the Install/Update window

    _images/gxt_for_udig_setup_01.png
  3. Select Search for new features to install option and press Next

    _images/gxt_for_udig_setup_02.png
  4. Select GXT Toolbox for uDig and press Finish

    _images/gxt_for_udig_update_03.png
  5. If there are updatable plugins, The new features will appear in a dialog

  6. Select GXT Toolbox for uDig and press Install All

    _images/gxt_for_udig_setup_04.png
  7. It is recommended you restart as apply changes doesn’t always work

Toolbox Quickstart

The GXT Toolbox consists of 5 categories: Vector, Raster, Spatial Statistics, Geometry Operator and GeoTools process

Now, we will start with a simple example.

Create Map & Add Layers

  1. To enable the GXT Toolbox View, Choose Window ‣ Show View ‣ Other... and select GXT Toolbox

    _images/gxt_for_udig_setup_09.png
  2. Choose File ‣ New ‣ New Map from the menu bar to create new map

  3. Choose Layer ‣ Add... from the menu bar to open up the Add Data wizard

  4. Select Files from the list of data sources

  5. Press Next to open up a file dialog

  6. Select the files from your data folder: shapefiles, geotiff...

  7. Press Open

Vector Analysis

The Vector Analysis toolbox provides a rich set of spatial analysis tools for feature collections.

  1. Go to the GXT Toolbox View, and double click Vector Analysis ‣ Proximity ‣ Multiple Ring Buffer process

  2. You can also type in the search box the letters: buff...

  3. It creates multiple buffers at specified distances around the input features. the linear unit of the input features’ spatial reference is used

    _images/gxt_toolbox_vector_multipleringbuffer.png
  4. Press the OK button, the operation progress will be shown up on a progress dialog

  5. Once the process is done, a new layer will be automatically added to the current Map

  6. Right click on the result layer and select Change Style to open the Style Editor

    _images/gxt_toolbox_vector_multipleringbuffer_style.png
  7. Press the OK button and the result layer is now displayed as below:

    _images/gxt_toolbox_vector_multipleringbuffer_output.png

Raster Analysis

The Raster Analysis toolbox provides a rich set of spatial analysis tools for both raster and feature collections.

  1. Go to the GXT Toolbox View, and double click Raster Analysis ‣ Surface ‣ Slope process

  2. It identifies the slope (gradient, or rate of maximum change in z-value) from each cell of a gridcoverage surface

  3. Select raster layer to be processed.

    _images/gxt_toolbox_raster_slope.png
  4. Press the OK button, the operation progress will be shown up on a progress dialog

  5. Once the process is done, a new layer will be automatically added to the current Map

    _images/gxt_toolbox_raster_slope_output.png

Spatial Statistics Analysis

The Spatial Statistics toolbox contains tools for analyzing spatial distributions, patterns, processes, and relationships.

  1. Go to the GXT Toolbox View, and double click Spatial Statistics ‣ Spatial Distribution ‣ Standard Deviational Ellipse process

  2. It creates standard deviational ellipses to summarize the spatial characteristics of geographic features: central tendency, dispersion, and directional trends

  3. Enter required and optional parameters by manually typing or selecting

    _images/gxt_toolbox_ss_sde.png
  4. Press the OK button, the operation progress will be shown up on a progress dialog

  5. Once the process is done, a new layer will be automatically added to the current Map

    _images/gxt_toolbox_ss_sde_output.png

Geometry Operator

The Geometry operators provide a set of relationship and function for geometry.

  1. Go to the GXT Toolbox View, and double click Geometry ‣ Geometry ‣ ST_Buffer process

  2. It computes a buffer area around this geometry having the given width

  3. Enter required and optional parameters by manually typing

  4. Use WKT (Well-Known Text ) format for geometries.

  5. endCapStyle(CAP_ROUND, 1), joinStyle(JOIN_ROUND, 1), quadrantSegments(8) parameters are optional

    _images/gxt_toolbox_geometry_buffer.png
  6. Press the OK button, Once the process is done, a new layer will be automatically added to the current Map

    _images/gxt_toolbox_geometry_buffer_output.png

GeoTools Process

This gt-processes are built-in processes in GeoTools libraries.

  1. Go to the GXT Toolbox View, and double click GeoTools ‣ Vector processes ‣ Reproject process

  2. It reprojects features into a supplied coordinate reference system

  3. Select features and targeCRS

    _images/gxt_toolbox_geotools_reproject.png
  4. Press the OK button, the operation progress will be shown up on a progress dialog

  5. Once the process is done, a new layer will be automatically added to the current Map

  6. uDig also supports on-the-fly(OTF) projection of vector and raster layers.

  7. GeoTools related reference