[GIS] How to prepare SVG images for presentation in OpenLayers

kmlopenlayers-2svgvector

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.

Best Answer

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.

Related Question