Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.