Simple SVG Qgis Plugin

SimpleSvg is a plugin which tries to save current QGIS map(canvas) as SVG. It's called SimpleSVG ONLY because it can handle simple styling and renderers. So mainly useful to move geodata (with some simple styling) to Inkscape.

Other then the normal SaveAsSVG in the composer, this plugin tries to keep the GIS-grouping intact: layers in Qgis will be layers in Inkscape, symbol classes will be groups. Objects will have ids with the layername in it, so the id's kan be used of a search in the xml-view of Inkscape.

The plugin uses the screen coordinates (pixel values) to set the svg coordinates. Before version 0.8 the plugin picked only the features that were at least touching the current map view. Since 0.8 there is a checkbox, which UNchecked will make the plugin just fetch ALL vector objects from all layers. This means that for example you can load all countries of the world, zoom in to the netherlands (aka set a sort of 'resolution' for the coordinates) and then let the generate svg (at that scale) for all data in the data set. Be carefull though: fetching ALL data from big dataset can give other problems.

The plugin wil also work with layers which have 'on the fly' projection enabled.

For lines and polygons it tries to save both pen and symbol style, most classifications are working.
For Points it can only save a point as a small colored circle.

Please sent further ideas and requests to richard@duif.net

A view of the Netherlands in qgis with a point, polygon and line vector layer, and a raster on the bottom:

Download the svg generated with the plugin: svgtest.svg

This svg loaded in Inkscape:

The plugin is available via the official contributed qgis repositories (as experimental plugin!) or you can download latest plugin in zip here

TODO's and idea's

Versions

Resources and inspiration

Cartoweb
Mappetizer

Tips, comments, questions: richard at-sign duif.net (Richard Duivenvoorde)