OSGeo Planet

Petr Pridal: OpenMapTiles gives you freedom of SDKs

OSGeo Planet - Wed, 2018-05-09 11:00

The possibility to select your favorite mobile map SDK, JavaScript library for your web and server for raster tiles increase your freedom of choice with the OpenMapTiles project. Three new map styles from one of the leaders in map industry, CARTO, demonstrates this power of diversity while using OpenMapTiles.

Open-source stack, usable on multiple SDKs

Whenever you work on a map, you need to define how each geographical feature will look like. This definition is described using a styling language and it says, for example, that rivers should be rendered starting zoom level 10, with blue color and it should be 8px bold line.

The styling languages differ in the syntax used for defining the final look and in the implementation by various software tools (mobile SDKs, raster servers, web APIs).

These are the most popular styling languages today:

GL JSON, which is the main styling language of OpenMapTiles, is based on JSON file format defined originally by Mapbox and adopted by ESRI and others - and it supports Mapbox mobile SDKs, ArcGIS Pro and OpenMapTiles Server or TileServer GL raster server.

Tangram YAML uses the markup style popular in Python programming language and can be used with Tangram SDK and Tangram Paparazzi.

CartoCSS is similar to CSS used to style websites and is implemented with tools using Mapnik map renderer (the primary OpenStreetMap.org toolkit for rendering raster map tiles) and is also usable with the Carto mobile SDK. There is no native vector tile viewer for web implementing CartoCSS directly.

OGC SLD standard based on XML. This language is hard to write directly by humans, so it is typically created by converting from other styling languages or using a visual editor - such as desktop GIS tools like QGIS.

All of these styling languages are compatible with the OpenMapTiles.

JavaScript for web applications

For displaying map data in a web browser as slippy maps, different JavaScript libraries can be used. They provide APIs for building geographic web application similar to Google Maps or Bing Maps but allow you to load the map data from your own server or provider of choice.

OpenLayers supports vector as well as raster tiles and is most advanced in handling coordinate systems and map projections.

Mapbox GL JS is another web mapping library. Supports both raster tiles and vector format used by OpenMapTiles.

Leaflet is the lightweight and simple JavaScript library, which can be used either for viewing raster tiles or vector tiles through mapbox-gl-leaflet or VectorGrid plugin.

Tangram is another rendering client for web applications which supports OpenMapTiles vector tile schema.

To inspect different JavaScript libraries next to each other, see the comparison. All of them are ready for HiDPI retina displays.

Multiple mobile map SDKs

For bringing your map into a mobile device you need an SDK, which is a kit allowing the development of applications for the mobile operating system. With OpenMapTiles, you have a choice of several SDK for different platforms.

GL JSON is closely tied to Mapbox mobile SDKs, which support both Android and iOS and in addition the Unity game engine.

Tangram YAML is connected to Tangram SDK, which allows you to create mobile apps for iOS and Android.

CartoCSS can be best used in Carto mobile SDK, which has in-built support for Android, iOS and Windows Phone platforms.

Raster tiles on the server side

The freedom of choice is also kept on the server side with a variety of servers rendering raster as well as vector tiles.

OpenMapTiles Server or TileServer GL provides both raster and vector tiles from a GL style.

Mapnik library is the toolkit used for rendering maps on the main OpenStreetMap site.

Tangram Paparazzi has its roots in Tangram-ES but serves raster tiles.

Desktop GIS

Users of desktop GIS software are not left behind. The compatibility with ESRI’s ArcGIS Runtime SDK compatibility is achieved for OpenMapTiles. 

Opening raster tiles in QGIS is straightforward and there is also a plugin for loading vector tiles under development.

Voyager, Positron and Dark Matter styles for OpenMapTiles © CARTO Voyager, Positron and Dark Matter styles for OpenMapTiles © CARTO

New styles: Voyager, Positron and Dark Matter

With the release of three new map styles, CARTO shows the commitment to the OpenMapTiles project. The styles are available for web and mobile, both raster and vector. The styles are based on OpenMapTiles data schema, use the project’s vector tiles and are implemented in three different styling languages while keeping the same look and feel across the different software tools.

  1. Voyager - colored map with clear road hierarchy
  2. Positron - light gray map for further displaying of data
  3. Dark Matter - dark gray map for displaying data of bigger size

The code is fully open-source and can be found on GitHub.

You can see our implementation of these styles with several others beautiful styles such as Streets and Topo in MapTiler Cloud hosting.

Categories: OSGeo Planet

Petr Pridal: OpenMapTiles gives you freedom of SDKs

OSGeo Planet - Wed, 2018-05-09 11:00

The possibility to select your favorite mobile map SDK, JavaScript library for your web and server for raster tiles increase your freedom of choice with the OpenMapTiles project. Three new map styles from one of the leaders in map industry, CARTO, demonstrates this power of diversity while using OpenMapTiles.

Open-source stack, usable on multiple SDKs

Whenever you work on a map, you need to define how each geographical feature will look like. This definition is described using a styling language and it says, for example, that rivers should be rendered starting zoom level 10, with blue color and it should be 8px bold line.

The styling languages differ in the syntax used for defining the final look and in the implementation by various software tools (mobile SDKs, raster servers, web APIs).

These are the most popular styling languages today:

GL JSON, which is the main styling language of OpenMapTiles, is based on JSON file format defined originally by Mapbox and adopted by ESRI and others - and it supports Mapbox mobile SDKs, ArcGIS Pro and OpenMapTiles Server or TileServer GL raster server.

Tangram YAML uses the markup style popular in Python programming language and can be used with Tangram SDK and Tangram Paparazzi.

CartoCSS is similar to CSS used to style websites and is implemented with tools using Mapnik map renderer (the primary OpenStreetMap.org toolkit for rendering raster map tiles) and is also usable with the Carto mobile SDK. There is no native vector tile viewer for web implementing CartoCSS directly.

OGC SLD standard based on XML. This language is hard to write directly by humans, so it is typically created by converting from other styling languages or using a visual editor - such as desktop GIS tools like QGIS.

