Today I gave a pretty general talk “Cartography and composition of interactive Maps“ at the WAURISA GIS 2014 conference in Tacoma. The talk is strongly based on Ian Muehlenhaus’s excellent book “Web Cartography. Map design for Interactive and Mobile devices” (2014). This years conference had a strong theme about communication which worked out really well and my presentation fit right in. The presentation slides are here.
For some time I had been wishing to create an interactive web map showing downloads of gvSIG CE over time. This could provide a nice opportunity to learn more about using the Leaflet JS viewer, and dynamically outputting results as GeoJSON, while at the same time providing more detailed insight into the download dynamics of the gvSIG CE project over time. The idea was to create a map that provides for custom styling and has query capability of the download statistics by country and time intervals.
The software downloads of gvSIG CE are hosted on Sourceforge. Sourceforge also supplies an API for retrieving download statistics for any of their hosted projects – see . The technical steps taken to create the new gvSIG CE download map are as follows: On a server that already had a complete software stack of OS GIS web mapping components installed I created a new PostGIS data base. A simplified Countries (of the world) GIS layer was imported and additional tables to hold the gvSIG download data and summaries created.
Next a way to load the gvSIG CE download statistics into the PostGIS was needed. This was implemented via a custom Python script that can retrieve the data from the Sourceforge API ( automated via a server cron job ) on a daily basis. To obtain all existing data for each day the script had to run separate API calls for each day from the initial start of downloads on August 30 2011 up to today. The Python script then creates a temporary SQL file on the server file system that includes the SQL insert commands for creating the download records in the PostGIS table. Executing the SQL commands in the SQL file in the data base a separate record will be created in that table including the number of downloads for each country and day. For example if on a specific day there where one or multiple downloads from 4 countries then there would be 4 new records added having the countries names, and respective number of downloads along with the download date. Next the web page for the web map was created using a Leaflet based GIS viewer (a Java Script library). The simple Country layer in GeoJSON format was added to Leaflet and some nice, third party base map tiles (in gray scale from www.toolserver.org/tiles/bw-mapnik/ ) added to the map view. In PostGIS the download data was then summarized and joined to the Country geometries in a data base view. The contents of this data base view where exported as GeoJSON and saved as a static java script file and included as a layer in the Leaflet map.
The map at this stage showed the (static) total number of downloads for each Country from the start of downloads to today, however this did not include any query capability. To implement query capability some additional steps are needed: in the GUI two data selection HTML fields for start and end date where added along with a query button. When a user clicks the query button a PHP on the server will be called with the query dates. The query logic is a moderately complex SQL query that summarizes the download data for the selected time period, joins the results to the Country PostGIS layer geometries and then outputs the results as GeoJSON dynamically. Consequently for each query those countries that have had no downloads for the queried time period will not appear in colors in the GeoJSON result layer. In essence the dynamic query replaces the static java script file with the country geometries and total download statistics we added initially.
The draft map that resulted from this work can be found at http://gvsigce.terragis.net. At first glance the most interesting thing is that the top three countries are Spain followed by China and Germany in number of total downloads.
The Web GIS workshop was organized in a cooperation between Sokoine University of Agriculture (SUA), Tanzania and the University of Hohenheim, Germany. Last week my friend and fellow Soil Scientist Dr. Ludger Herrmann and me met at SUA in Morogoro, Tanzania to jointly lead this 3 day workshop for the Trans-SEC project working on food security in eastern Africa. Ludger had been my boss during my first job from 1998-2000 at the University of Hohenheim, Department of Soil Science and Land Evaluation, but we had not worked together professionally since then.
The long name of Trans-SEC is Innovating Strategies to safeguard Food Security using Technology and Knowledge Transfer. Over the next 3 years I will work together with Ludger and our partners at SUA, a team of scientists lead by professor Siza Tumbo. My role will be to teach and support the team implementing a Web GIS platform (based on Open Source GIS software) for use in the Trans-Sec project and to publish an Atlas of Food security of Tanzania.
During this first workshop participants where introduced to MapServer, OpenLayers and PostGIS and we build some first temporary web maps together on a temporary web server. On the second last day of the workshop the server that was shipped from Hohenheim arrived in Morogoro by bus and was then installed on the last day of our stay at the computing center at SUA with help from the IT department. Ludger and I will return for two more web mapping workshops over the next two years to support the project and its mapping components.
Introduction to gvSIG CE and geo-processing with SEXTANTE
Terra GIS is offering a 4 hours introductory class/hands on workshop about gvSIG CE desktop GIS and Sextante at the WAURISA Conference in Tacoma on Monday May 7th, 2012, 1pm – 5pm.
gvSIG is a powerful desktop GIS system that is known for having a user-friendly interface, being able to access the most common data formats, both vector and raster ones. It features a wide range of tools for working with geographic information (query tools, layout creation, geo-processing, networks, model builder, etc.) and provides excellent cartography and spatial analysis tools, and a wide range of spatial database connectivity. gvSIG CE is the open and international version that has many extensions such Sextante (raster and vector analysis), Raster and Remote sensing, and Network analysis natively integrated.
Preparations and downloads for workshops participants:
Prior to the workshop please download and copy to your system the gvSIG CE software and the workshop data using the links below. Note that Java is needed to run gvSIG and Sextante and is included in the gvSIG CE download for Linux and Windows, but is a separate download for some Mac operating systems .
Update Monday May 7th:
Picture from the workshop at WAURISA:
More information: Please contact us via email or call 206 905 1711 if you have additional questions
After the geo-processing library Sextante was made available for gvSIG, gvSIG CE, and for ArcGIS, a plugin for QGIS was released by Victor Olaya in cooperation with the QGIS community. Now the Sextante toolbox truly has the potential to become the most comprehensive and widely used GIS geo-processing tool that runs on almost any software platform and in almost any GIS software 🙂 . Congratulations Victor and QGIS community !
For the plugin a rewrite of Sextante algorithms in python is being developed and will take some time to be completed. Currently the Sextante toolbox in QGIS provides access to Grass, Gdal, LASTtools, Sextante Modeler, OTB tools, R, SAGA, fTools and mmqgis. Lots more to come in the next months !
In today’s presentation at King County GIS Center User Group meeting (Seattle, WA, USA) I talked about two powerful free & Open source extensions for ArcGIS. Both of them were released in late 2011: SpatialKit for ArcMap and SEXTANTE for ArcGIS. These extensions offer functionality that is not available at the ArcView level to ArcGIS license owners. This talk will present the extensions and demonstrate many of their tools.
SpatialKit for ArcMap enables users to use PostGIS data directly in ArcGIS. This means that ArcGIS users can employ the power of the first-class, open source spatial database PostGIS in the same way they use proprietary databases to store, edit and retrieve spatial features via ArcSDE. SpatialKit for ArcMap does not require ArcSDE, ArcInfo, the new Spatial Data Server (SDS) technology, or ArcGIS server.
SEXTANTE is a spatial data analysis library written in Java. The SEXTANTE for ArcGIS extension makes it possible to use SEXTANTE (and SAGA GIS) tools directly in ArcGIS, including Model Builder. Together SEXTANTE and SAGA comprise hundreds of spatial analysis functions, including many that are otherwise available in ArcGIS only through proprietary extensions that require additional licenses, such as Spatial Analyst.
gvSIG CE was presented as a powerful Desktop GIS and at the same time a great alternative to use Sextante integrated with the Grass, and Saga GIS algorithms (Grass algorithms are not available for the ArcGIS extensions at the time of writing). In the near future a version of Sextante will be released that in addition integrates the use of R (Statistical package) algorithms from within Sextante.
presentation slides (PDF)
zip archive with the 2 extension software packages , documentation and all (45 MB)
Spatial Kit for ArcMap
SEXTANTE for ArcGIS
Terra GIS and Catholic Relief Services (CRS San Salvador office) joint forces for a three day long workshop to develop an interactive Web GIS for the GWI (Global water Initiative) Micuenca project (Integrated Watershed Management in Latin America).
Project Coordinator Paul Hicks (CRS) , Norma Minero (CRS) and Karsten Vennemann (Terra GIS) jointly lead a workshop with participants from each of the 4 countries in the Micuenca project: Nicaragua, El Salvador, Guatemala and Honduras. Two representatives for each of the countries attended the workshop. As a group we jointly defined and started building the functionality of the Micuenca GIS Viewer. Finally all where working in small groups to assemble and edit data for use in the Web GIS and data base.
This week Ruth Schönbucher from our Partner CSGIS (Munich / Immenstadt, Germany) joined the 3 day class Interoperable Web GIS Solutions with Free and Open Source Geospatial software as a class assistant.
The class was taught in Seattle at Office Nomads on Capitol Hill, October 3rd through October 5th, 2011. Ruth wanted to to renew her Open Source Web GIS skills (having written a MapServer book some years ago). We are sure that this will be the start for an intensive business partnership and GIS knowledge exchange between CSGIS and Terra GIS.
Terra GIS and the gvSIG Association signed an agreement of collaboration. The work of the Association and its collaborators aims at promoting the use of open source geospatial solutions and is not limited to gvSIG products. Terra GIS has the immediate goal to provide enhanced recources to open source gis users such as training and support services along with easy access to documentation and tutorials. The growing list of collaborators of the gvSIG association can be found here.
Terra GIS is offering a 2 day introductory class/hands on workshop in Seattle on Tuesday November 16th and Wednesday November 17th, 2010 at the King County GIS Center’s Seattle Computer Training Facility. gvSIG is a powerful desktop GIS system that is known for having a user-friendly interface, being able to access the most common formats, both vector and raster ones. It features a wide range of tools for working with geographic information (query tools, layout creation, geoprocessing, networks, model builder, etc.) and provides excellent cartography and spatial analysis tools, and a wide range of spatial database connectivity. More…