gvSIG 2.0: Crear Bibliotecas de Símbolos (IV)

Finalizamos con este post la serie iniciada para mostrar las nuevas posibilidades que presenta gvSIG 2.0 para crear nuestras propias bibliotecas de símbolos. Esperamos que hayan sido de utilidad, ya habréis visto como siguiendo unos sencillos pasos y ayudándose de otros programas libres como Inkscape o GIMP es muy sencillo incorporar masivamente símbolos de todo tipo a gvSIG y, además, compartirlos con el resto de usuarios.

Hasta ahora habíamos visto como generar una biblioteca de símbolos partiendo tanto de ficheros de imagen (svg, png,…) como de una fuente. Ahora vamos a plantear un nuevo caso: tenemos un PDF con símbolos que queremos incorporar en gvSIG. ¿Podemos hacerlo?

Vamos a mostrar un método para hacerlo mediante un ejemplo práctico. Para ello vamos a usar como origen de nuestros símbolos el PDF público del FGDC (Federal Geographic Data Commitee) denominado “Digital Cartographic Standard for Geologic Map Symbolization”. Vamos a imaginar que nos interesan los símbolos de fósiles recopilados en la página 109.Fos_01

El primer paso será abrir el PDF con Inkscape. Nos preguntará que página queremos abrir y le indicaremos la 109. Una vez abierta, cada símbolo es un elemento individual, que podemos seleccionar, copiar y pegar en otro documento que guardaremos como SVG. ¿Fácil, verdad?

Repitiendo esto para cada símbolo tendremos nuestro conjunto de imágenes listas para importar en gvSIG.Fossils_gvSIG

Estos símbolos nos servirán de base para una nueva biblioteca de símbolos que estamos preparando y que compartiremos con el resto de usuarios en breve.

Posted in gvSIG Desktop, spanish | Tagged , | 1 Comment

gvSIG 2.0: Symbols Library “OCHA-Humanitarian”

In a previous post we commented the gradual increase in use of gvSIG in sphere of civil protection and emergency management. In the moment of publication of symbols library “Emergency”, we received information from two diferent sites about existence of a set of symbols that would be interesting to include in gvSIG.

It is the set of symbols created by the Office for the Coordination of Humanitarian Affairs (OCHA) with humanitarian goals aiming help workers and volunteers show and interpret information about emergencies and crisis quickly and easily.

When a disaster is on, it’s essential that all diferent humanitarian organisms and workers can get accurate information about needs of people affected and locations and resources available to help them. This set of symbols is, in a way, the standard of symbology of emergencies.

As said came to us information in two different ways, one of them an organism of civil protection which told us that had to pay to include these symbols in a corporative GIS which name I don’t want to say and, by the way, we talked how it would be important and useful these symbols were in gvSIG. As said.

We generated the library, including the symbols with white window and color window, generating several subfolders, first by usual colors (white, blue, green and purple) and second by thematics. In final, we improved what this organism had to pay to have this set of icons available in a private GIS, and seems that (also in this cases) money is over everything.

OCHA_01

Hundred of symbols that thanks to these new tools gvSIG 2.0 brings, we included in a few minutes in our gvSIG.

We completed the library, as usual, with many line and polygonal symbols that can be useful to show seriousness of an specific phenomenon add inspirated in different maps created by humanitarian organisms.

OCHA2