All of these styling languages are compatible with the OpenMapTiles.

JavaScript for web applications

For displaying map data in a web browser as slippy maps, different JavaScript libraries can be used. They provide APIs for building geographic web application similar to Google Maps or Bing Maps but allow you to load the map data from your own server or provider of choice.

OpenLayers supports vector as well as raster tiles and is most advanced in handling coordinate systems and map projections.

Mapbox GL JS is another web mapping library. Supports both raster tiles and vector format used by OpenMapTiles.

Leaflet is the lightweight and simple JavaScript library, which can be used either for viewing raster tiles or vector tiles through mapbox-gl-leaflet or VectorGrid plugin.

Tangram is another rendering client for web applications which supports OpenMapTiles vector tile schema.

To inspect different JavaScript libraries next to each other, see the comparison. All of them are ready for HiDPI retina displays.

Multiple mobile map SDKs

For bringing your map into a mobile device you need an SDK, which is a kit allowing the development of applications for the mobile operating system. With OpenMapTiles, you have a choice of several SDK for different platforms.

GL JSON is closely tied to Mapbox mobile SDKs, which support both Android and iOS and in addition the Unity game engine.

Tangram YAML is connected to Tangram SDK, which allows you to create mobile apps for iOS and Android.

CartoCSS can be best used in Carto mobile SDK, which has in-built support for Android, iOS and Windows Phone platforms.

Raster tiles on the server side

The freedom of choice is also kept on the server side with a variety of servers rendering raster as well as vector tiles.

OpenMapTiles Server or TileServer GL provides both raster and vector tiles from a GL style.

Mapnik library is the toolkit used for rendering maps on the main OpenStreetMap site.

Tangram Paparazzi has its roots in Tangram-ES but serves raster tiles.

Desktop GIS

Users of desktop GIS software are not left behind. The compatibility with ESRI’s ArcGIS Runtime SDK compatibility is achieved for OpenMapTiles. 

Opening raster tiles in QGIS is straightforward and there is also a plugin for loading vector tiles under development.

Voyager, Positron and Dark Matter styles for OpenMapTiles © CARTO Voyager, Positron and Dark Matter styles for OpenMapTiles © CARTO

New styles: Voyager, Positron and Dark Matter

With the release of three new map styles, CARTO shows the commitment to the OpenMapTiles project. The styles are available for web and mobile, both raster and vector. The styles are based on OpenMapTiles data schema, use the project’s vector tiles and are implemented in three different styling languages while keeping the same look and feel across the different software tools.

  1. Voyager - colored map with clear road hierarchy
  2. Positron - light gray map for further displaying of data
  3. Dark Matter - dark gray map for displaying data of bigger size

The code is fully open-source and can be found on GitHub.

You can see our implementation of these styles with several others beautiful styles such as Streets and Topo in MapTiler Cloud hosting.

Categories: OSGeo Planet

QGIS Blog: Reports from the winning grant proposals 2017

OSGeo Planet - Tue, 2018-05-08 19:45

While we are waiting for this year’s grant proposals to come in, it is time to look back at last year’s winning proposals and their results. These are the reports on the work that has been done within the individual projects:

QGIS 3D – Martin Dobias

Results are included in the QGIS 3.0 release. As proposed in the grant, a new 3D map view has been added together with GUI for easy configuration of 3D rendering. The 3D view displays terrain (either from a DEM raster layer or a simple flat area) with 2D map rendered on top of the terrain. In addition to that, vector layers can be rendered as true 3D entities: points may be visualized as simple geometric shapes or as 3D models (loaded from a file), polygons and linestrings are tessellated into 3D geometries. 2D polygons can be turned into 3D objects using extrusion, possibly with data-defined height – an easy way how to display buildings, for example. Data with 3D coordinates have the Z values in geometries respected. Although the 3D view is still in its early stages, it is already usable for many use cases. Hopefully this functionality will help to attract even more users to QGIS!

More details: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/105

Improvements to relations – Régis Haubourg

Various improvements for deep relations with PostgreSQL were successfully added in QGIS 3.0:

Add consistency to UI controls – Nyall Dawson

We’ve unified all the various opacity, rotation and scale controls to use the same terminology and numeric scales. We’ve also updated ALL methods for setting opacity, rotation and scale within the PyQGIS API to use consistent naming and arguments, making the API more predictable and easy to use. Lastly, we’ve also added a new reusable opacity widget (QgsOpacityWidget) to the GUI library so that future code can (and 3rd party scripts and plugins) can follow the new UI conventions for opacity handling.

Extend unit test coverage for geometry classes – Nyall Dawson

We’ve extended the unit testing coverage for all the underlying geometry primitive classes (points, lines, polygons, curves, collections, etc) so that all these classes have as close to 100% unit test coverage as possible. In the process, we identified and fixed dozens of bugs in the geometry library, and naturally added additional unit tests to avoid regressions in future releases. As a result QGIS’ core geometry engine is much more stable. Furthermore, we utilised the additional test coverage to allow us to safely refactor some of the slower geometry operations, meaning that many geometry heavy operations will perform much faster in QGIS 3.0.

Processing algorithm documentation – Matteo Ghetta & Alexander Bruy

The new Help system is landed and already available: when opening a Processing algorithm and clicking on the Help button, the guide of the algorithm will be showed in the default browser.

Many of the QGIS Processing algorithm guides have been enhanced with pictures and new or enhanced descriptions. A consistency number of Pull Requests have been already merged and many others are in review. Just a few descriptions need to be still enhanced.

Currently all the QGIS algorithms have been described and all the PR in the doc repository have been merged (kudos to Harrissou for all the reviews!).

Right now the Help button of each Processing dialog will open the related page of the algorithm, BUT:

  • if the name of the algorithm is made by only ONE word (e.g. clip, intersection…), the help button will open the browser to also the correct section (that is, the user will see directly the description of the related algorithm)
  • if the name of the algorithm has >1 words (e.g. split polygon with lines, lines to polygon, ecc.) the Help button will open the correct page (so the algorithm GROUP) but is not able to go to the correct algorithm anchor. This is because sphinx converts “split with lines” in “split-with-lines” while QGIS system will always cast the words “split-with-lines” in “splitwithlines”. Not a big deal, but IMHO a pity.
    We are really too close to the solution.

