Personal tools
You are here: Home gvSIG Projects Colaboraciones Copy paste geometry Public documents
Document Actions

Public documents

by Grupo gvSIG last modified 2012-09-08 00:33



User documentation


Introduction

Introduction

Using the copy/paste tools you can copy and paste geometries from one layer to another. These layers may be in the same view, in different views, or even in two different instances of gvSIG.

Requirements

The system requirements are the same as those required for gvSIG 1.10.


Installation

Installation instructions

This extension should be installed on the version of gvSIG for which it has been developed. This is indicated in the Downloads table for the extension. This version must be properly installed on your PC using the following steps:

WINDOWS: Download the EXE file from the Download Site on the web and then run the file. If the installer does not automatically find the directory where the correct version of the application was installed then this must be entered manually. For example, for gvSIG 1.10 on Windows XP the installation directory might be C:/Program Files/gvSIG_1.10

LINUX: Download the BIN file from the Download Site on the web and then run the file. If the installer does not automatically find the directory where the correct version of the application was installed then this must be entered manually. For example, for gvSIG 1.10 on Ubuntu 9.10, the directory might be /home/user/gvSIG_1.10


Instructions for use

Copy and paste geometries

Links have been created to complimentary tools for copying and pasting features between vector layers of the same type.

As the mechanism used to implement this tool makes use of the system clipboard, the source and destination layers can be either in the same view, in different views, or even in different instances of the application.

Copy items between layers with the editing session active.

This tool is used to copy features selected in a vector layer to the system clipboard.

The tool can be accessed in three different ways:

Through a button on the toolbar:

instrucciones-de-uso/copy-paste_en.img/copiar_en.png

Through the Layer menu in the menu bar:

instrucciones-de-uso/copy-paste_en.img/copiar-barra-menus_en.png

Through the context menu that appears when you right-click on the active layer in the TOC:

instrucciones-de-uso/copy-paste_en.img/copiar-menu-contextual_en.png

This tool will be displayed and activated when the active layer is a vector layer with selected features.

Paste features.

This tool is used to paste to paste to an editable layer features that have previously been copied to the system clipboard.

The tool can be accessed in three different ways:

Through a button on the toolbar:

instrucciones-de-uso/copy-paste_en.img/pegar_en.png

Through the Layer menu in the menu bar:

instrucciones-de-uso/copy-paste_en.img/pegar-barra-menus_en.png

Through the context menu that appears when you right-click on the active layer in the TOC:

instrucciones-de-uso/copy-paste_en.img/pegar-menu-contextual_en.png

This tool will be displayed and activated when the active layer is a vector layer in edit mode and of the same type as the layer from which the features have been copied. When used to paste geometries from the clipboard to this editable layer, fields in the associated table will be filled if they have matching names and types.

Project sheet

  • Project identifier:

    Project identifier with 14 characters or less, it will only have upper or lower case, numbers and dashes (_ and -)

    gvsig-copygeom

  • Project title :

    Descriptive name for the project, with 40 characters or less.

    CopyPasteGeometry

  • Project short description

    Brief description of the project with two or three paragraphs, between 100 and 2000 characters.

    It consists of a plugin with new features demanded by the Munich's council to be developed on the program gvSIG (Geographic Information System (GIS)). These features are a compendium of what is needed for certain tasks the council.

    These features are:

  • Copy/paste geometries.

It consist to add a new functionality to copy a feature from a layer and paste them to another layer. And the attributes who are the same type are paste, too.


Version 0.1.0

Checklist

Check list

Deliverable Requirements Comments Status
Project sheet     Done
  Project identifier   ---> Done
  Project title   ---> Done
  Short description project   ---> Done
  License   ---> Done
Contacts     Done
  Main contact   ---> Done
  Technical contact   ---> Done
Sources     Done
  Public access to the source code   ---> Done
  Strings in english   ---> Done
Dependency report (description3 , template3)     Done
  Project dependences   ---> Done
  Dependency Tree   ---> Done
  Licenses   ---> Done
  Dependency Repository Locations   ---> Done
