Visualise multple geotraces / geoshapes on-the-fly and edit associated record

1. What is the general goal of the feature?
To be able to edit existing records that have geotrace data by selecting them on a map. Currently it is possible to visualise existing geopoints (e.g. Visualize on the fly in the mobile phone the data collected with ODK on a map) as long as they are not in repeat groups. It would be great to do the same with geotraces and geoshapes.
2. What are some example use cases for this feature?
When collecting 'linear' data it would be useful to be able to see that visualised on the 'fill blank form' map to check that there is no overlap / duplication of coverage.

This could be useful for longitudinal studies, where the geotrace has been previously collected and 'blank forms' could be pre-loaded to a device. This could then become a monitoring tool (which is my main interest).

In my wildest dreams (related to ODK Collect, not that I dream about an app, you understand!), I would like to be able to select a geotrace / or geoshape on a map to create a new record associated with that trace (similar to B) almost like a 'visual select_one' widget - so that it is not necessary to create the trace or shape in the field but 'copy' it from a predefined list - currently I do this by creating a geopoint over a base layer (mbtiles), then match up the point and the line / shape on the GIS, which is a bit tedious with lots of data points.

3. What can you contribute to making this feature a reality?
Anyone who's used this forum knows how good I am at breaking stuff... happy to test :slight_smile:

I'm hoping that the functionality might be similar to that used for on-the-fly visualisation, so it could 'borrow' from that? Maybe...

Not exactly what you want, but... have you looked into perhaps using the current image map select widget. Granted it is not rendering (predetermined?) geoshapes, but if you can convert your goepshapes to an SVG - and provide the user some visual context as to their geospatial location (and scale?) - then it might make for an interim solution.

Enketo gives a good example: https://enke.to/x/imgmap

Thanks for your suggestion @Xiphware - I love a good workaround and I have looked into image maps but there's quite an overhead in creating them. They have some value, but I was hoping to be able to use the advantage of geolocation to combine with a map (so being able to pan and zoom, and select an item near to the current location that could be plotted on the map). Also, enumerators often don't want to put up with the compromises I come up with - in this case of it not being a real map...

One real world example would be an area of National Park with footpaths - about 40 of them in around 70,000 hectares - difficult to do currently except by name (e.g. edit existing form with a meaningful instance name, or a new form with a select_one) with a reference map elsewhere... with a geo-visualisation it would be easier to ensure that the correct record or path is selected for editing.

It's possible I'm thinking of (and maybe confusing) two different things with the idea of visualising and editing records via their geotrace / geoshape geometry, and generating a 'visual select_one' (which is closer to your suggestion), so the first case is probably a better start point...

Appreciate the attempt to find a workaround :slight_smile:

1 Like