OSGeo Planet

gvSIG Team: Learning GIS with Game of Thrones (IV): Selecting tools

OSGeo Planet - Mon, 2017-02-06 13:54

Selecting tools are very important in all the GIS because, among other things, there are a lot of tools that are executed on selected elements. Besides they can be useful to locate elements with specified characteristics easily.

Before starting we remember that, as we saw in the post about Tables, where we select elements of a layer they are selected on its attribute table too (and vice versa).

Selecting tools can be found at the “Selection” menu or in the corresponding button:


Most of the selecting tools are graphical and their working is similar (and very easy). We are going to explain this working and we encourage you to test the different graphical selection tools.

To apply most of the graphical selection tools we have to press the main button of the mouse on the origin point of the selection, then drag and drop to finish selecting. In the selection by polygon case, for example, we have to click on each vertex of it and double click to finish it. And in simple selection option, we only have to click on the element to be selected. 

To add entities to an existing selection, we have to keep “Control” key pressed while we select the elements. If we want to add or remove an element of a group of selected geometries, we have to press “Control” key and click on them. The selected elements are shown in yellow colour.

Have you tested it already?

Well, we’re going to see the non graphical selection tools in detail. Before starting open your “Game of Thrones”project…

Selection by attributes

This tool is in the “Selection/Select by attributes” menu or from the corrresponding button:

It allows to select elements through an enquiry of attributes.

The interface is this one:


  1. Fields. List of attribute fields of the layer. When double clicking on a field it’s added to the enquiry of the selection.
  2. Logical operators. It allows to add a logical expression to the enquiry pressing on them.
  3. Known values. It shows a list with the different values of the selected field. When double clicking on it, it’s added to the enquiry.
  4. Enquiry. Space where the enquiry is being represented. It allows to be written directly.
  5. Selection options.
    • New set. It creates a new selection.
    • Add to set. The results of the new enquiry is added to the existing selection.
    • Select from set. It creates a selection from the existing one. The enquiry is done on the elements selected previously and not on the whole layer.

Now we are going to apply “Select by attribute” tool to select all the castles of our geography. For that we are going to put “Locations” layer active (clicking on its name the name will change to bold). We run “Select by attribute” tool and make this enquiry: “type” = ‘Castle’


When we press “New set” all the castles of the layer will be selected. Now we can consult the attribute table of the layer to check it (as we saw at the “Tables” post) or navigate on the Wiew to see the castles location (as we saw at the “Navigation tools” post).

Select by layer

This tool is available from the “Selection/Select by layer” menu and from its corresponding button:


It allows to select elements from a layer according to its spatial relationship with elements from another layer. 

The interface is this one:


  1. Select items from active layer that are… Pull-down menu that allows us to indicate the selection method. e020_got
  2. Selected items of a layer. It allows us to select the layer for the spatial relationship through a pull-down menu. The elements that we want to take into account have to be selected at that layer. If we want a relationship of the whole layer we would have to select all the elements of that layer.
  3. Selection options. Similar to the “Select by attribute” ones.

Now we are going to do an exercise where we will select all the elements of the “Locations” layer that are located in “The Westerlands”. For that we are going to activate “Political” layer, that includes the different kingdoms of Game of Thrones, and using “Select by attribute” tool we are going to do this query: name = ‘The Westerlands’

We also would be able to select the polygon graphically, but at this way we review the tool that we have just known. Results will be:

021_gotWe have the element selected in our reference layer already. Now we activate the “Locations” layer and we press “Select by layer” tool. In the new window we indicate these options:e021_got

We press “New set” and we will get all the locations contained in “The Westerlands”:


See you in the next post…

Filed under: english, gvSIG Desktop, training Tagged: Selection by attribute, Selection by layer
Categories: OSGeo Planet

Jackie Ng: Announcing: MapGuide Maestro 6.0m6

OSGeo Planet - Mon, 2017-02-06 10:25
Here's another long overdue new milestone release for MapGuide Maestro 6.0.

Here's a summary of what's new.

Friendlier connection error dialog

Rather than say MgConnectionFailedException, perhaps this dialog can explain things better?

Theme support

The latest version of DockPanelSuite supports theming. Maestro now includes a bunch of VisualStudio-style skins that you can choose from the options UI. For example, here's Maestro with the Visual Studio "blue" theme.

Non-modal map previews

