I created form using “geopoint” type like this
type |
name |
label::English |
geopoint |
geopoint |
Geo-point |
after this i got form like this:

How can i prefill fields of latitude, longitude,altitude,accuracy through URL?
Is there any method to achieve this?
@Kal_Lam do you know any solution for this?
Hi @ashish1807,
Am exploring! Will get back to you if i have any good news for you.
Have a great day!
Okay, Please post here if you have any solution. It will help me and to all community members as well.
@Kal_Lam hey…Have you got anything?
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:

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