So Processing Help system right now consists of:

  • QGIS algs -> documented
  • GDAL algs -> documented
  • GRASS -> documented (own docs)
  • Orfeo -> documented (own docs)
  • SAGA -> nothing documented

Thanks to QGIS Grants to provide this chance to give a big improvement to the Processing framework even if not in a coding way!

Last but not least, we had another project that was not part of the grant programme but was also funded by QGIS.ORG in 2017:

Python API documentation – Denis Rouzaud

QGIS Python API Documentation is created using Sphinx and this work is available on Github. The repo is a fork of QGIS’ one and has been merged in the meantime. The docs are available at qgis.org/pyqgis. It uses a new theme (sphinx_rtd_theme aka ReadTheDocs theme). Some improvements were brought in (not exhaustive):

  • QGIS theming with colors and icon
  • Foldable toctree
  • Summary of methods and attributes for classes
  • Module index (not available before)
  • Correct display of overloaded methods

Full Python signature in Docstring

In former SIP versions, it was not possible to use the auto generated signature if a Docstring already existed. This means any documented method could not have a signature created. Unfortunately for this project, the vast majority of methods in QGIS API are documented!

The source code of SIP was modified and theses changes got merged upstream. See rev 1788 to 1793 in SIP changelog. It will be released in upcoming 4.19.7 version. QGIS source code was modified accordingly to prepend auto generated Python signatures to existing Docstrings. Using a CMake configuration file for each module (core.sip.in, gui.sip.in, etc.) was required to avoid syntax errors when using former version of SIP (since bumping minimum version is not realistic).

Sipify adjustments

Many things were fixed in sipify script :

  • Creation of links to classes, methods
  • Handling/fixing of Doxygen annotations \see, \note, \param
  • Handling of code snippets: c++ vs Python. Only Python are shown.

Thank you to everyone who participated and made this round of grants a great success and thank you to all our sponsor and donors who make this initiative possible!

Anita

Categories: OSGeo Planet

gvSIG Team: gvSIG Desktop plugin to create forms for field data gathering with gvSIG Mobile

OSGeo Planet - Tue, 2018-05-08 08:48

The gvSIG Desktop plugin to create forms for field data gathering with gvSIG Mobile in an easy way is now available.

Through this plugin we can create custom forms for censuses, surveys, inventories, inspections …, with the different type of fields that we want (drop-down, multi-selection, date, true-false …).

The main advantage of working with these forms is that we can create different sections, which cover different topics, and each of them with their customized forms.

We can also send the file containing these forms to the different teams that do the field work so that everyone works with the same types of data.

In order to use this new extension it is necessary to install it previously in gvSIG Desktop, and if we want to import the field data in gvSIG Desktop then we must also install the extension that allows us to do it.

In the following video we can see how to install both extensions, how to create the forms, how to take the field data with them and how to load this data in gvSIG Desktop later for analyze them:

More information about how to work with gvSIG Mobile at this post.

Categories: OSGeo Planet

gvSIG Team: Extensión que permite crear formularios fácilmente para toma de datos en campo en gvSIG Mobile

OSGeo Planet - Tue, 2018-05-08 08:34

Ya está disponible la extensión para gvSIG Desktop que permite crear formularios para toma de datos en campo en gvSIG Mobile de una forma sencilla.

Mediante esta extensión podemos crear formularios personalizados para censos, encuestas, inventarios, inspecciones…, con los campos que deseemos de diferentes tipos (desplegables, multiselección, fecha, verdadero-falso…).

La principal ventaja de trabajar con estos formularios es que podemos crear diferentes secciones, que abarquen temáticas diferentes, y cada una de ellas con sus formularios personalizados.

Además podemos enviar el fichero que contiene dichos formularios a los distintos equipos que hagan el trabajo de campo para que todos trabajen con los mismos tipos de datos.

Para poder utilizar esta nueva extensión es necesario instalarla previamente en gvSIG Desktop, y si deseamos importar los datos de campo en gvSIG Desktop después también deberemos instalar la extensión que nos permite hacerlo.

En el siguiente vídeo podéis ver cómo instalar ambas extensiones, cómo crear los formularios, cómo tomar los datos en campo con ellos y como cargar dichos datos en gvSIG Desktop después para su posterior análisis:

Más información sobre cómo trabajar con gvSIG Mobile en este post.

Categories: OSGeo Planet

gvSIG Team: Free course about crime mapping. GIS for criminology

OSGeo Planet - Mon, 2018-05-07 12:58

gvSIG Crime is the solution offered by the gvSIG Association to organize, analyze and maintain information related to security and crime. A platform adapted to the needs of each organization and territory, that includes several components, an important web part that establishes the necessary computer infrastructure to organize, share and access spatial information, with all types of spatio-temporal analysis tools, support for field tasks, …, and components that are more oriented to advanced analysis such as the desktop Geographic Information System (GIS).

It is precisely in this last part where this crime analysis course is focused, which is intended as an introduction to the use of gvSIG Desktop, an open source GIS software, as fundamental software to optimize the analysis of criminal information.

The course does not intend to make an exhaustive tour of all the gvSIG Desktop tools, and it’s focused on carrying out through practical exercises an invitation to explore the potential of its use in criminology.

The objectives of the course are:

    • Gain a better understanding of geospatial technology applied to crime mapping.
    • Perform queries based on attribute and location information to get accurate information.
    • Use crime databases to produce customized datasets and density maps, or for hot-spot analysis and other geoprocesses.
    • Learning basic programming concepts (scripting) to develop new analysis tools.
    • Gain a better understanding of Geostatistics applications for crime analysis.