This package is available in add-ons manager (selecting URL http://downloads.gvsig.org/download/gvsig-desktop/ and searching for “Types/symbols”) or directly downloading the package here.

We hope that this new library be useful and, surely, it don’t need to be used many times.

Posted in english, gvSIG Desktop | Leave a comment

Names of icons, menus and actions on gvSIG 2.0 (I)

One of the goals we set in the development phase of the 2.0 version of gvSIG was to improve usability. This is a field in which there is always room for improvement and that involves making changes on many fronts. One of those fronts are the issues regarding menus and icons where two objectives were set: to relocate the menu entries and icons, and provide to gvSIG the ability to exchange its set of icons. Currently we have achieved the first of these goals and we are very close to getting the second one.

We started with this post, a series dedicated to describe the work done in this field.

The key to exchange sets of icons is the standardizing of their names. While there are some naming rules for generic application icons, we found no specific for GIS icons. In this situation we decided to do the following:

  1. Choose a standard naming rule.
  2. Define names for the needed GIS icons based on the criteria used in the chosen standard.
  3. Attempt to register new names in the standard.

After analyzing several alternatives we decided to start working with freedesktop.org as a reference, as it is a standard used among other free software projects, by KDE and GNOME.

Since we had to rename all the icons of gvSIG, one of the first tasks to be done was to identify all the icons used by the application at that time. With the help of Mario Fèvre (TReCC), active project partner and member of the working group of usability, we did an initial list of icons, distinguishing those belonging to the toolbar (which were, in fact, our goal) from other icons. After detecting that this list had some icons that were not actually used (from older versions) it was decided that the final list was necessary made by a gvSIG developer.

Once a reliable list of the icons used in gvSIG 2.0 got ready, the next step was to establish a criteria for naming them. At this point we realized that before standardize the names of the icons we had to standardize the names of the actions to which they refer. In most cases the name of the icon and the action are the same, but in some other cases the same icon can be associated to different actions (for example, the “copy” icon does not the same if we are in a gvSIG view that if we are on a map, the actions are different but the icon is the same).

On the other hand, based on recommendations from freedesktop.org, we deduced that the names of the icons are closely related to the arrangement of the menu entries as these are organized by levels of specificity. Thus, the name of an icon – better said its action – would correspond to the concatenation of the different levels of a given input menu. Just taking a look at the names already registered in freedesktop.org, it is easy to see that the names of the icons match, in most cases, with the concatenation of the menu entries.

We finally decided that the next task to perform would be to define all menu entries and only then, define the actions and the names of the icons. In order to finish the standardization work, it would also be advisable to define each tooltip of the application (tooltips are descriptive labels that appear when the mouse pointer is held over an icon).

The position of the menu entries, therefore, was another key work. To set the new position of them, we rely on a complete analysis for the reorganization of menus that was done time ago by the project ‘s usability group. This group includes both gvSIG team members and external partners. This analysis is also based on standards and style guides widely used.

Thanks to this work, gvSIG 2.0 has its menu entries and icons placed in a more logical and natural (and therefore more intuitive) place, as well as standard icon names. We hope that, in future versions of gvSIG, the icons could also be exchanged.

But all this work would be useless if we do not ensure that future developments follow the naming rule set. To achieve that goal we have also defined a procedure that will be the issue of upcoming posts to this blog.

Posted in development, english, gvSIG Desktop | 1 Comment

gvSIG 2.0: Mapas temáticos (II)

En este nuevo post de la serie “Mapas temáticos” veremos como generar un paquete para compartir un mapa temático con otros usuarios.

En el post anterior habíamos generado nuestro primer mapa temático, que se habrá guardado por defecto en: home/usuario/gvSIG/plugins/org.gvsig.educa.thematicmap.app.viewer/thematicMaps

De este modo en cualquier proyecto gvSIG puedo abrir un “Mapa temático” ya creado. Basta con pulsar “Nuevo” sobre el documento “Mapa Temático” desde el “Gestor de proyecto”. Esto nos abrirá una ventana con un listado de todos los mapas temáticos que tenemos disponibles. Esto nos sirve para acceder a los mapas temáticos desde cualquier proyecto propio de gvSIG, pero no para compartir los mapas temáticos con otros usuarios. Para compartir el mapa temático debemos generar un paquete.

En primer lugar debemos saber que al generar un paquete de mapa temático vamos a obtener un fichero instalable desde el administrador de complementos de cualquier gvSIG 2.0. ¿Qué contiene este paquete? Contiene la cartografía (los ficheros), contiene las leyendas, contiene el etiquetado, contiene las escalas máximas y mínimas de visualización de cada capa, contiene el color de fondo,…contiene en definitiva todo el mapa temático listo para distribuir.

El proceso es tan sencillo como seleccionar la opción en el menú correspondiente: Mapa Temático/Generar paquete distribuible Mapa Tematico_Paquete01

Se nos abrirá una ventana donde simplemente debemos indicar el directorio donde guardar el paquete (el nombre lo generará automáticamente). En nuestro caso ha generado un paquete con el nombre: ThematicMap-World_Countries-1-BN1.gvspkg

Listo para enviar.

Por si queréis probarlo, este paquete y alguno más están disponibles en el apartado del outreach que tiene como objetivo ser un catálogo de mapas interesantes para los usuarios de esta extensión de gvSIG y de gvSIG Educa: http://outreach.gvsig.org/maps

Por cierto, si queréis contribuir a alimentar este apartado, no tenéis más que seguir las instrucciones: http://outreach.gvsig.org/contribute

Si eres el receptor de un paquete de Mapa temático y te interesa el proceso inverso: convertir el Mapa temático en una Vista (para poder cambiar su leyenda, editarlo…) simplemente debemos seleccionar la opción del menú: Mapa temático/Exportar a vista.

Nos pedirá un directorio donde guardar los ficheros (importante: debe estar vacío) y automáticamente nos creará la Vista equivalente a ese mapa temático.

Eso ha sido todo por hoy…En el siguiente post de esta serie veremos como generar un paquete de un conjunto de paquetes, es decir, como compartir conjuntos de mapas temáticos en un sólo fichero.

Posted in gvSIG Desktop, spanish | Tagged , , | 2 Comments

gvSIG 2.0: “Crime” symbols library

Some weeks ago we published a symbols library oriented to emergency management, both at a urban level and a natural disaster level. As a complement and in order to ease the representation of symbols for those gvSIG users who are related with criminology and delictual analysis, we have created a new symbols library. Crime01Crime_02

In this case we created the line and fill symbols manually and for the marker symbols we used the text font called “CMS. The Crime Mapping Symbology”.

These public domain symbols were designed for the US Justice Department specifically for meeting the needs of the police department about symbology, although due to its thematics, it can be also used for other departments as fire fighters. CMS includes itself two symbol sets called “Computer Aided Dispatch (CAD)” and “Records Management System (RMS)”.

We generated the different selection symbols with GIMP. In this case, as there were some yellow symbols, we decided that the selection symbols were in grayscale. Doing Image/Mode/Grayscale we converted the original symbols to grayscale ones, adding “_sel” to the file name in order that gvSIG can use it automatically.

These symbols are designed to be used at a size of 32 pixels, although we still can view them correctly if we make them smaller. Crime03This 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 , | Leave a comment

gvSIG 2.0: Biblioteca de símbolos “OCHA-Humanitarian”

Comentabamos en un anterior post el uso cada vez más frecuente de gvSIG en el ámbito de la protección civil y la gestión de emergencias. A raíz de la publicación de la Biblioteca de símbolos “Emergency”, recibimos información por dos sitios distintos sobre la existencia de un juego de símbolos que sería muy interesante incorporar en gvSIG.

Se trata del conjunto de símbolos creado por la Oficina de Naciones Unidas para Coordinación de Asuntos Humanitarios (OCHA) para fines humanitarios, con el objetivo de ayudar a los trabajadores y voluntarios a presentar e interpretar la información sobre las emergencias y las crisis de forma rápida y sencilla.

Cuando ocurre un desastre, es vital que todos los diferentes organismos humanitarios y los trabajadores pueden obtener información precisa sobre las necesidades de las personas afectadas y las localizaciones y recursos disponibles para ayudarlos. Este conjunto de símbolos es, en cierto modo, el estándar de la simbología de emergencias.

Como comentaba nos llegó la información por dos vías distintas, una de ellas, un organismo de protección civil que nos comentaba que había tenido que pagar para poder incorporar esos símbolos en un SIG privativo de cuyo nombre no quiero acordarme. Y, por supuesto, comentamos lo importante y útil que sería disponer de estos símbolos en gvSIG. Dicho y hecho.

Hemos generado la biblioteca, incluyendo los símbolos con marco blanco y marco de color, y generando varias subcarpetas, primero por los colores utilizados habitualmente (blanco, azul, verde y rojo) y segundo por la temática. En definitiva, hemos mejorado lo que ese organismo tuvo que pagar por tener este conjunto de iconos disponibles en un SIG privativo, donde parece que (también en estos casos) el dinero está por encima de todo.

OCHA_01Son cientos de símbolos que gracias a las nuevas herramientas que trae gvSIG 2.0, hemos incorporado en unos pocos minutos en nuestro gvSIG.

Hemos complementado la biblioteca, como es habitual, con una serie de símbolos lineales y poligonales que pueden ser de utilidad para representar la gravedad de un determinado fenómeno e inspirados en distintos mapas realizados por organizaciones humanitarias.

OCHA2OCHA_03Este paquete lo tenéis disponible desde el administrador de complementos (seleccionando la URL http://downloads.gvsig.org/download/gvsig-desktop/ y buscando por “Tipos/symbols”) o directamente descargándoos el paquete desde aquí.

Esperamos que esta nueva biblioteca sea de utilidad y que, realmente, no sea necesario utilizarla en muchas ocasiones.

 

 

Posted in gvSIG Desktop, spanish | Tagged , | 2 Comments

gvSIG 2.0: Thematic Maps II

At this new post of the “Thematic maps” series we will see how to generate a package for sharing a thematic map with other users.

In the previous post we had generated our first thematic map, that will have been saved by default in home/usuario/gvSIG/plugins/org.gvsig.educa.thematicmap.app.viewer/thematicMaps.

At this way, in any gvSIG project we can see a “Thematic map” that has been created already. We only have to press “New” on the “Thematic Map” document from the “Project Manager”. This will open a window with a list of all the thematic maps available. It will allow us to access to the thematic maps from any gvSIG project, but not for sharing the thematic maps wirh other users. To share the thematic map we will have to generate a package.

Firstly we must know that when a thematic map package is generated we are going to get an install file from the add-ons manager of any gvSIG 2.0. What does this package contain? It contains the cartography (the files), the legends, the labelling, the maximum and minimum scale of viewing of each layer, the background colour…, it contains the complete thematic map ready to be shared.

The process is as easy as selecting the option in the corresponding menu: Thematic Map/Generate package.

thematic2_en

A window will be opened, where we will have to indicate the folder where the package will be saved (the name will be created automatically). In our case, it has generated a package called ThematicMap-World_Countries-1-BN1.gvspkg.

Ready to be sent.

If you want to test it, this package and some other ones are available at the outreach website, in a section the objective of which is to be a catalogue with maps that are interesting for the users of this gvSIG extension and gvSIG Educa: http://outreach.gvsig.org/maps

By the way, if you want to contribute to feed this section, you only have to follow these instructions: http://outreach.gvsig.org/contribute

If you are the recipient of a Thematic map package and you are interested in the inverse process, converting the Thematic Map in a View (for changing its legend, edit it…) you only have to select the menu option: Thematic Map/Export to View

It will ask us for a file where the files will be saved (important: it must be empty), and it automatically will create the view equivalent to that thematic map.

That’s all for today… At the next post of this series we will see how to generate a package from a group of packages, that means, how to share groups of thematic maps in an only file.

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

Nombres de iconos, menus y acciones en gvSIG 2.0 III: convenios de nombrado.

En el articulo anterior, “Nombres de iconos, menus y acciones en gvSIG 2.0 II: aplicándolo en gvSIG.“, hemos visto como definir una acción y como usarla en menús y botones en la aplicación. Le hemos dado nombre a la acción, a su icono, hemos elegido un “action-command” y le hemos dado una posición. Ahora bien, a la hora de elegir estas cosas no lo he hecho de forma aleatoria, he seguido algunas pequeñas reglas que deberíamos seguir a la hora de hacerlo. Lo primero que tendríamos que pensar es que toda acción debe tener una entrada en los menús principales de gvSIG. Nunca debería haber una acción en un botón o menú contextual que no este representada en los menús. En nuestro ejemplo, hemos situado la acción en la entrada de menú:

  • Tools
    • Symbology
      • Import point symbols

La regla general para nombrar una acción seria la ruta completa en los menús, en inglés, separando las entradas de menús por ““, reemplazando espacios por “” y eliminando otros símbolos de puntuación que puedan haber. Así el nombre de la acción sera “tools-symbology-import-point-symbols“. Podría suceder que el nombre la acción entrase en conflicto con otra acción, por ejemplo, la entrada de menú:

  • Selection
    • Select all

Se usaría para seleccionar todas las filas de una tabla, o todos los elementos del mapa o las geometrías de la capa activa en la vista. Tendríamos tres acciones distintas, y lo que haríamos seria añadir un sufijo al final del nombre de la acción indicando sobre que objeto se aplica la acción. Así tendríamos:

  • selection-select-all-table
  • selection-select-all-layout
  • selection-select-all-layer

Siguiendo estas pequeñas consideraciones nombraremos a nuestra acción, y una vez tengamos el nombre de nuestra acción, pasaremos a nombrar el resto de elementos de la acción.

Deberemos elegir ahora el nombre usado para el “action-command“. Como regla general, usaremos el mismo nombre de la acción.

Lo siguiente que tendremos que seleccionar seria el nombre del icono. Seguiremos tres pequeñas reglas:

  • Si la acción esta contemplada entre las acciones recogidas por el proyecto Tango Desktop Project, de freedesktop.org se usara el nombre de icono que esta propone.
  • Si no se ha añadido a la acción un sufijo, se usara el nombre de la acción.
  • Si se ha añadido un sufijo a la acción, se usara el nombre de la acción eliminando el sufijo.

Por ultimo, deberemos asignar una posición a nuestra acción. En la versión 2 de gvSIG se ha establecido el siguiente convenio para establecer las posición de la acción:

AAABBBCCCD

Donde:

  • AAA, representa al menú de primer nivel dentro del menú de gvSIG. Se han establecido los siguientes valores:
    • 10 para el menú Archivo
    • 20 para el menú Edición
    • 30 para el menú Selección
    • 40 para el menú Mostrar
    • 50 para el menú Tabla
    • 60 para el menú Capa
    • 65 para el menú Vista
    • 70 para el menú Mapa
    • 90 para el menú Herramientas
    • 96 para el menú Ventana
    • 99 para el menú Ayuda
  • BBB, tres dígitos rellenos a ceros por la izquierda representando la posición dentro del menú AAA. En el caso en que no proceda indicaríamos “000”.
  • CCC, en caso de que la entrada en BBB sea un submenú, esta indica la posición dentro de este submenú. También va relleno a ceros por la izquierda, y en el caso de que no proceda indicaremos “000”.
  • D, en caso de que la entrada en CCC sea un submenú, esta indica la posición dentro de este submenú. En el caso de que no proceda indicaremos “0”.

Con estos valores compondríamos el valor de la posición, que sera usada para situar una acción respecto a otras siempre que se vayan a presentar al usuario.

En el caso del ejemplo la posición indicada es “900400200”:

  • 90, menú “Tools
    • 040, submenu “Symbology
      • 020, posición dentro del menú symbology de la entrada “Import point symbols
        • 0, no procedería así que se deja un cero.

En gvSIG se han incluido una serie de herramientas que nos permiten ver la lista de acciones o las entradas de menús que están instaladas en un momento dado. Podemos ir a la opción de menú:

  • Tools
    • Devel
      • Show menú information

Para obtener un listado de las entradas de menú, en donde podemos ver su posición para hacernos una idea de donde debemos colocar la nuestra y que numero de posición tendríamos que asignarle.

En el mismo menú Devel, tenemos una opción “Show action information” que nos mostrara un listado de todas las acciones registradas en la aplicación ordenadas por plugin que las aporta.

Se puede obtener un listado de las acciones y entradas de menús de la aplicacion accediendo a el menu “Herremientas->development->Show actions information”

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

gvSIG 2.0: Japanese Symbol library

A really interesting aspect of the maps, and by extension of GIS, is the territory’s representation that humans beings do. The symbols used not only varies depending on the subject, but has also been modified over the time and in a particular moment differs depending on geographical or cultural aspects. A wide variety of symbologies, all of them with a common goal: representing what we see on a map.

For this reason and considering gvSIG expansion by the most diverse geographies of the planet, we created a new symbol library that we hope will be useful for Japanese gvSIG users.

This new library as usual, can be installed from the “Add-On Manager” of gvSIG 2.0.

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 this library, so that it will be usefull as a new example for users to create their own.

For point symbols (markers) we have used the series “Japanese Map Symbols” available from Wikimedia by the Geographical Survey Institute with a public domain license.Japanese_01

The following data source, also available from Wikimedia, is related to weather symbols used on Japanese maps, and provided by the Japan Meteorological Agency. Japanese_02In order to install the point symbols we used a specific symbol importer creating a new Symbol Library (called Japanese) comprising two subfolders (called Map and Weather).

Complementing the point symbols and also symbols used by Google Maps, we have also created both linear and brush symbols: Japanese_04Japanese_03

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

You have this package 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 it from here.

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

gvSIG 2.0: Biblioteca de símbolos “Crime”

Hace unas semanas publicábamos una biblioteca de símbolos orientada a la de gestión de emergencias, tanto a nivel urbano como de catástrofes naturales. De forma complementaría a esta y con el objetivo de facilitar la representación a los usuarios relacionados con el uso de gvSIG en criminología y análisis delictual, hemos generado una nueva biblioteca de símbolos.Crime01Crime_02 En este caso los símbolos de líneas y de relleno los hemos creado manualmente, utilizando para los símbolos puntuales como fuente la denominada “CMS.The Crime Mapping Symbology”.

Estos símbolos de dominio público fueron diseñados por el Departamento de Justicia de los Estados Unidos específicamente para cubrir las necesidades de simbología de los departamentos de policia, aunque por su temática también puede ser utilizados por otros cuerpos como bomberos. CMS engloba a su vez dos conjuntos de símbolos, denominados “Computer Aided Dispatch (CAD)” y “Records Management System (RMS)”.

Mediante GIMP hemos generado los distintos símbolos de selección. En este caso, al haber símbolos con tonalidades de amarillo, hemos decidido que los símbolos de selección se representen en escala de grises. Con Imagen/Modo/Escala de grises hemos convertido los símbolos a escala de grises, añadiendo “_sel” al nombre del fichero para que gvSIG lo interprete automáticamente.Crime03Estos símbolos están diseñados para utilizarse con un tamaño de 32 píxeles, aunque reduciendolo a tamaños inferiores también se visualizan correctamente.

Como es habitual, esta nueva biblioteca de símbolos está disponible desde el “Administrador de complementosde gvSIG 2(seleccionando la URL http://downloads.gvsig.org/download/gvsig-desktop/  y buscando por “Tipos/symbols) o directamente descargándoos el paquete desde aquí.

Posted in gvSIG Desktop, spanish | Tagged | 2 Comments