Layer data file - Background MBTiles

Try configuring your Collect android app as follows and you should be able to view the MBTILES File as layers while collecting data with Collect android app.

Step 1: Copying MBTILES File to your device.

Copy your desired MBTILES File to SDcard/Android/data/org.koboc.collect.android/files/layers if you are using KoBoCollect android app or to SDcard/Android/data/org.odk.collect.android/files/layers if you are using ODK Collect android app depending upon the Collect android app you are using. Note: you could also change the the SDcard to Internal storage depending upon the storage your device uses.

Step 2: Configuring the settings in Collect android app.

  • Open Collect android app
  • Select General Settings
  • Select Maps
  • Change Source to Mapbox and then also change Layer data file from None to the recently added file that you should see something like /sdcard/Android/data/org.koboc.collect.android/files/layers/xxxxx.mbtiles if you are using KoBoCollect android app or to /sdcard/Android/data/org.odk.collect.android/files/layers/xxxxx.mbtiles if you are using ODK Collect android app. Note: xxxxx.mbtiles is the file that you copied to your device.

Doing so, you should be able to use the layer file while collecting gps data.

1 Like