How to generate mbtiles in geoserver? using openlayers for displaying geoserver layer

for example calling wms layer like this

       new OpenLayers.Layer.WMS("Kanpur", "http://localhost:8080/geoserver/wms",
                LAYERS: 'sample_data_old:sample',
                STYLES: '',
                format: 'image/jpeg',
                tiled: false,
                transparent: true,
                tilesOrigin : map.maxExtent.left + ',' + map.maxExtent.bottom,
                isBaseLayer: true 

how can i call wps layer for creating mbtiles?

please refer this link for my question


  • You seem to be asking two different things. (a) how to create MBTiles which your link details, and (b) how to use them within Openlayers for displaying them. Why do you want to use OpenLayers to display the MBTiles? OpenLayers works best with PNG/JPEG/GIF, but you may want to see gis.stackexchange.com/questions/33906/… Commented Aug 13, 2015 at 8:38
  • From the Tour you will see that there should be only one question per question. Here you have two which makes your question too broad.
    – PolyGeo
    Commented Oct 9, 2015 at 5:07


Browse other questions tagged or ask your own question.