gvSIG 2.0: las mejoras de las que nunca hablamos

Ya hemos comentado en más de una ocasión que la principal novedad de gvSIG 2.0 cae del lado del desarrollo, nueva arquitectura, mayor estabilidad, facilidad de mantenimiento, etc.

También hemos visto que la nueva línea que abre gvSIG 2.0 está llena de llamativas mejoras para el usuario, algunas de base y otras que han ido apareciendo en las últimas semanas: OSM, NetCDF, WMTS, Mapas temáticos, Importador de símbolos y bibliotecas como la de OSM, Google, Forestal,…

Y siempre que hablamos de gvSIG 2.0 nos olvidamos de las pequeñas mejoras que han ido apareciendo y que en conjunto aumentan considerablemente lo que se suele denominar como “la experiencia del usuario”.

Valga este post como un homenaje a algunas de esas mejoras que nunca aparecen en los titulares.

La primera mejora la encontramos nada más ejecutar la aplicación. Muchas veces hemos deseado que el splash de gvSIG desapareciera mientras se carga el programa ya que nos impedía visualizar otros programas que tuviéramos abiertos. Bien, ahora es fácil, haciendo click con el ratón sobre el splash…desaparece.

Lo primero que suele hacer un usuario cuando abre gvSIG es crear una Vista y añadir una capa. Al crear una Vista nueva, vemos que se abre automáticamente. Al añadir una capa ya no tenemos que seleccionar el driver del formato que queremos añadir, estando por defecto la opción de visualizar todos los archivos soportados. Por cierto, la carga de las capas se hace en segundo plano lo que permite trabajar con la aplicación mientras tanto. Y además encontramos que la barra de estado informa sobre el proceso de carga de las capas y posibles fallos.

Hay una nueva reorganización de menús y submenús, acorde a lo que suele ser la norma de la mayoría del software. Y, por fin, tenemos los botones no sólo ordenados sino fijos en su posición (ya no se desplazan…mágicamente).

En la misma línea de usabilidad hemos unificado todos los geoprocesos en un mismo marco, añadiendo los relativos a herramientas de raster.

Y hablando de raster encontramos que ha mejorado considerablemente la ventana de información (info by point) cuando consultamos cualquier capa raster que tengamos cargada en nuestra Vista.

00_01Tenemos también mejoras en el lado del WMS, donde ya podemos consultar la leyenda de estos servicios en la Tabla de Contenidos(en caso de que tengan, claro, como ocurre por ejemplo con el WMS del Catastro de España).

Una mejora llamativa la veremos al utilizar el encuadre de la Vista, ya que ahora permite ver lo que estamos desplazando, arrastrando junto al cursor, en modo semitransparente, el encuadre original de la Vista.

Sin duda, iréis descubriendo más mejoras conforme utilicéis la aplicación, algunas más visibles como la aparición funciones rápidas en el menú Tabla (añadir, renombrar y borrar columna, añadir y borrar fila) que agilizan la labor de edición, y otras más dificiles de identificar como que los proyectos se guardan por defecto con rutas relativas.

Posted in gvSIG Desktop, spanish | Tagged | Leave a comment

gvSIG 2.0: OpenStreetMap, adding new servers