The course starts with basic modules, in which the student can access the spatial information and the complexity will increase, showing the most advanced possibilities of using gvSIG Desktop in the last modules, through the development of scripts in Python and R.

Here we present the links to the different modules of the course:

  1. Introduction to gvSIG Desktop: interface, add-ons manager and preferences
  2. Working with Views and Data
  3. Navigation and selection tools
  4. Creating layers
  5. Data visualization and geoprocessing
  6. Creating symbol libraries
  7. Population calculator
  8. Rossmo Algorithm
  9. Geoprocessing: Mean and median center
  10. Study of events by quadrant
  11. Analysis of events by blocks
  12. Kernel density
  13. Space-time analysis: 4D
  14. Use of Street View from gvSIG
  15. New scripting tools for data analysis
  16. Visualization of crime data with R in gvSIG

The material necessary to follow the course and do the exercises shown in each module is:

  • gvSIG Desktop, that you can download in portable or installable versions and for Windows, Linux and Mac from here.
  • Data. Data downloaded from the open data portal of the city of New York have been used. You can download them from here.
  • Development. For the final modules about Python and R you have the scripts available in the following package. You must install it from the gvSIG Desktop Add-ons Manager.

Finally here you have a series of links to complementary material that will allow you to improve your gvSIG Desktop training:

We hope that you like this initiative and that this course will serve to extend the use of gvSIG in the security sector.

Categories: OSGeo Planet

gvSIG Team: Curso gratuito de Mapeo del delito. SIG en criminología.

OSGeo Planet - Mon, 2018-05-07 11:12

gvSIG Crime es la solución que ofrece la Asociación gvSIG para organizar, analizar y mantener la información relacionada con la seguridad y la delincuencia. Una plataforma adaptada a las necesidades de cada organización y territorio, y que incluye diversos componentes, una importante parte web que establece la infraestructura informática necesaria para organizar, compartir y acceder a la información espacial, con todo tipo de herramientas de análisis espacio-temporal, soporte para tareas de campo, …, y componentes más orientados al análisis avanzado como el Sistema de Información Geográfica (SIG) de escritorio.

Es precisamente en esta última parte en la que se centra este curso de análisis del delito que pretende servir de introducción al uso de gvSIG Desktop, un SIG en software libre y gratuito, como software fundamental para optimizar el análisis de información delictual.

El curso no pretende hacer un recorrido exhaustivo por todas las herramientas de gvSIG Desktop y se centra en realizar mediante ejercicios prácticos una invitación a explorar el potencial de su uso en criminología.

Los objetivos del curso son:

  • Obtener una mejor comprensión de la tecnología geoespacial aplicada a la mapeo del crimen
  • Realizar consultas basadas los atributos de la información y su localización para obtener información precisa
  • Utilizar bases de datos de delitos para generar conjuntos de datos personalizados, mapas de densidad, análisis de puntos calientes (hot-spots) y ejecutar geoprocesos
  • Aprender conceptos básicos de programación (scripting) para poder desarrollar nuevas herramientas de análisis.
  • Introducirse en la aplicación de la Geoestadística para el análisis del crimen.

El curso comienza con módulos básicos, en los que el alumno aprenderá a visualizar información espacial e irá aumentando en complejidad, llegando a mostrar en los últimos módulos las posibilidades más avanzadas de utilización de gvSIG Desktop, mediante el desarrollo de scripts en Python y R.

A continuación os presentamos los enlaces a los distintos módulos que componen el curso:

  1. Introducción a gvSIG Desktop
  2. Trabajar con datos y Vistas
  3. Selección y Navegación
  4. Crear nuevas capas
  5. Visualización de datos y Geoprocesamiento
  6. Crear nueva simbología
  7. Calculador de población
  8. Algoritmo de Rossmo
  9. Centro medio y mediano
  10. Análisis por retícula
  11. Análisis del crimen por bloques (cuadras / manzanas)
  12. Kernel density
  13. 4D. Análisis espacio-temporal
  14. Uso de Street View desde gvSIG
  15. Nuevas herramientas de Scripting para análisis de datos
  16. Visualización de datos de crimen con R

El material necesario para realizar el curso y replicar los ejercicios mostrados en cada módulo es:

  • gvSIG Desktop, que podéis descargar en sus distintas versiones portable o instalable y para Windows, Linux y Mac de aquí.
  • Datos. Se han utilizado datos descargados del portal de datos abiertos de la ciudad de Nueva York. Podéis descargarlos de aquí.
  • Desarrollo. Para los módulos finales de Python y R tenéis los scripts utilizados disponibles en el siguiente paquete. Deberéis instalarlo desde el Administrador de Complementos de gvSIG Desktop.

Por último os dejamos con una serie de enlaces a material complementario al curso que os pueden venir bien para mejorar vuestro aprendizaje de gvSIG Desktop:

  • Manual de gvSIG Desktop.
  • Curso de SIG aplicado a gestión municipal (contiene un buen número de vídeo-tutoriales que recorren gran parte de las herramientas disponibles en gvSIG Desktop…por lo que podéis consultar aquel que os interese de forma especifica).
  • Lista de usuarios. Donde podéis lanzar consultas sobre el uso de gvSIG Desktop a la Comunidad gvSIG.
  • Grupo de Facebook. Hemos creado un nuevo grupo de Facebook orientado a los alumnos del curso y personas interesadas en el uso de los SIG en criminología.
  • Información sobre gvSIG Crime.
  • Para soporte profesional, contactar con la Asociación gvSIG: info@gvsig.com

Esperamos que os guste esta iniciativa y que este curso sirva para extender el uso de gvSIG en el sector de la seguridad.

Categories: OSGeo Planet

Narcélio de Sá: QGIS: Simbologias para uso da terra.

OSGeo Planet - Mon, 2018-05-07 09:21

Qual simbologia eu devo usar em um mapa de uso da terra? Nós temos a solução definitiva.

