Spatial Operations Tutorial for UDig Framework.pdf
(
2456 KB
)
Pobierz
Spatial Operations Tutorial for
uDig Framework
Reusing Existent Spatial Process
Integrating Sextante
Duration:60 minutes
Spatial Operations Tutorial
Reusing Existent Spatial Process
Integrating Sextante
Author Details Date
Aritz Davila Initial version 03/15/2010
Mauricio PazosGeneral document review 04/29/2010
· +34 94 682 42 86 ·
info@axios.es
·
Page 2 of 38
Spatial Operations Tutorial
Reusing Existent Spatial Process
Integrating Sextante
Table of Contents
1 Introduction ......................................................................................................................................4
2 Goal...................................................................................................................................................5
3 Setting the Development Environment.............................................................................................6
3.1 Setting Eclipse...........................................................................................................................6
3.2 Adding the Spatial Operation Framework.................................................................................8
3.3 Testing the Development Environment.....................................................................................9
4 Creating a New Plugin Project........................................................................................................12
5 Extension for Spatial Operations.....................................................................................................14
6 Developing the LineToPolygon Spatial Operation ........................................................................16
7 Writing the LineToPolygon Operation............................................................................................18
7.1 SOLineToPolygonComposite class.........................................................................................22
7.2 LineToPolygonImages class....................................................................................................23
7.3 LineToPolygonCommand class...............................................................................................24
7.4 Adding Sextante.......................................................................................................................32
7.5 LineToPolygonTask class........................................................................................................33
8 Executing the LineToPolygon Spatial Operations .........................................................................36
9 Contact.............................................................................................................................................38
· +34 94 682 42 86 ·
info@axios.es
·
Page 3 of 38
Spatial Operations Tutorial
Reusing Existent Spatial Process
Integrating Sextante
1Introduction
This document is a description of how third parties can contribute
to the Spatial Operations framework.
The Spatial Operations framework, promoted by
Gipuzkoa Provincial
Council - Mobility and Land Planning Department
,
provides a
template where the spatial operations can be displayed and
executed. It is integrated into
uDig
.
In this tutorial it is assumed that you know the uDig framework
and your
Eclipse
environment is configured with
uDig SDK
. You can
find good documents in the
uDig Developers
page.
The following figure presents the Spatial Operations view.
We can see the following panels:
●
Operations List
: shows a set of available spatial operations.
●
Information Area
: displays a message in order to guide in the
spatial operation settings.
●
Parameters
: This panel presents the parameters required by
the selected spatial operation in the
Operations List
.
●
Demo
: Provides feedback about the result of the selected
spatial operation based in the parameters value.
●
Tool Bar
: Provides the actions that can be applied.
· +34 94 682 42 86 ·
info@axios.es
·
Page 4 of 38
Spatial Operations Tutorial
Reusing Existent Spatial Process
Integrating Sextante
2 Goal
In this tutorial we will reuse the spatial operation
LineToPolygon
from
www.sextantegis.com
project
.
Sextante was developed under the
auspices of the government of the Spanish autonomous region of
Extremadura. We will use the default behavior implemented by
SimplePresenter and SimpleCommand
which are provided by the
Spatial Operations framework.
Suppose that you have the country boundaries as shown below:
We will include the
LineToPolygon
operation as shown in the
following screenshot, which could be used to create a polygon
layer based in the country boundaries.
· +34 94 682 42 86 ·
info@axios.es
·
Page 5 of 38
Plik z chomika:
kks111
Inne pliki z tego folderu:
Spatial Operations Tutorial for UDig Framework.pdf
(2456 KB)
PyQGIS Documentatnion.pdf
(277 KB)
MapServer_for_Dummies.pdf
(1920 KB)
Installing GeoServer.pdf
(355 KB)
Using GDAL and OGR for data processing and analysis.pdf
(1038 KB)
Inne foldery tego chomika:
Pliki dostępne do 19.01.2025
Caprica
Dokumenty
Filmy
Galeria
Zgłoś jeśli
naruszono regulamin