One of the small but important improvements that have been included in gvSIG 2.0 is, in our opinion, the access to the excellent data source that OpenStreetMap is. The extension, that was recently released, can be installed easily from the gvSIG add-ons manager (by URL, selecting the http://downloads.gvsig.org/download/gvsig-desktop/ server and the Formats: OpenStreetMap raster tiles support) package.

As it was commented in a previous post, it will allow us to access to Map Quest, Map Quest Open Aerial, Open cycle Map and Mapnik layers.

OSM_en_01

An interesting functionality that is presented in this extension is that the user can add new servers.

For that we only have to fill in the data of the new server in the Add layer/OSM window.

We’re going to see an example where we’ll add Terrai, one of the Stamen tiles services, from United States of America, all of them with an excellent design.

  • Name: We can add whatever we want, a name that allow us to identify the server.
  • URL: The URL of the server: http://a.tile.stamen.com/terrain
  • Levels: In this case they are 17
  • Format: In this case it’s jpg

It would be something similar to this image:

OSM_en_02

We only would have to press the “Add server” button to include it in our server catalogue.

OSM_en_03

Of all the servers that Stamen offers, the server that we like the most is the Water Color one. We’re going to add it:

We only have to press “Add server” and it would be added to the group of available servers.

You can check to view it. You have to take into account that not all of these servers offer information of all the world, different from the 4 servers by default. In the cases where Stamen doesn’t cover all the world you can zoom to a city of USA and check how the new information is shown.

OSM_en_fin

Posted in english, gvSIG Desktop | Leave a comment

SISTEMAS DE INFORMACIÓN GEOGRÁFICOS EN BASE A SOFTWARE LIBRE EN COLOMBIA

Hasta hace algunos años en la gran mayoría del territorio Colombiano (Sus Instituciones) no se podía hablar si quiera de implementar un Sistema de Información Geográfico sin pensar en la utilización de software SIG Privativo, inmediatamente se debía consultar y cotizar software como: Arcgis, Map Info, ERDAS, entre otros. La mayoría de Municipios de Colombia no posee los recursos suficientes para poder pagar el elevado costo de la adquisición de licencias para que su SIG funcione de manera correcta y desde varias dependencias; entonces la respuesta a cualquier propuesta de montaje de SIG era siempre negativa.

Image depicting map location of the city and m...

Image depicting map location of the city and municipality of Pasto in the Nariño Department, Colombia (Photo credit: Wikipedia)

Con base en estos antecedentes es que ASOREDESOCIAL como organización decidió darse a la tarea de investigar el uso de software libre para la implementación de SIG (Veníamos trabajando hace 10 años implementado SIG con Arcgis), pasamos por muchos de ellos, entre Brasileros como Spring y TerraLib, Qgis, Kosmo, Map Maker, entre otros; a todos ellos les hicimos las mismas pruebas, muchos muy completos en sus herramientas y otros poseían algunas deficiencias. Aproximadamente hace Tres años conocimos a gvSIG, al cual le hicimos muchos estudios e investigaciones, acompañados de pruebas en todos sus módulos, herramientas y algoritmos, miramos sus bondades y decidimos dar el siguiente paso; el cual era el desarrollo de un SIG tipo escritorio basado totalmente en gvSIG. Fue así que se decidió migrar uno de los SIG a esta plataforma; nuestro primer trabajo fue hace tres años con una empresa de servicios públicos en la Ciudad de Pasto, esto queda en Nariño – Colombia; el mismo estaba montado en Spring, con Postgres como gerenciador de bases de datos, no fue difícil la migración, aunque se tuvo que hacer muchos ajustes topológicos, de redes y de estructura de bases de datos para acoplarlo a gvSIG, pero felizmente todo salió de manera exacta; se migro con éxito y en la actualidad sirve de soporte técnico para tomar decisiones en esta empresa, la cual tiene cobertura en todo Latinoamérica; bueno estos fueron los primeros pasos con gvSIG. En la actualidad hemos realizados cuatro experiencias mas de SIG ya no solo tipo escritorio sino de redes empresariales y publicados muchos de ellos en la web, con el uso de i3Geo; pero no me detendré a hablar de cada uno de los casos, más bien nuestra experiencia personal y organizacional en el montaje de los mismos.

En la actualidad ASOREDESOCIAL hace uso racional del Software libre para la implementación de sistemas de información geográficos en el sur de Colombia, sistemas desarrollados completamente en software libre, desde la creación de la cartografía, la gerencia de bases de datos y hasta la publicación de los mismos en internet; tenemos la capacidad de ahorrarles a las Municipalidades recursos de gran importancia (Hasta 80 mil dólares), los cuales ellos los invierten en otras necesidades de gran importancia para ellos. En la actualidad nuestros Sistemas de Información Geográficos ayudan a las administraciones municipales a tareas como: ordenamiento ambiental, ordenamiento territorial, determinación de zonas de vulnerabilidad y riesgos, planificación de vías, planificación de nuevas viviendas para sus comunidades, catastro rural y urbano, actualizaciones de estratificaciones, entre otras. Estas instituciones tienen independencia total de nuestra compañía, esto no ocurre cuando se usa software pago, donde los proveedores hacen un contrato de soporte técnico de mínimo cinco años, amarrando a las instituciones para que cancelen unos recursos que les permiten actualizar el software y darles asistencia técnica en sus Sistemas de Información Geográfico. Continue reading

Posted in Business, gvSIG Association, gvSIG Desktop, i3Geo, opinion, spanish | Tagged , , , , , , , , , | Leave a comment

gvSIG 2.0: Improvements in access to geodatabases

One of the most interesting improvements in gvSIG 2.0 is that layers coming from geodatabases are instantly visible because there is no preprocess dealing with row IDs. Besides, the GeoDB wizard now detects the table’s CRS so the user does not need to know it in advance. On-the-fly reprojection is applied automatically if the table’s CRS does not match the view’s CRS.

Also, a new version of the Oracle Spatial plugin has been published. You can install it from the add-ons manager by choosing the “By URL” option and “http://downloads.gvsig.org/download/gvsig-desktop/ ” as the repository’s URL (in will soon be available from other gvSIG repositories). The plugin is listed as “Oracle Spatial/Locator connector” (BN 2058).

Remember that the Oracle JDBC driver is needed to access Oracle Spatial databases. It can be downloaded from here and must be copied to:

[GVSIG_FOLDER]/gvSIG/extensiones/org.gvsig.geodb/lib/

This video briefly shows these new features:

Posted in english, gvSIG Desktop, gvSIG development | Tagged , , , , , , | Leave a comment

gvSIG 2.0: Mejoras en acceso a bases de datos espaciales

Una de las mejoras más importantes en gvSIG 2.0 es que, al cargar una capa procedente de una base de datos espacial como PostGIS u Oracle Spatial, no es necesario un preproceso en el que se leen todos los ID de la tabla. Esto permite la visualización instantánea de la capa aunque no se establezca un área de trabajo.

Además, el diálogo que permite listar y elegir las tablas a cargar detecta el CRS de la tabla (si está disponible) y lo establece en el botón correspondiente, de modo que el usuario no tiene que saber esta información a priori.

Por otra parte, se acaba de publicar una nueva versión del plugin de Oracle Spatial (BN 2058). Para instalar este plugin se debe acceder al Administrador de complementos de gvSIG 2.0, a la opción “Por URL” y seleccionar “http://downloads.gvsig.org/download/gvsig-desktop/” (en breve estará disponible también en los demás repositorios de gvSIG). De los paquetes disponibles se deberá seleccionar el paquete “Oracle Spatial/Locator connector”.

Recordemos que para acceder a Oracle Spatial es necesario también descargarse el archivo ojdbc5.jar desde la web de Oracle y copiarlo a la carpeta:

[GVSIG_FOLDER]/gvSIG/extensiones/org.gvsig.geodb/lib/

En este vídeo se puede ver una demostración de estas mejoras:

Posted in gvSIG Desktop, gvSIG development, spanish | Tagged , , , , , , | Leave a comment

gvSIG 2.0: Forestry symbol library

One of the common areas of GIS use is forestry. Focus on these use cases, we have made a new symbol library. And, as usual, it is available from the “Add-On Manager“.

Following the steps defined in the series of post “gvSIG 2.0: Create symbol libraries” we have created this new symbol library. Let’s see how we have made it, so that it serves as a new example for users to create their own libraries.

For point symbols (markers) we started from two different sources:
- First, the collection of symbols used by the NPS (U.S. National Park Service). An excellent collection of public domain symbols.
- On the other hand, we used the font Trees & Shrubs done by Jim Mossman, also available by public domain.

To add symbols NPS, we followed the instructions made in this post. To fmake easier the identification of symbols, we have used a mass renaming tool files, because gvSIG names each symbol with the name of the file (in that case we used pyRenamer). By Inkscape we generated different selection symbols (coloring by yellow each symbol and appending “_sel” to the file name).

From that point is all ready to use gvSIG symbols importer. We import the symbols to “Forestry / NPS”. Automatically gvSIG creates the new library with the set of point symbols imported.foresty_point2As indicated in this other post we generate different SVG files that represent a set of trees and shrubs. We use the symbol importer, storing them in Forestry/Trees & Shrubs.Forestry_point1Besides point symbols, we wanted this library contains a set of lines and brush symbols commonly used in forest maps.

We generated linear symbols:Forestry_lineaAnd brush symbols:Forestry_relleno

Now we only have to create the package as it was explained in this post.

This package is available from the Add-On Manager (by selecting the URL http://downloads.gvsig.org/download/gvsig-desktop/ and searching for “Types / symbols”) or directly downloading the package from here.

Posted in english, gvSIG Desktop | Tagged | Leave a comment

gvSIG 2.0: “Emergency” symbols library

One of the fields which gvSIG is becoming more used in, is the emergency management, both in urban and natural disaster. With no doubt, spatial analysis gives a significant contribution to emergency management and other related fields like for example crime analysis.

Focused in these users, we generated a new symbol library which is, as usual, available from the gvSIG addons manager.

In the case of marker symbols we started from a set of symbols called “EMS. The Emergency Mapping Symbology” made by the Department of Natural Resources of Canada. As stated in http://emsymbology.org/EMS/docs/EMS_Symbology_v1.0.pdf it can be freely used. The symbols have been imported as usual (see this other post).

As in older cases, in order to ease the identification of the symbols, we used pyRenamer -a massive file renaming tool-, as the name that gvSIG gives to each symbols is just the file name.EMS_01

These symbols are designed for being used at a 32pixels size -with the aim of emphasize its importance in the map- and that’s why we imported exactly at this size, although if we reduce them to a lower size they look ok as well.

We used GIMP to generate the selection symbols. In this case, since some of the original symbols were yellow, we decided to represent the selection symbols in grayscale. From menu Image > Mode > grayscale we converted all the symbols and added “_sel” to the files name so gvSIG could use them automatically.

Apart from the marker symbols, we wanted that this library also contained a set of line and fill symbols, useful for emergency, crime etc. maps.

We generated both line symbols:EMS_02And fill symbols, inspired in the document Biosecurity Emergency Management – Mapping Symbology:EMS_03Finally we created an addon package as you can see in this other post.

This package is available within the gvSIG addons manager (selecting the URL http://downloads.gvsig.org/download/gvsig-desktop/ and searching by “Types/symbols”) or directly downloading the package from here.

Posted in english, gvSIG Desktop | Tagged | 2 Comments

gvSIG 2.0: OpenStreetMap tiles

gvSIG 2.0 improves the raster access incorporating the possibility to make tiles for the sources of this type of data, local or remote ones. The results is that the raster layers are loaded on the gvSIG view in small portions or tiles that allows the layer to be rendered progressively. The layers are divided in pre-establish levels with different resolutions and these tiles are generated for each level in executing time, that means when the requests for new areas are made (zooms) the tiles are generated.

But the best advantage of this system is that we can save all the tiles in a cache. At this way, the information that is downloaded from the servers don’t have to be asked for again once it has been done, because the next requests are served from the cached data, with the consequent efficiency improvement.

At this way, the incorporation of new data sources with this system of resolution pyramids is easy. Due to this possibility the development of a new plugin to access to the tiled layers from OpenStreetMap servers has been relatively easy. It’s because these servers serve data at this way and it’s totally compatible with the cache system that has been incorporated in gvSIG.

This plugin includes a basic access to the OpenStreetMap layers for viewing. Four servers are configured by default, that serve the Map Quest, Map Quest Open Aerial, Open cycle Map and Mapnik layers. At the same “Add layer” interface it’s possible to add new servers, so it doesn’t limit it only to the preconfigured data. The interface to do it is very intuitive and it doesn’t need any special explanation. In our opinion, this is an example about how we can take advantage of the base possibilities of gvSIG 2.0 effortlessly to develop a new functionality.

A problem with the OSM tiled layers in gvSIG is the projection. They are served in EPSG:3785 and gvSIG doesn’t include this projection originally. It’s possible to create it manually if we have the WKT string, but it’s not easy. In this case, the plugin will do it for us. Everytime it’s executed it will check if this EPSG exists in the gvSIG database and if it’s not included it will be created as a user projection. At this way we will be able to change the view to this projection for loading the cartography.

Another inconvenient that we can find is that once the information is at the cache it’s not updated, and if the information changes at the server we will continue loading old data. This is not a problem to load local layers, but it would be a problem for remote layers, like the OSM layers. We expect to improve it in the future to solve this problem.

Posted in english, gvSIG Desktop | 1 Comment

gvSIG 2.0: Create symbols libraries (III)

In the previous posts of the symbols series, we have seen how to create a symbols library form a set of images, realising some examples such as Google and OSM libraries.

It can be interesting as well to realize our own symbols library from different external sources. They can be made of letters, numbers or special characters as symbols or even graphic symbols.

As an example, we are going to use one source containing animal symbols.

After having downloaded it and installed in our system, we will transform it into images by using Inkscape, an open source software for vector editing that we have already mentioned in other posts.

To install a source it is only needed to open it with the typographic viewer of our operating system  and click on Install.

Zoo_01

Once installed it will be shown as part of the available fonts in Inkscape. Add text and, for example, if we write “ABCDEFGHI”, something like this will appear:

Zoo_02

We will transform these characters into single images in two simple steps:

  • Path/Object to Path: transform the character into image.
  • Object/Ungroup: create a single image for each character.

Then we have just to select each of them and save one by one as single file by “File/New”, assigning to any single document a size similar to the image ones. Cut and paste the image into this new document (for example the first, the caiman) and by “Object/Align and distribute” align it in the centre. Save it with a name easy to be identified (Caiman.svg). Done.

To have a different symbol when selected, fill the image with yellow colour and “Save as” with the same name but adding at the end “_sel”.

This action can be repeated to as many symbols we want to load. From now on, we only need to use the gvSIG symbol loader in order to have our new symbols library available in gvSIG.

Animals

Posted in english, gvSIG Desktop | 1 Comment

gvSIG 2.0: Gráficas I

Ya está disponible una nueva extensión de gvSIG 2.0 que nos permite trabajar con uno de los documentos más solicitados por la comunidad de usuarios: las gráficas. Las gráficas aumentan las posibilidades del usuarios de gvSIG de representar y analizar los datos, complementando la información proporcionada por los mapas.

Las gráficas tienen multitud de utilidades y, sin duda, son una forma sencilla y visual de comparar entidades, distribuciones, tendencias, etc.

Iniciamos con este post una nueva serie que permita conocer las posibilidades que gvSIG comienza a darnos para trabajar con gráficas.

Para instalar esta nueva funcionalidad seguiremos el procedimiento habitual, abrir el Administrador de complementos, seleccionar la opción de instalación desde URL, elegir el servidor http://downloads.gvsig.org/download/gvsig-desktop/ (en breve estará disponible también en los demás repositorios de gvSIG) y marcar para instalar el paquete Document: charts.

Una vez instalado, cuando reiniciemos nuestro gvSIG para ver reflejados los cambios, nos encontraremos con que disponemos de un nuevo tipo de documento.Gráficas_01

Para poder crear nuestra primera gráfica debemos tener alguna tabla disponible en nuestro proyecto de gvSIG, ya sea una tabla de atributos de una capa o una tabla al uso.

Vamos a hacer nuestra primera gráfica a partir de una tabla que contiene información de población de los países del mundo. Queremos hacer la gráfica sólo de los países de América del Sur, por lo que seleccionaremos estos antes de proceder a crearla.

Seleccionando el tipo de documento “Gráficas” y pulsando “Nuevo” ya tendremos el marco de trabajo de nuestra gráfica creada. Ahora simplemente nos falta indicar sus propiedades para poder visualizarla.Gráficas_02

Pulsamos el botón de añadir (botón representado con un “+”) y accedemos a la configuración del gráfico. Vemos que por defecto la extensión nos permite elegir entre 4 tipos de gráficos: de tarta, de XY, temporal o de barras.

En este caso vamos a hacer un gráfico de tarta.Gráficas_03

En la siguiente pestaña “Origen de datos” seleccionamos la tabla y los campos de datos que se utilizarán para el gráfico. En nuestro caso como Etiquetas utilizaremos el campo NAME (que contiene el nombre de los países) y para los valores numéricos el campo POP2005 (que tiene información de la población de estos países en 2005). Activamos la pestaña “Usar sólo campos seleccionados”.Gráficas_04

En la última pestaña vamos a poder definir el “Formato del gráfico” seleccionando propiedades como el color de fondo, contorno o tamaño.Gráficas_05

Todo listo, pulsamos “Aceptar” y ya veremos nuestro primer gráfico.Gráficas_06

Por cierto, un mismo documento puede estar compuesto de distintas gráficas, pero eso lo veremos en un siguiente post.

Por último os dejamos un par de vídeos que muestran la instalación de la extensión y los pasos seguidos para crear nuestro primer gráfico.

Nota: Si eres usuario de Windows, recuerda que para poder instalar cualquier extensión debes ejecutar gvSIG como administrador.

Posted in gvSIG Desktop, spanish | Tagged | Leave a comment