How to prefill type "geopoint" fields of enketo forms through URL

Hi @ashish1807,

Back with your query. You could use the default column as outlined in the image shown below by setting default by including 4 space-separated values: latitude, longitude, altitude, accuracy. It should be something like:

29.65947736 86.31874018 130.69580078125 3.2900925

Kindly please note the above gps point is a hypothetical input (to demonstrate that it works both in KoBoCollect android app as well as Enketo).

In the survey tab of your xlsform:

Image 1

Data entry screen as seen in Enketo:

Note: Try using a real gps input and you should be able to see the maps as well.

Reference xlsform:

GPS Default.xlsx (9.5 KB)

Additional: For geotrace or geoshape, include either a point as previously described or a list of points separated by semi-colons ( ; )

Have a great day!

1 Like