README, README_es (description1, template1 )     Done
  README.txt in source code   ---> Done
  Introduction   ---> Done
  Version information   ---> Done
  Build instructions   ---> Done
  Packaging instructions   ---> Done
  Internazionalization notes   ---> Done
  Public access to package tools   ---> Done
User manual     Not recieved
  Introduction   ---> Not recieved
  Requeriments   ---> Not recieved
  Installation   ---> Not recieved
  Instructions for use   ---> Done
  Credits   ---> Not recieved
Test plan     Not recieved
  Test plan   ---> Not recieved
Analysis documentation (description2)     Done
  Introduction   ---> Done
  Context   ---> Done
  Developers overwiew   ---> Done
  Components overview   ---> Done

Status values:

  • Done
  • Being reviewed
  • Rejected
  • Not recieved

Project dependencies

Project Dependencies
Compile

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

Artifact Version Type
gdbms-0.8-SNAPSHOT.jar 1.10.0 jar
jts-1.9.jar 1.9 jar
andami.jar 1.10.0 jar
com.iver.cit.gvsig.jar 1.10.0 jar
com.iver.cit.gvsig.cad.jar 1.10.0 jar
org.gvsig.exception.jar 1.10.0 jar
fmap.jar 1.10.0 jar
iver-utiles.jar 1.10.0 jar
castor-0.9.5.3-xml.jar 0.9.5.3 jar
Runtime

The following is a list of runtime dependencies for this project. These dependencies are required to run the application:

Artifact Version Type
gdbms-0.8-SNAPSHOT.jar 1.10.0 jar
jts-1.9.jar 1.9 jar
andami.jar 1.10.0 jar
com.iver.cit.gvsig.jar 1.10.0 jar
com.iver.cit.gvsig.cad.jar 1.10.0 jar
org.gvsig.exception.jar 1.10.0 jar
fmap.jar 1.10.0 jar
iver-utiles.jar 1.10.0 jar
castor-0.9.5.3-xml.jar 0.9.5.3 jar
Test

The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

Artifact Version Type
gdbms-0.8-SNAPSHOT.jar 1.10.0 jar
jts-1.9.jar 1.9 jar
andami.jar 1.10.0 jar
com.iver.cit.gvsig.jar 1.10.0 jar
com.iver.cit.gvsig.cad.jar 1.10.0 jar
org.gvsig.exception.jar 1.10.0 jar
fmap.jar 1.10.0 jar
iver-utiles.jar 1.10.0 jar
castor-0.9.5.3-xml.jar 0.9.5.3 jar
Dependency Tree
  • jts-1.9.jar
  • castor-0.9.5.3-xml.jar
Licenses
  • GNU Lesser General Public Licence (LGPL):
    • jts-1.9.jar
    • castor-0.9.5.3-xml.jar

Developers documentation

Introduction

We try to incorporate new functionality demanded by the Department of Health and Environment of the City of Munich.

This specific functionality, intended to support the possibility of copying a feature with its attributes and geometry from one layer to another.

This extension of gvSIG is an independent and uses the core to perform its functionality without changing the core code, but they develop and improve it.

Context

To establish an overview of situations where this component from the rest of gvSIG, we need to copy both the geometries and attributes of a certain layer to another type that is compatible to perform this operation.

This plugin will add two new gvSIG extensions, with options to copy to the clipboard and paste from the clipboard to the destination layer, therefore, provides the plugin code stays in the background image within gvSIG, without entering in FMAP.

imagenes/contextcopypaste.png

Developers overview

It is a new feature that it aims to save the selected features in memory to paste them as required on any other layer, and in the event that their fields match in name and type attributes will paste also, if the layers are compatible in types of geometry is concerned.

  • Extensions provided by this plugin:

    • CopyFeaturesExtension: The extent that implements the copying of pre-selected features.
  • PasteFeaturesExtension: The extent taht implement those features that have previously copied to the clipboard.
imagenes/umlcopypaste.PNG

Componets overview


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: