I want to fetch WMS layer as SVG image but it is loading very slow. How to resolve this issue?

Here is my code

var grid_10hact = new ol.layer.Image({
  title: '10 Hactare Grid',

    source: new ol.source.ImageWMS({


        params: {
            'LAYERS': 'soil_health:CG_STATE_GRIDE_10HA_WGS84',

            'VERSION': '1.1.1',
            'FORMAT': 'image/svg',

    opacity: 0.6
  • how big or complex is your layer? an image format will nearly always be faster – Ian Turton Apr 16 at 7:06
  • i have 3 shapefiles and each shapefile is 38mb. – sanju verma Apr 16 at 7:40
  • You my find a hint to solution here: gis.stackexchange.com/questions/55241/… – TomazicM Apr 16 at 8:58
  • I did not find any solution.geoserver and openlayer itself provide svg image facility but very slow rendering. – sanju verma Apr 16 at 10:39
  • Please Edit the question in response to requests for clarification. It's not fair to those who would answer to need to mine the comments for critical information. SVG is not an image format; if you measure the volume of data transferred, you might better understand why it takes a long time. – Vince Apr 16 at 10:58

Your Answer


Browse other questions tagged or ask your own question.