Para resolver essa questão, e facilitar a vida de pesquisadores de todo o Brasil o IBGE, lançou a terceira edição do Manual Técnico de Uso da Terra . O manual técnico oferece uma perspectiva sintonizada com as questões contemporâneas. Esta nova edição situa os estudos de uso da terra no contexto evolutivo do pensamento geográfico, contempla uma reflexão sobre os conceitos mais atuais que envolvem o tema, em especial sobre aqueles que tratam da sua posição no contexto da globalização da economia, dos problemas ambientais e da questão da equidade, e apresenta o Sistema de Classificação de Uso da Terra para mapeamentos em nível exploratório

Manual Técnico de Uso da TerraManual Técnico de Uso da Terra

O manual nos apresenta uma tabela com as cores, nos sistemas PANTONE, CMYK e RGB, que deve ser utilizadas no mapeamento da cobertura e do uso da terra de todo o Brasil, levando em consideração o Sistema de Classificação de Uso da Terra – SCUT . Para facilitar o uso dessa simbologia para mapeamento eu tomei a liberdade de criar um arquivo .xml com os dados dos estilo de cores retirados da tabela das Classes da cobertura e do uso da terra Níveis I e II.

Esse arquivo, que pode ser facilmente importado para o QGIS, carrega as informações de todas as classes suas respectivas simbologias agregando os símbolos ao biblioteca do software.

Faça o download das simbologias para mapas de classes de cobertura e do uso da terra.

A instalação de uma nova simbologia no QGIS é bem simples, basta seguir os seguintes passos:

  1. Faça o Download do arquivo: “sistema_de_classificacao_de_uso_ da_terra_ibge.xml”
  2. Feito o download do arquivo, abra o QGIS e abra a aba Configurações > Gerenciador de Estilos > procure o botão Compartilhar > Importar
  3. Navegue até a pasta onde se encontra o arquivo sistema_de_classificacao_de_uso_ da_terra_ibge.xml que você baixou.
  4. Feito isso você verá todas as novas simbologias que serão adicionadas a biblioteca do QGIS. Clique na opção selecionar tudo e depois em importar.

Pronto agora você tem todas as classes da cobertura e do uso da terra e suas respectivas simbologias no seu QGIS, agora é só começar a mapear. Aproveite e instale também as simbologias para mapeamento pedológico.

Fonte: Publicações Manual Técnico de Uso da Terra

The post QGIS: Simbologias para uso da terra. appeared first on Narcélio de Sá.

Categories: OSGeo Planet

gvSIG Team: Map of the most dangerous cities in the world

OSGeo Planet - Sat, 2018-05-05 11:23

As many of you know, in the gvSIG Association we have an open source software solution for the analysis and management of information related to crime and citizen security, gvSIG Crime. One of the technologies used in gvSIG Crime is gvSIG Online, that allows to generate geoportals, as simple or complex as we need, among many other things.

Precisely with gvSIG Online we have created a simple map viewer that allows us to visualize the 50 most dangerous cities in the world based on the homicide rate in the last year (2017).

To access the map click here

Without a doubt, it is striking that 47 cities of these 50 cities are located in America, and 42 in Latin America.

The information presented is drawn from the last report of the Citizen Council for Public Safety and Criminal Justice (CCSPJP – Consejo Ciudadano para la Seguridad Pública y la Justicia Penal), a Mexican civil organization that generates the list of the 50 most dangerous cities in the world every year. For this report, which annually is an international reference, the CCSPJP uses a simple methodology, comparing the number of homicides per 100,000 inhabitants. They include only those cities that exceed 300,000 inhabitants and compute only intentional homicides or deaths due to aggression. The areas where there is a war conflict are excluded.

The data is extracted by combining several sources: journalistic information, official lists of governments and local authorities, reports from international organizations and NGOs.

Through this geoportal you can visualize the cities, request information about each of them on the number and annual homicide rate, consult the attribute table and search.

Here you have the video about the map and how the geoportal works:

Finally we take the opportunity to announce that we will publish a free course about gvSIG Desktop applied to criminology. Pay attention if you are interested in this issue…

Categories: OSGeo Planet

gvSIG Team: Crear nuevas rampas de color en gvSIG Online

OSGeo Planet - Fri, 2018-05-04 15:00

Como todos sabréis una imagen raster la podemos representar utilizando una ‘Tabla de color’. Esas tablas de color se generan a partir de rampas de color. En gvSIG Online disponemos de .una serie de rampas de color pero para ciertos casos nos puede interesar crear una nueva. No hay ningún problema, gvSIG Online nos permite hacerlo.

Os mostramos mediante un vídeo-tutorial cómo hacerlo. En el vídeo se siguen los siguientes pasos:

  1. Tenemos un geoportal con un ráster al que queremos aplicar una determinada simbología (Tabla de color). Imaginemos que ninguna rampa de color de las pre-existentes cumple con lo que queremos aplicar.
  2. Entramos en la parte de administración y vemos que en nuestro gvSIG Online hay distintas bibliotecas de símbolos que contienen una serie de rampas de color.
  3. Añadimos una nueva biblioteca de símbolos que contenga dos nuevas rampas de color. Para cada rampa indicamos los colores que la configuran.
  4. Por último aplicamos una Tabla de color a nuestra capa ráster, utilizando las nuevas rampas de color disponibles.

Como veis, gvSIG Online crece día a día en funcionalidad y se está convirtiendo en un referente a la hora de implantar Infraestructuras de Datos Espaciales.

Categories: OSGeo Planet

gvSIG Team: gvSIG aplicado a Medio Ambiente. Tema 6: Geoprocesos Raster.

OSGeo Planet - Wed, 2018-05-02 09:12

Ya tenéis disponible el Tema 6 del curso gratuito gvSIG aplicado a Medio Ambiente. Continuamos trabajando con información raster y subimos un peldaño más en la complejidad y las aplicaciones de gvSIG en el trabajo ambiental.

Tema 6

Aprenderemos a crear un Modelo Digital de Elevación a partir de curvas de nivel y realizaremos varios geoprocesos muy importantes y valiosos a partir de este MDE, como pueden ser análisis de visibilidad, análisis hidrológico, pendientes, orientación, etc.

