Take the 2-minute tour ×

I have a collection of SVG vector images I need to display on a map, probably using OpenLayers/KML. Is there any way to convert a vector image from SVG to KML? Or would it make more sense just to use PNG? I would prefer to use vectors because the images will be rotated and need to scale properly when zooming.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

As SVG is a vector format (image is made on the fly by client software), you can check GDAL/Ogr utility ogr2ogr, I guess it can convert svg to kml.

share|improve this answer
Actually, it can't. –  tubewurm Feb 3 '12 at 7:02
It is because svg driver is not compiled by default, if you want convert data from svg to kml you need to compile ogr2ogr with svg support. And currently, driver will only read SVG files that are the output from Cloudmade Vector Stream Server. –  drnextgis Feb 6 '12 at 9:07

Your Answer


