Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

1 Answer

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

Your Answer

 
discard

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.