Además, continuaremos aprendiendo a manejar imágenes de satélite creando Indices Normalizados de la Vegetación, como el NDVI, muy útil en nuestro trabajo.

http://www.geoalternativa.com/gvsig-training/course/view.php?id=3&section=8

Como siempre, si tenéis dudas, os animamos a escribir en la lista de usuari@s de gvSIG: http://osgeo-org.1560.x6.nabble.com/gvSIG-usuarios-f4118557.html

Categories: OSGeo Planet

EOX' blog: Sentinel-2 Product Density Maps

OSGeo Planet - Wed, 2018-05-02 09:00
Big things have small beginnings, working with Earth observation data is no exception. Providing, distributing, visualizing, interpreting, and much more are only a few activities connected to the topic. It takes numerous steps to create a comprehensible output out of […]
Categories: OSGeo Planet

gvSIG Team: El mapa de las ciudades más peligrosas del mundo

OSGeo Planet - Wed, 2018-05-02 07:01

Como muchos de vosotros sabréis en la Asociación gvSIG disponemos de una solución en software libre para el análisis y la gestión de información relacionada con el delito y la seguridad ciudadana, gvSIG Crime. Una de las tecnologías que se utiliza es gvSIG Online, que entre otras muchas cosas permite generar geoportales, tan sencillos o complejos como necesitemos.

Precisamente con gvSIG Online hemos creado un sencillo visor de mapas que permite visualizar las 50 ciudades más peligrosas del mundo en función de la tasa de homicidios del último año (2017).

Para acceder al mapa haz click aquí

Sin duda llama la atención que de las 50 ciudades 47 estén ubicadas en América y 42 en América Latina.

La información presentada está extraída del último informe del Consejo Ciudadano para la Seguridad Pública y Justicia Penal (CCSPJP), una organización civil mexicana que cada año elabora un listado con las 50 urbes más violentas del mundo. Para este informe, que anualmente es un referente internacional , el CCSPJP utiliza una metodología sencilla, comparando el número de homicidios por cada 100.000 habitantes. Incluyen únicamente aquellas ciudades que superan los 300.000 habitantes y computan solo los homicidios intencionales o muertes por agresión. Se excluyen las zonas donde hay un conflicto bélico.

Los datos se extraen combinando varias fuentes: informaciones periodísticas, listas oficiales de los gobiernos y autoridades locales, informes de organismos internacionales y ONG.

Mediante este geoportal podréis visualizar las ciudades, solicitar información de cada una de ellas sobre número y tasa anual de homicidios, consultar la tabla de atributos y hacer búsquedas.

Vídeo sobre el mapa y el funcionamiento del geoportal:

Por último aprovechamos para anunciar que en breve vamos a publicar un curso gratuito de gvSIG Desktop aplicado a criminología. Estad atentos si os interesa el tema…

Categories: OSGeo Planet

gvSIG Team: Acceso a grabación del webinar ‘Suite gvSIG: Herramientas al servicio del mundo’

OSGeo Planet - Wed, 2018-05-02 05:30

Ya está disponible la grabación del Webinar “Suite gvSIG: Herramientas al servicio del mundo” organizado por UNIGIS, para todos aquellos que no pudieron verla en directo. Para acceder al vídeo basta con hacer un breve registro.

Durante el seminario web se presentaron tanto las soluciones en software libre de la Suite gvSIG como una introducción al potencial de la geomática en el mercado actual. Además, al final del webinar se fueron contestando todas las dudas y opiniones vertidas por los asistentes.

Si os interesa el tema, no os lo perdáis: https://attendee.gotowebinar.com/recording/4654101169319587841

Categories: OSGeo Planet

GeoSolutions: One click away from GeoNode with Rancher and Docker

OSGeo Planet - Tue, 2018-05-01 17:19

GeoNode branding

Anyone who has had the chance to install GeoNode knows that setting it up means having to deal with a whole stack of software components. PostgreSQL/PostGIS, Geoserver, Celery, RabbitMQ, ElasticSearch are the key elements for a complete GeoNode setup that allows to exploit the complete set of functionalities offered by the platform.

GeoNode provides a setup procedure (based on Paver) that simplifies the process for testing and development purposes, but a production-ready deployment requires more steps to configure and integrate the individual components to offer a reliable and robust setup.

Docker, Rancher and GeoNode

The past years have seen the rise of DevOps technologies that help a lot in managing deployment operations, comprising CI/CD pipelines, and in configuring services to provide scalability, security and availability. Linux containers, and Docker in particular, has won the trust of developers, DevOps and sysadmins, providing widely adopted approaches for these tasks. A fast growing ecosystem of tools and platforms has been built on top of it, from Docker Compose to Rancher to offer streamlined operations and services for the building of cloud infrastructures and distributed services. GeoNode did not miss the DevOps  train, a set of Docker images has been defined along a Compose configuration to make it possible to deploy the whole GeoNode stack as a group of interlinked containers. The design of the GeoNode "dockerization" is still undergoing thanks to a joint effort from various subjects within the community, where GeoSolutions is actively participating to offer its contribution and experience.

To meet the needs of our current scenarios we have created a custom Docker and Rancher setup, specifically targeted at setting up multiple deployments of GeoNode as easy and quick as possible. The goal was having a one or two click away vanilla GeoNode setup, leveraging single or multiple hosts infrastructures while providing at the same time the ability to customize its look and feel without touching any line of code.

[caption id="attachment_3995" align="aligncenter" width="960"]GeoNode hosts with Rancher and Docker GeoNode instance with Rancher and Docker[/caption]

The result was the "GeoNode Generic" project template for Docker Compose template v.2 and Rancher 1.6 It can be loaded directly from Rancher UI defining a custom catalog pointing to the GitHub project's repository.

[caption id="attachment_3989" align="aligncenter" width="1024"]GeoNode Generic Rancher template GeoNode Generic Rancher template[/caption]   GeoNode Generic deployment with Rancher

