Tag Archives: vegetation map

MapTiler to create online maps II

In an earlier post I wrote how I created a mash-up map with MapTiler. There is an option in MapTiler to set transparency for a color, but this didn’t work for me at the time. I therefore created a small script to convert the background color to transparent and to process all PNG tiles generated by MapTiler using the PNGNQ utility.

I am working on a new online map and this time setting the background color to transparent in MapTiler works like a charm Continue reading

MapTiler to create online maps

For a project a few years ago we created a vegetation map for central and southwest Kenya (see here for more information). The map together with documentation was initially made available on CD-ROM. I also created an online map. Apart from the version mentioned in this post, I also created a version with MapTiler.

MapTiler requires a georeferences image file as input. To export the vegetation map from my GRASS GIS database to a georeferenced image, I used the r.out.tiff function.

r.out.tiff -t input=veg_ethiopia_pnv@vegetation output=vegethiopia.tif

The resulting file can be used in MapTiler to create map mashups for Google Earth, Google Maps or OpenLayer. MapTiler offers a wizard like interface which leads you step by step through the process. Continue reading

A vegetation map in OpenLayers

For a project a few years ago we created a vegetation map for central and southwest Kenya (see here for more information). The map together with documentation was made available on CD-ROM. However, we wanted to publish the map online too. The original maps were in svg format, and turned out to be too slow for online publishing. Moreover, they could not be combined easily with other maps.

A widely used and open source option for online publishing of maps is OpenLayers. This is a JavaScript library for displaying and building rich web-based geographic applications, similar to what is offered by e.g., Google Maps and MSN Virtual Earth. An important difference though is that OpenLayers is open source software. It furthermore is easy to create dynamic maps on your website with your own data and with direct access to many different maps, including Google, Yahoo, Bing, OpenStreetMap and other datalayers.

As a pilot I have created an OpenLayer map with the vegetation map. Continue reading