Send offline map to device from Central

1. What is the general goal of the feature?
A simple way of remotely distributing offline maps.

At present I need to supervise this if I am using more than one device and this is even harder if the device is elsewhere - getting non-tech-savvy enumerators to download a (potentially large) file to the right place on their device is challenging! Back in the days when there was an ODK folder this wasn't too hard, but navigating through Android/data/files etc.... is not so easy when doing it remotely 'blind' by phone!

My intuitive sense is that if ODK Collect can download and process external datasets and images into the media folder from Central, can it also transfer a file to the 'layers' folder? This could be either for a given project or the 'common' Layers folder, based on a parameter in Central?

If, for example, an mbtiles file is uploaded to Central within the 'media' for a form, could ODK Collect move files of that type to the layers folder when it checks to update the form(s)?

I know that this has some risks of people using stupidly large mbtiles files, but I'm interested in the functionality. Maybe a 'download over wifi only' option could be included to stop fools like me abusing other people's devices.

2. What are some example use cases for this feature?

A base map for a given area with specific data (e.g. habitat, project boundary) or required / suggested locations for data collection.

Ability to share licensed base maps or orthorectified imagery more easily within a team or project (within the confines of the licenses of course!)

Ability to use different base maps within a team without needing to talk people down from the ledge of 'I don't know where to put this file'

Used in combination with the select_one from a map functionality this becomes an even more useful tool...

3. What can you contribute to making this feature a reality?

Just the usual dumb contributions of 'why doesn't this work like I want it to?' :slight_smile:

I did discover that you can share mbtiles files by Bluetooth if you first change the filetype from .mbtiles to .doc, send the fiile, then on the new device change it back to .mbtiles! Really useful in the field if one device plays up or another team member hasn't prepared properly for their fieldwork (just saying!). But of course you need to be in Bluetooth range...


Just thinking about this from the users' perspective (As I'm in the process of loading maps on to a device).

Would it be possible [for an administrator / manager] to upload maps to Central e.g. in an additional tab marked 'layers'. And then [the enumerator or manager could] use Collect to download maps that are on the Central server in a similar way to 'get blank forms'.

This would (mostly) utilise existing processes rather than a whole new set.

And it could potentially have the 'match the server exactly' setting to download all the maps related to a project or form... Still needs some care when considering bandwidth.

Hi @seewhy !

I remember we discussed about it in the past : Button to select an offline map file on the phone and move it at the right place

We should imagine the "same" possibility for choices csv or json datasets : no need to get and compute the whole regional 100m square grid to show an select_one map on a small site. But these are not as simple as images...