In my previous post I described how to export a vector layer from GRASS GIS as kml file. The key was to use the dsco parameter to define the columns that should be used for the Name and Description fields in your kml file.
In QGIS you use the ‘save as’ option in QGIS. You can get this using the context menu (right click mouse on the layer) or the menu ‘Layer | Save as..’. In the menu that opens, there are two fields under the header ‘OGR creation options'; ‘Data source’ and ‘Layer’. Continue reading
The v.out.ogr function in GRASS GIS let you export your vector layer to any format supported by OGR (it is basically an interface to the GDAL/OGR function ogr2ogr). This includes kml files. E.g.,
v.out.ogr input=labels layer=1 dsn=/home/paulo/test.kml format=KML
will export the vector layer ‘labels’ as the kml file test.kml Continue reading
One of the reasons I like GRASS GIS is that everything can be done at the command line. Of course there are other ways to do this, and one which I want to explore a bit more is the OGR library. GRASS GIS uses the OGR library under the hood, but using OGR directly offers additional flexibility. For example, using OGR allows you to work directly on shapefiles, without having to import them in the GRASS database first. Continue reading
See The grunts of the jaguar on Forestalis for a nice story by Jeroen van der Horst about his trip in Madidi National Park in Bolivia. I had no clue where to find this park so decided to look it up, and to share the result for those interested…
As it turns out, it is fairly easy it is to make your own map and share it through Google maps. First you need to create a kml layer with the park boundaries. This can easily be done in QGIS using the QGIS plugin OGR Layer converter. To enable this plugin, go to the menu ‘Plugins | Manage plugins’ and select ‘OGR Layer Converter’. Now you will find ‘OGR Converter’ in the drop down menu of Plugins. Next: Continue reading