This is a Django project partly based on the GeoNode project template, with a dedicated Docker and Rancher template files  from which new instances can be deployed and run with a minimal effort. Define the host environment, answer a few (mostly optional) questions et voilà, here you have a fresh new GeoNode instance, with backup services and monitoring already enabled and running.

[caption id="attachment_3992" align="aligncenter" width="1024"]Geonode Geneirc stack configuration Geonode Geneirc stack configuration[/caption]

The stack comprises five containers running the PostgreSQL/PostGIS DB, Geoserver, the GeoNode Django app, the Nginx HTTP Server exposing the public endpoints of GeoNode, and one container dedicated to persistent data storage (uploaded data, GeoNode's static files, etc.).

Cron schedules for backup and monitoring tasks (metrics collection) are run from the GeoNode Django app container, where uWSGI cron facilities are used for this purpose.

[caption id="attachment_3994" align="aligncenter" width="1024"]Running containers Running containers[/caption]

In this example only one container instance for each image is running. The number of GeoNode and Nginx instances can be increased and put behind Rancher's Load Balancing services to provide a basic HA. In the future Kubernetes orchestration, instead of Cattle, will be considered to take advantage of its powerful tools for rolling releases management and advanced HA and FailOver services.

UI Customization

Until a few days ago applying some branding to GeoNode could only be obtained with customizing its CSS and Django templates files. This still remains true if deep customization is needed but now you have the opportunity to define basic frontend styling thanks to the brand new (no pun intended) "themes" feature, developed by GeoSolutions and already available for the development version of GeoNode.

The "themes" configuration allows to define multiple themes offering:

  • custom logo
  • custom header background image
  • custom header title and message
  • custom color for header and background
  • contacts block in footer
  • copyright message in footer
A list of "partners" can also be defined with their own logos. If partners are defined a custom block in included before the footer, listing the logos which can link to the partner websites. [caption id="attachment_3997" align="aligncenter" width="1024"]Theme admin excerpt Theme admin excerpt[/caption]  

Combining GeoNode's deployment through Rancher templates and themes customization we obtained a fast workflow for our customers, permitting to create new instances for their infrastructures at the speed of a click.

[caption id="attachment_3998" align="aligncenter" width="700"]GeoNode branding GeoNode branding[/caption]

Last but not least, we would want to thank the GFDRR group at the World Bank as well as the GIS Department of the City of  Genova (Italy) which provided the funding for this work.

If you are interested in learning about how we can help you achieving your goals with open source products like GeoServerMapStoreGeoNode and GeoNetwork through our Enterprise Support Services and GeoServer Deployment Warranty offerings, feel free to contact us!

The GeoSolutions team,
Categories: OSGeo Planet

QGIS Blog: Preparing for the next LTR

OSGeo Planet - Tue, 2018-05-01 06:49

Dear QGIS users,

As you know, QGIS 3 has recently been published. This version introduced big changes in  the code structure that, in addition to the new functionalities already exposed, makes our code base more modern and easier to expand and improve on in the future.

As a normal by-product of such a huge overhaul, these changes also triggered a series of new issues, that you, our users are helping to discover and document. Our objective is to eliminate the most important of these issues in time for what will be our next Long Term Release (LTR) – version 3.4. This release is scheduled for October 2018. The resources available from QGIS.ORG funds are limited, and we have already invested in QGIS 3.0 far more than we have done for any previous version.

Now is a great time for users, and particularly for power users, larger institutions and enterprises, to invest in QGIS bugfixing. You have a number of different options: donating your developers’ time or hiring a developer directly to resolve the bugs that annoy you most, sponsoring our foundation, or donating to QGIS.ORG.

Our targets are:

  • 20k€ within 2018-05-18 (for 3.2)
  • 40k€ within 2018-09-14 (for 3.4)

If you would like to help, feel free to contact us (preferably through the qgis-users or qgis-developers mailing list, or directly to info@qgis.org) for further details!

signature_qgis_cert
Categories: OSGeo Planet

gvSIG Team: ETL in gvSIG Online, importing data in an SDI easily

OSGeo Planet - Mon, 2018-04-30 14:38

An ETL (Extract, Transform and Load) plugin has been developed in gvSIG Online, that allows to define a transformation process to import data like CSV files and Excel spreadsheet as layers available in a Spatial Data Infrastructure. In this way, gvSIG Online has tools that allow organizations that have it implemented to reformat and clean source data and load them in the spatial database of the SDI.

When a concrete information is generated in a usual way in formats such as those indicated (csv, xlsx), this functionality greatly makes data loading easy, without requiring users to use other applications to perform the transformation.

We are going to show a video with a demonstration about how it works. The steps for that are:

  1. We have to upload a Microsoft Excel spreadsheet (xlsx) to gvSIG Online.
  2. We create an empty layer with a series of fields.
  3. We define the transformation to be applied. That is, it indicates how to fill in that empty layer with the data contained in the spreadsheet.
  4. We check that the transformation was successful in a geoportal.

Categories: OSGeo Planet

gvSIG Team: ETL en gvSIG Online, pasar datos fácilmente a la IDE

OSGeo Planet - Mon, 2018-04-30 14:23

En gvSIG Online se ha desarrollado un plugin ETL (Extract, Transform and Load) que permite definir un proceso de transformación para pasar datos como archivos CSV y hojas de cálculo Excel a capas disponibles en la Infraestructura de Datos Espaciales. De este modo gvSIG Online cuenta con herramientas que permiten a la organización que lo tiene implantado el reformatear y limpiar los datos de origen y cargarlos en la base de datos espacial de la IDE.

Cuando cierta información se genera de forma habitual en formatos como los indicados (csv, xlsx) esta funcionalidad facilita enormemente la carga de datos, sin requerir por parte de los usuarios el uso de otras aplicaciones para realizar la transformación.

Vamos a ver en un vídeo una demostración de cómo funciona. Los pasos que se realizan en esta demostración son:

  1. Subimos a gvSIG Online una hoja de cálculo de Microsoft Excel (xlsx).
  2. Creamos una capa vacía con una serie de campos.
  3. Definimos la transformación a aplicar. Es decir, indicamos como rellenar esa capa vacía con los datos que contiene la hoja de cálculo.
  4. Comprobamos en un geoportal que la transformación se ha realizado correctamente.

Categories: OSGeo Planet

Petr Pridal: OpenMapTiles 3.8

OSGeo Planet - Mon, 2018-04-30 11:00

The new release of open-source project OpenMapTiles 3.8, which offers world maps based on OpenStreetMap, brings evolutionary steps rather than revolution. However, a significant number of small-scale changes in the transport layer, water, and other features improves the map look significantly.

Transportation layer

Navigating through multi-level stack interchange could be challenging. Having a map representing all the layers is very helpful at that moment. Therefore, we imported the so-called z-index into OpenMapTiles 3.8 and made a map style which transparently navigates you visually through all roads even in the complicated crossings called spaghetti junction. The downside of this solution is the size which rises about four times compared to the same style without multilevel crossing. It increases computing requirements for saving into a database, downloading, parsing and rendering and therefore it is not switched on in the base styles. What stays turned on by default is another new attribute: bridge polygon.

Turn-by-turn navigation is easier with 83 000 imported one-way roads and flexibility to use different types of transportation has been extended by adding tube entrances and other stations.

OpenMapTiles Spaghetti Junction The intersection which was first nicknamed as Spaghetti Junction: Gravelly Hill Interchange in Birmingham, England.

Water features

The water layer was enriched by layered features as well. With the new OpenMapTiles release, water bridges and functioning aqueducts are presented in the data as well as in the styles. The same is true for underground watercourses, where streams flowing in culverts or caves are now rendered as a dashed line, which is a common representation of this kind of features.

In the previous versions, there were missing labels for some bigger water features, namely seas. Since version 3.8, there should be a label for the Caribbean Sea, Mediterranean Sea, Caspian Sea, Sea of Japan, Celtic Sea and the Chukchi Sea. Also, bigger bays like Bay of Biscay or Gulf of California are now displayed.

OpenMapTiles culvert

There is a culvert under the famous Nieuwmarkt square in Amsterdam, the Netherlands.

Other changes

One of the significant features which made it to OpenMapTiles 3.8 is sand and beach in the landcover layer. It is also possible to distinguish religions in the places of worship. Some people were confused by borders around leased territories and therefore it is now switched off by default in the styles. This is the case of the Guantanamo Bay Naval Base or Baikonur Cosmodrome, where the second one is leased to Russian government until 2050, but it is located in the heart of neighboring Kazakhstan. The leased area has an oval shape measuring 85 and 90 kilometers in diameter.

From Wikipedia: The spaceport is currently leased by the Kazakh Government to Russia until 2050, and is managed jointly by the Roscosmos State Corporation and the Russian Aerospace Forces.

List of all changes can be found as usual on GitHub altogether with the source code. You can visually go through all changes on MapTiler Cloud hosting or download the data and styles from OpenMapTiles.com.

Baikonur Cosmodrome Baikonur Cosmodrome leased to Russia until 2050, is located in the heart of Kazakhstan.

Categories: OSGeo Planet

Petr Pridal: OpenMapTiles 3.8

OSGeo Planet - Mon, 2018-04-30 11:00

The new release of open-source project OpenMapTiles 3.8, which offers world maps based on OpenStreetMap, brings evolutionary steps rather than revolution. However, a significant number of small-scale changes in the transport layer, water, and other features improves the map look significantly.

Transportation layer

Navigating through multi-level stack interchange could be challenging. Having a map representing all the layers is very helpful at that moment. Therefore, we imported the so-called z-index into OpenMapTiles 3.8 and made a map style which transparently navigates you visually through all roads even in the complicated crossings called spaghetti junction. The downside of this solution is the size which rises about four times compared to the same style without multilevel crossing. It increases computing requirements for saving into a database, downloading, parsing and rendering and therefore it is not switched on in the base styles. What stays turned on by default is another new attribute: bridge polygon.

Turn-by-turn navigation is easier with 83 000 imported one-way roads and flexibility to use different types of transportation has been extended by adding tube entrances and other stations.

OpenMapTiles Spaghetti Junction The intersection which was first nicknamed as Spaghetti Junction: Gravelly Hill Interchange in Birmingham, England.

Water features

The water layer was enriched by layered features as well. With the new OpenMapTiles release, water bridges and functioning aqueducts are presented in the data as well as in the styles. The same is true for underground watercourses, where streams flowing in culverts or caves are now rendered as a dashed line, which is a common representation of this kind of features.

In the previous versions, there were missing labels for some bigger water features, namely seas. Since version 3.8, there should be a label for the Caribbean Sea, Mediterranean Sea, Caspian Sea, Sea of Japan, Celtic Sea and the Chukchi Sea. Also, bigger bays like Bay of Biscay or Gulf of California are now displayed.

OpenMapTiles culvert

There is a culvert under the famous Nieuwmarkt square in Amsterdam, the Netherlands.

Other changes

One of the significant features which made it to OpenMapTiles 3.8 is sand and beach in the landcover layer. It is also possible to distinguish religions in the places of worship. Some people were confused by borders around leased territories and therefore it is now switched off by default in the styles. This is the case of the Guantanamo Bay Naval Base or Baikonur Cosmodrome, where the second one is leased to Russian government until 2050, but it is located in the heart of neighboring Kazakhstan. The leased area has an oval shape measuring 85 and 90 kilometers in diameter.

From Wikipedia: The spaceport is currently leased by the Kazakh Government to Russia until 2050, and is managed jointly by the Roscosmos State Corporation and the Russian Aerospace Forces.

List of all changes can be found as usual on GitHub altogether with the source code. You can visually go through all changes on MapTiler Cloud hosting or download the data and styles from OpenMapTiles.com.

Baikonur Cosmodrome Baikonur Cosmodrome leased to Russia until 2050, is located in the heart of Kazakhstan.

Categories: OSGeo Planet
Syndicate content