I would like to use RasterLite data in a Cordova-based App but don't know the right tools to achieve this.

The [Geopaparazzi Project] uses SpatiaLite files generated with the rasterlite2 library to display a background map.

From what I understand this raster data storage technology is less performant in comparison to MBTiles since they do not contain prerendered tiles for every zoom level (in a mapping library like OpenLayers) but instead use (physical or virtual) pyramids to render data for smaller zoom level which makes it storage efficient. Bigger mosaics can be tiled for smaller zoomlevels and still be utilized in a mobile app.

The Geopaparazzi app mentioned above is Android-based. I would now like to use RasterLite data a in webbased, mobile (hybrid) app to display a basemap for a larger area. While plugins for OpenLayers or Leaflet exist for MBTiles, there seems to be no plugin for RasterLite.

How can this be done sing existing components like Chris Brody's cordova-sqlite-ext or the JavaScript port of SpatiaLite?

  • Rasterlite is a deprecated project, use rasterlite2 instead. – user30184 Feb 3 '17 at 18:29
  • Sorry for not making it clear: I meant rasterlite2. I edited the question. My question remains. – geoM Feb 6 '17 at 7:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.