Resource previews that use the local map viewer (ie. It doesn't launch an external web browser), now display as additional document-resident view content instead of a modal dialog.


Rather than punching in coordinates for override extents manually, you can now set the extents interactively with Maestro's map viewer component.

Also on that subject, when generating tiles with overridden extents, the total tiles calculation should be more accurate now, having verified the overridden extents against the contents of the physical tile cache, the visual verification made much easier with this new feature.

Other Changes
  • Maestro now has new validation rules for ODBC configuration documents
  • You can now enter a Google Maps API key in the Flexible Layout editor (if you require it)
  • The mapguide-rest addin now generates configuration documents with valid representation nodes
  • Fix NullReferenceExceptions when editing Fusion Flexible Layouts with multiple map groups. A nice timely fix to have to make way in preparation for when this is ready.
  • Upgrading a WebLayout to a 2.4 or newer schema version will now include the MapTip command if it doesn't exist
  • Upgrading a Layer Definition to a 2.4 or newer schema version no longer discards any URL settings.
  • XML editor now automatically trims off null '\0' characters (the source of many bogus content validation errors)
  • FDO stylization functions are no longer falsely reported as unsupported functions by the FDO expression validator.
  • Fusion and Symbol Definition editors should now trigger dirty state more often.
  • IronPython updated to 2.7.7

Categories: OSGeo Planet

gvSIG Team: Geopaparazzi 5.2.0 está aquí y ya es compatible con gvSIG Online

OSGeo Planet - Mon, 2017-02-06 10:19

Para todos los usuarios de SIG móvil y amantes del software libre: Ya está disponible Geopaparazzi 5.2.0 en Google Play. gvSIG Suite continua creciendo.

Está nueva versión, además de arreglar distintos bugs, trae un buen número de interesantes mejoras. Vamos a echar un vistazo a las más importantes.

Geopaparazzi + gvSIG Online

Probablemente la mejora más destacable sea la compatibilidad de la nueva versión de Geopaparazzi con gvSIG Online. Esta integración se enmarca en el trabajo que estamos realizando desde la Asociación gvSIG para disponer de una completa suite de productos de geomática libre, en este caso de la mano de nuestras empresas HydroloGIS y Software Colaborativo.

Gracias a esta integración podemos importar y exportar proyectos de Geopaparazzi y bases de datos SpatialLite desde y hacia gvSIG Online. En definitiva, lo importante es que tendremos sincronizada nuestra IDE con las aplicaciones móviles para trabajo de campo. ¡Y desde nuestro gvSIG Online podremos crearnos en minutos nuestras aplicaciones de campo!

Además esta versión permite agregar imágenes (fotografías) a las geometrías de una determinada capa. Cuando se selecciona un elemento y se están editando sus atributos veremos un nuevo icono con una cámara que nos permitirá asociar fotografías a ese elemento:

geopaparazzi_01Pulsando sobre él veremos las imágenes ya asociadas, pudiendo añadir otras nuevas:

geopaparazzi_02Herramientas de zoom

Varios usuarios nos habían preguntado por la posibilidad de disponer de un “zoom-sobre-el-zoom”, facilitado por la alta resolución de los nuevos dispositivos. La idea es tener un zoom secundario (al que llamaremos escalado) que trabaje en paralelo al zoom geográfico. Cuando hacemos un zoom geográfico muchas veces cambia la representación de los elementos cartográficos, con un zoom escalado no.

Ahora, para cada nivel de zoom geográfico, el usuario podrá escalar la imagen para hacerla más legible. En cierto modo funciona como una lupa que agranda la visualización del zoom geográfico utilizado en ese momento.
La mejor forma de entender esta nueva funcionalidad es con esta imagen comparativa:

zoom_geopaparazziDos consecuencias menores de esta nueva funcionalidad son:

  • Hemos cambiado el icono de posición con una imagen vectorial para evitar el pixelado.
  • Al realizar un centrado con GPS hay que tener en cuenta que los límites de la pantalla se ven afectados por la escala.
Cargar directorios de datos

Con la nueva versión podemos cargar directorios de tileados o de bases de datos Spatialite.

Podéis comprobar como aparece un nuevo icono en la equina inferior izquierda, desde la vista de añadir fuentes (add-sources):


GPS Status

GPS Status, usado anteriormente y que no es software libre, ya no será utilizada para conocer el estado del GPS. En su lugar se utilizará la app GPS Test, que sí es software libre y, por tanto, encaja perfectamente con nuestra filosofía.


Más mejoras…

La nueva versión de Geopaparazzi trae soporte para WMS 1.3, actualización de idiomas, y mejoras de optimización y rendimiento en relación a las últimas versiones de Android.

Esperemos que os gusten estas mejoras. ¡Disfrutadlas!

Filed under: english, Geopaparazzi, gvSIG Mobile, gvSIG Online, press office Tagged: gvSIG Suite, Mobile GIS
Categories: OSGeo Planet

GeoSolutions: GeoSolutions al FOSS4G-IT 2017 a Genova

OSGeo Planet - Mon, 2017-02-06 09:51


Cari lettori,

GeoSolutions sarà presente alla conferenza italiana sul software geografico e sui dati geografici liberi (FOSS4G-IT 2017) nei giorni dall'8 all'11 Febbraio 2017 a Genova (maggiori dettagli qui)

Durante l'evento verranno presentati i migliori lavori sull’utilizzo, lo sviluppo e la diffusione delle applicazioni libere e a codice aperto (Free and Open Source Software) in ambito GIS.

La giornata dell' 8 Febbraio sarà dedicata a workshop introduttivi su GeoServer  e su GeoNode,

nelle giornate successive (9 e 10 Febbraio) si terranno le conferenze su MapStore 2, GeoServer e GeoNode con interventi degli sviluppatori sul software libero sui principali progetti Desktop GIS e WebGIS.

Di seguito il programma dei nostri workshop e delle nostre presentazioni:

  • GeoServer, il server Open Source per la gestione interoperabile dei dati geospaziali, Giovedi 9/2, ore 12:40
  • MapStore 2: Modern WebMapping con OpenLayer 3, Leaflet e React, Giovedi 9/2, ore 12:50
  • GeoNode, il CMS geospaziale Open Source,  Venerdi 10/2, ore 15:20
Ricordiamo che i workshop sono accreditati presso l'ordine degli architetti e presso l'ordine degli ingegneri. La conferenza sarà anche l'occasione per parlare di come poter soddisfare i vostri bisogni attraverso i nostri prodotti e i nostri piani di supporto. Vi aspettiamo numerosi! Il team di GeoSolutions, 320x100_eng
Categories: OSGeo Planet

gvSIG Team: Aprendiendo SIG con Juego de Tronos (V): Edición de tablas

OSGeo Planet - Mon, 2017-02-06 06:18

Seguimos con el mini-curso de introducción a SIG con Juego de Tronos. Con el post de hoy comenzamos a revisar las herramientas de edición alfanumérica. Partiendo de la capa “Political” que contiene los reinos del continente denominado “Westeros” o “Los Siete Reinos” vamos a completar la información alfanumérica original con la frase de la casa reinante y dos campos que nos servirán para ver (en un siguiente post) como funciona la herramienta de “Hiperenlace”.


Una vez abierto nuestro proyecto, activamos la capa “Political”y abrimos su tabla de atributos, tal y como vimos en el post “Tablas”. Esta tabla de atributos tiene 3 campos: id, name (nombre del reino) y ClaimedBy (Casa dominante). Es el momento de comenzar la edición y añadir 3 campos adicionales.

Para comenzar la edición vamos al menú “Tabla/Comenzar edición” o pulsamos el botón correspondiente:

024_gotSi tenéis la Vista visible veréis que el nombre de la capa (“Political”) se ha puesto de color rojo, lo que nos indica que está en edición.

025_gotVamos a añadir las 3 columnas, una a una. Hay varias formas de hacer esto, vamos a ver la más sencilla, utilizando la herramienta del menú “Tabla/Añadir columna” o su botón correspondiente:

026_gotAl pulsar el botón nos aparecerá una nueva ventana que nos pide definir: el nombre del campo, el tipo, el tamaño (número de caracteres permitidos), precisión (sólo para campos de tipo numérico) y valor por defecto (este es opcional, si no ponemos nada las celdas aparecen vacías).

028_gotLos valores de los 3 campos nuevos a crear serán:

  • Nombre: Words, Tipo: String, Tamaño: 50
  • Nombre: Shield, Tipo: String, Tamaño: 100
  • Nombre: Web, Tipo: String, Tamaño: 100

Una vez añadidos los 3 campos nuestra tabla quedará así:

029_gotAhora ya podemos pasar a rellenar con valores las celdas de cada uno de ellos. Para ello basta con hacer doble clic en la celda en la que queremos añadir datos y comenzar a escribir. Con este procedimiento vamos rellenando cada una de las celdas.

Para el campo “Words” añadiremos las siguientes frases para cada una de las Casas Reinantes:

  • Tully: “Family, Duty, Honor”

  • Stark: “Winter is Coming”

  • Greyhoy: “What Is Dead May Never Die”

  • Martell: “Unbowed, Unbent, Unbroken”

  • Baratheon: “Ours is the Fury”

  • Arryn: “As High as Honor”

  • Lannister: “A Lannister Always Pays His Debts”

  • Targaryen: “Fire and Blood”

  • Tyrell: “Growing Strong”

El resultado debe ser similar a este:

030_gotComo hemos comentado los otros dos campos los trabajaremos en un siguiente post relacionado con los hiperenlaces. Por tanto finalizamos la edición de la tabla en el menú “Tabla/Terminar edición” o en su botón correspondiente:

031_gotAntes de finalizar es importante comentar que hay una herramienta que nos permite editar los valores alfanuméricos de los elementos de una capa desde la misma Vista. En ocasiones esto nos puede ahorrar tiempo en nuestras tareas de actualización de datos.

Para probarla, desde nuestra Vista y con la capa “Political” activada, pulsamos el botón “Editor de atributos”:

032_gotPara usarla vamos con que vayamos pulsando en el elemento a editar, nos abrirá una ventana con sus atributos alfanuméricos y podremos modificarlos.

033_gotProbadla y comprobad su funcionamiento. Para terminar pulsar el botón de esa misma ventana de “Terminar edición”.

Seguiremos aprendiendo en siguientes post…

Filed under: gvSIG Desktop, spanish, training Tagged: Añadir columna, Edición alfanumérica, Tablas
Categories: OSGeo Planet

QGIS Blog: Minutes of the Inaugural QGIS General Meeting (2016)

OSGeo Planet - Sun, 2017-02-05 22:03

Dear QGIS community members

At the end of December 2016, we held our inaugural Annual General Meeting (AGM). It should be noted that QGIS AGM’s will be ‘virtual’ meetings conducted as a questionnaire (for voting / raising motions) and then a report such as the one below, with optional follow up email discussion if deemed necessary. The reason for this is that our community is spread far and wide and any attempt at an in-person (physical or virtual) meeting will prove very difficult given the number of different time zones the participants live in. Thus this, and future, AGM reports will be a reflection / summary of the various online activities that constitute the ‘AGM’ and the reports should be read with this understanding in mind.  It should also be kept in mind that because we are bootstrapping the QGIS Board, the 2016/ 2017 meetings follow a reduced agenda – the 2018 meeting will commence with the full AGM agenda since we will have a year of financial reporting / board activity etc. behind us. Here follow the minutes:


Minutes of the Inaugural General Assembly (AGM) 2016 – Concluded 22 December 2016

Dear QGIS.ORG voting members,

In December 2016 we held a special Inaugural AGM event in order to bootstrap the new governance structures for QGIS.ORG. The following items were tabled during our special AGM to cater for the needed transition from the old organisation to the new:

Election of incoming board and PSC member replacements

Under our statutes, existing board / PSC members are automatically put forward for re-election during our PSC elections. A call for nominations was held and closed on 15 December 2016. All voting members were elegible to put forward their nominations. The following valid nominations were received (i.e. for candidates who were not already PSC members):

  1. Régis Haubourg

Subsequent to the call for nominations, an election was held via online vote. Response rate was 20 out of 27 eligible voters. Under our statutes this is considered a quorum. Election results were as follows:

Position Name Votes Received Max Votes Chair: QGIS Board Tim Sutton 19 20 Vice-Chair: QGIS Board Paolo Cavallini 12 20 Treasurer: QGIS Board Andreas Neumann 20 20 PSC Member Richard Duivenvoorde 17 20 PSC Member Anita Graser 16 20 PSC Member Jϋrgen Fischer 14 20 Honorary PSC Member Gary Sherman – –

Note that each voting member was allowed 6 votes, but was not allowed to vote for the same person more than once. For the Board Member positions, which were specifically named, the candidate with the greatest number of votes for each role assigned that role. The PSC member positions were calculated based on the total number of votes each candidate received (including those allocated to named board roles). In accordance with our statutes, Gary Sherman remains on the PSC on a permanent basis as Honorary PSC member.

Election of the board chair

Election of the board chair was carried out as part of the general voting process. The successful candidate was Tim Sutton.

Matters brought forward by voting members

There were no matters brought forward by voting members.

Annual AGM for 2017

Now that the special AGM has been held and the Board and PSC constituted, we will hold our first AGM in the first quarter of 2017 (and then each year thereafter will be held in the first quarter). The 2017 AGM will be a reduced format since we will have just elected the PSC and Board,

Agenda for 2017 AGM:

  1. Approval of the annual report (2016) by the chair
  2. Approval of the annual financial report (2016)
  3. Approval of the 2017 budget
  4. Election of two financial auditors for the upcoming year
  5. Deal with matters brought forward by voting members


Given the outcomes of the end-2016 AGM, the QGIS Governance now looks like this (click for larger version):


If you have any queries about the QGIS Governance processes, please do not hesitate to ask!



Tim Sutton (QGIS Project Chair)


Categories: OSGeo Planet

From GIS to Remote Sensing: Semi-Automatic Classification Plugin v.5.0 "Kourou" Released: Supervised Classification Tutorial

OSGeo Planet - Sat, 2017-02-04 15:04
I am very glad to announce the availability of the new Semi-Automatic Classification Plugin (SCP) version 5.0, code name "Kourou" (dedicated to the Europe's Spaceport in French Guiana where Sentinel satellites are launched, see http://www.esa.int/Our_Activities/Launchers/Europe_s_Spaceport/Overview_of_Europe_s_Spaceport).
I have also updated the user manual that is available here.

In case the plugin is still not available inside QGIS Plugin Manager, you can perform a manual installation, following this guide.
Following the first basic tutorial of this new version.
Categories: OSGeo Planet

Free and Open Source GIS Ramblings: Gradient arrows

OSGeo Planet - Fri, 2017-02-03 20:03

Today’s post was motivated by a question following up on my recent post “Details of good flow maps“: How to create arrows with gradients from transparent to opaque?


The key idea is to use a gradient fill to color the arrows:


It all seems perfectly straightforward: determine the direction of the line and set the gradient rotation according to the line direction.

But wait! That doesn’t work!

The issue is that all default angle functions available in expressions return clockwise angles but the gradient rotation has to be set in counter-clockwise angles. So we need this expression:


Happy QGISing!

Categories: OSGeo Planet

gvSIG Team: Geopaparazzi 5.2.0 is out! Compatibility with gvSIG Online

OSGeo Planet - Thu, 2017-02-02 18:43


The new versión of Geopaparazzi is out and probably the most important feature is the compatibility with gvSIG online. Great news for gvSIG Suite.

It is now possible to import and export geopaparazzi projects and spatialite databases from and to gvSIG Online. This enables the gvSIG Stack for proper digital field mapping with synchronization of data from and to the device.
Do you want to know more?

Read here…

Filed under: english, Geopaparazzi, geoportal, gvSIG Online, SDI Tagged: gvSIG Suite
Categories: OSGeo Planet

Andrea Antonello: Geopaparazzi 5.2.0 is out!

OSGeo Planet - Thu, 2017-02-02 17:11
We just released geopaparazzi 5.2.0 to google play.

The release comes with a whole pile of bugfixes (see here), but also some nifty new features. Let's have a look at the most important ones.

Geopaparazzi & gvSIG OnlineProbably the most important feature is the compatibility with gvSIG online. This is an ongoing effort within the gvSIG Association. HydroloGIS and Scolab are currently working on the integration.

It is now possible to import and export geopaparazzi projects and spatialite databases from and to gvSIG Online. This enables the gvSIG Stack for proper digital field mapping with synchronization of data from and to the device.

Cesar from Scolab also added a nice feature that also people without the need of a serverside will appreciate: the possibility to add pictures to spatialite geometries. This has always been possible for notes in a geopaparazzi project, but now it is possible also for general spatialite layers.

Once you select a feature and enter the attributes editing tool, you will now have a new camera icon:

Tapping on it will open the images thumbnail view:

The images are saved in the database into a table allocated once this functionality is triggered for the first time.

Zooming the map viewSome users asked for a zoom-in-the-zoom functionality. This is due to the high resolution of the new devices' screens. The idea is to have a secondary zoom (let's call it scaling) that works in parallel to the geographic zooming.

So for each geographic zoomlevel the user is now able to scale the current image to make it more readable.

Look at the following comparison to better understand:

This feature addition has two main drawbacks:
  • we had to change the position icon with a vector image so that it would not get blurry too early (it was ugly already at first scaling). Well, that is probably no drawback...
  • the automatic center on gps will not work properly, since the bounds of the screen are affected by the scaling and the centering (for example while driving) will take place far outside the device's screen. For now I can live with that, I hope you also can.

And how do you scale up and down? Just long tap on the zoom button. The setting is kept until one exits the application through the exit button.

Load data foldersIt is now possible to load folders of tilesources and folders of spatialite databases.

In the add-sources views in the lower left corner a sparkling new add folder icon is present:

Since this loads a lot of data, in the case of spatialite databases, all the tables are now added as not visible by default. The user will then enable the ones he would like to see.

Gps StatusGps Status will no longer be the gps status app. It is not open source and it doesn't work any more with intent calling, so for now we will have the Gps test app to help out with gps status visualization. It is free and open source and definitely fits better in our family.

Other stuffApart of this, fixes have been done to the WMS 1.3 support, which wasn't properly working, a major languages update has been done and the we are updated to properly work with the latest Android 7 version.


Categories: OSGeo Planet

gvSIG Team: Aprendiendo SIG con Juego de Tronos (IV): Herramientas de selección

OSGeo Planet - Wed, 2017-02-01 05:49

En todo SIG son muy importantes las herramientas de selección, entre otras cosas porque hay muchas herramientas que se ejecutan sobre los elementos seleccionados. Además pueden servirnos para localizar fácilmente elementos con determinadas características. 

Antes de empezar conviene recordar, como vimos en el post de Tablas, que cuando seleccionamos elementos de una capa también se seleccionan en su tabla de atributos (y viceversa).

Las herramientas de selección se pueden encontrar en el menú “Selección” o en su correspondiente barra de botones:


El mayor número de herramientas de selección son gráficas y su funcionamiento es similar (y muy sencillo). Vamos a explicar este funcionamiento y os animamos a que vayáis probando las distintas herramientas de selección gráfica.

Para aplicar la mayoría de las herramientas de selección gráfica se debe hacer clic con el botón primario del ratón sobre el punto de inicio de la selección, arrastrar y soltar para finalizar la selección. En el caso de la selección por polígono, por ejemplo, se hace clic en cada vértice del polígono y doble clic para finalizar la selección. Y en el caso de la selección simple sólo se necesita hacer un clic sobre el elemento a seleccionar.

Para agregar entidades a una selección existente, se debe mantener presionada la tecla “Control” mientras se seleccionan entidades. Para quitar una o más entidades de una selección de varias entidades, se debe mantener presionada la tecla “Control” y hacer clic en ellas. Los elementos seleccionados se muestran de color amarillo.

¿Lo habéis probado ya?

Bien, pues vamos a ver con mayor detalle las herramientas de selección no gráfica. Antes de empezar abrir vuestro proyecto de “Juego de Tronos”…

Selección por atributos

Esta herramienta se encuentra en el menú “Selección/Selección por atributos” o en su botón correspondiente:

016_gotPermite seleccionar entidades mediante una consulta de atributos.

La interfaz es la siguiente:


  1. Campos. Listado de campos de atributos de la capa. Al hacer doble clic en un campo lo incorpora a la consulta de selección.
  2. Operadores lógicos. Permite insertar, pulsando sobre ellos, una expresión lógica a la consulta.
  3. Valores conocidos. Muestra una lista con los distintos valores que toma el campo seleccionado. Al hacer doble clic sobre un valor lo incorpora a la consulta.
  4. Consulta. Espacio donde se va representando la consulta a ejecutar. Permite escribirla directamente.
  5. Opciones de selección.
    • Nuevo conjunto. Crea una selección nueva.
    • Añadir al conjunto. Añade a la selección ya existente el resultado de la nueva consulta.
    • Seleccionar del conjunto. Crea una selección de lo seleccionado. Realiza la consulta sobre los elementos previamente seleccionados y no sobre toda la capa.

Ahora vamos a aplicar la herramienta de “Selección por atributo” para seleccionar todos los castillos de nuestra cartografía. Para ello ponemos activa la capa “Locations” (hacemos clic sobre ella y su nombre se pondrá en negrita). Lanzamos la herramienta de “Selección por atributo” y realizamos la siguiente consulta: “type” = ‘Castle’

017b_gotAl pulsar el botón de “Nuevo conjunto” nos seleccionará todos los castillos de la capa. Ahora ya podemos consultar la tabla de atributos de la capa para comprobarlo (como vimos en el post “Tablas”) o navegar por la Vista para ver la ubicación de estos castillos (como vimos en el post “Herramientas de navegación”).

Selección por capa

Esta herramienta está disponible desde el menú “Selección/Selección por capa” y en su botón correspondiente:


Permite seleccionar elementos de una capa en función de su relación espacial con elementos de otra capa.

La interfaz es la siguiente:


  1. Seleccionar de las capas activas los elementos q…Desplegable que permite indicar el método de selección.020_got
  2. Elementos seleccionados de la capa. Permite seleccionar mediante un desplegable la capa con la que se va a hacer la relación espacial. Essa capa debe tener seleccionados los elementos que queramos se tengan en cuenta. Si queremos que la relación espacial sea sobre toda la capa…deberemos tener seleccionados todos los elementos de esa capa.
  3. Opciones de selección. Similares a las de “Selección por atributos”.

Vamos a hacer un ejercicio consistente en seleccionar todos los elementos de la capa de localizaciones (“Locations”) ubicados en el reino de las Tierras del Oeste (“The Westerlands”). Para ello activamos la capa “Political” que cotiene los distintos reinos de Juego de Tronos y utilizando la herramienta de “Selección por atributos” realizamos la siguiente consulta: name = ‘The Westerlands’

También podríamos haber seleccionado el polígono gráficamente, pero así repasamos la herramienta que acabamos de conocer. El resultado será:

021_gotYa tenemos el elemento seleccionado de nuestra capa de referencia. Ahora activamos la capa “Locations” y pulsamos la herramienta de “Selección por capa”. En la ventana que nos abre indicamos lo siguiente:

022_gotPulsamos el botón “Nuevo conjunto” y como resultado nos seleccionará todas las localizaciones contenidas en “The Westerlands”:


Hasta el próximo post…

Filed under: gvSIG Desktop, spanish, training Tagged: selección por atributos, selección por capa
Categories: OSGeo Planet

gvSIG Team: Learning GIS with Game of Thrones (III): Navigation tools

OSGeo Planet - Tue, 2017-01-31 15:03

When we speak about navigation tools we are referring to all of those that allow us to go over the cartography, and here we can find from the typical zooms to zoom in and zoom out (that means, to change the visualization scale) to other tools more elaborated.

At this post we are going to see these tools, explaining the less known ones better, that are very useful.

Navigation tools are grouped at the View menu, Navigation sub-menu, being also available as buttons.


We are not going to explain basic tools working in detail because they are very intuitive and its use is similar to other applications. In order of appearance at the toolbar we have the basic navigation tools: Pan, zoom in and zoom out buttons, zoom to the whole extension of the cartography, return to a previous zoom, zoom to selected elements, and three advanced tools or not as much used ones: frame manager, centre view to coordinates or locator by attribute. Learning to use the basic tools is very easy, we only press them and interact with the view, so we are going to explain the other tools directly.

Before starting, we are going to open the previous project saved at the last post.  An

Firstly we are going to add two new layers (review the first post in case you have any doubt): “Wall” and “Locations”.


We have the wall and important locations already (cities, castles…) in our project.

If we press on the “Wall” layer with secondary button of the mouse ans we select “Zoom to layer” the zoom will change to the maximum extension of the wall.


If you have noticed it, “Locations” layer has changed its symbology at that level of zoom; we will see how to create that type of changing symbology in future posts.

Now we are going to use “Locate by attribute” tool, that you can find at the “View/Navigation/Locator by attribute” menu or its corresponding button.


This tool allows to centre the View to the elements of a layer that have a specific attribute. In our case we are going to use it to visit some outstanding locations of Game of Thrones. Selecting this tool, a new window will be opened where we can select the layer, field and value that we want to locate in different pull-down menus.


We can locate, for example, “Winterfell”.

Another tool that is not as much known but it’s very useful is the “Frame manager”, that allow us to save a zoom of a specific area of the View. It allows us to return to that zoom in any moment.

This tool is available from the “View/Navigation/Frame manager“ menu or from its corresponding button.


A new window will be opened where we can name the frame that we want and save it. It will save it at the favourite frame list. As we are in “Winterfell”, we are going to save that frame. We repeat the “Zoom to layer” action on the “Wall” layer and we save a new frame. You can save as many frames as you want. If you have folloewd the steps correctly you will have something like that:


Now, every time that you want to go to any of these frames you only have to open the “Frame manager” to open that window, and select the frame that you want.

With this tool we finish this quick viewing to the navigation tools. Now you can move on your Game of Thrones map and explore it.

Don’t forget to save your project. See you at the next post…

Filed under: english, gvSIG Desktop, training Tagged: Game of Thrones, Locator by attribute, Navigation, Zoom manager
Categories: OSGeo Planet

GeoSolutions: GeoServer Code Sprint 2017

OSGeo Planet - Tue, 2017-01-31 14:15


We have offered to host the GeoServer team for a Java 2017 code sprint to look at updating, fixing and documenting the the GeoServer REST API. The GeoServer REST API is used to remotely manage a GeoServer instance and has proven highly successful for automation, integration with other applications, with libraries for java and python remote management.


The code sprint is dedicated to:

  • Migrating from the restlet library to Spring MVC library. As an early adopter GeoServer selected the restlet library as best of breed at the time. It has not aged well, and Spring MVC represents a supported annotation based solution that is familiar to more developers.
  • Although popular the REST API has not attracted a lot of investment, leading it to have the highest bug count of any of our GeoServer modules! This sprint would like to directly reduce this bug count, and indirectly reduce this bug count by introducing more developers to this area of the codebase.
  • The REST API also has the greatest number of requests for documentation and examples. This code sprint will update the documentation for each area of the REST API as as it is migrated, and look at some of the solutions for the automated collection of examples requests.
  • We will be sure to test against the gsconfig python library and geoserver-manager java library.

The GeoServer team has previously planned and executed a highly successful code sprint. We would like to once again ask for your support and participation in 2017.

Viareggio, Lucca

The code sprint is planned for a week in March in the GeoSolutions headquarters of Viareggio, Lucca. Thanks to GeoSolutions for providing a venue, space is limited to 10-15 people so hit the wiki to sign up if you are interested.


A note on the timing: We were unable to join the Daytona Code Sprint 2017 as it is scheduled too close to the GeoServer 2.11 code freeze. GeoSolutions offer to host in Europe will reduce travel costs allowing us to run the event with minimal sponsorship.

Participation and Sponsorship

We have the following sponsorship levels available:

  • Gold: $1000
  • Silver: $500
  • Bronze: $250

We are reaching out to international and local sponsors. Contributions will be put towards travel costs for overseas sprinters who would be otherwise unable to attend. Any surplus at the end of the event will be turned over to OSGeo or used for a future code sprints.

For more details on participation, sponsorship or budget for the event please see the Java 2017 Code Sprint 2017 on the OSGeo wiki.

Categories: OSGeo Planet

Jackie Ng: A few days layer ...

OSGeo Planet - Tue, 2017-01-31 12:11
Not only does AppVeyor gives us continuous integration, it can give us continuous delivery as well.

So after getting the newly migrated MapGuide Maestro on GitHub hooked up to AppVeyor for CI and automated publishing of code coverage results to Coveralls, I wanted to look at how AppVeyor can be used for automating the creation of GitHub releases. The ideal scenario, is that when I decide to put out a release, I hit some button or run some command and a new GitHub release will show up a few minutes later.

It turns out, AppVeyor has a whole section on their documentation dedicated to this very subject! Some tweaks were required to the AppVeyor build system so that it also builds the API/User documentation and zip/installer packages and then by specifying these artifacts in the artifacts section of appveyor.yml, they will appear in the artifacts section of the AppVeyor build page.

What that means is that you now have access to the latest builds of MapGuide Maestro straight after AppVeyor builds and validates them. However, this is not the way I want you to access official releases of Maestro, I still want GitHub releases created for this particular case, and ideally in an automated fashion.

This is where we set up our AppVeyor configuration to deploy using the GitHub deployment provider, with the trigger being a push of a git tag. What this means in practice is when I decide to put out an official release, I make the release tag in Git, push it out to GitHub. This triggers AppVeyor to do its usual CI and artifact packaging. But because this is a release tag, it will also automatically create a corresponding GitHub release in a draft state and uploads the associated artifacts of this build with it.

From there, I can visit the draft release page and tidy up the release description and add release notes, click the publish button and voila! A new release is ready for you to download. How well is this automated process? Check out this test release and find out for yourself.

I'm really liking this well-oiled CI/CD machine, further solidifying my justification for making the move to GitHub in the first place. Oh, and as the above screenshot shows, I also got my first pull request today for Maestro too. Things are looking up!
Categories: OSGeo Planet
Syndicate content