I am using KoboToolbox on the EU server and I have an issue with GeoJSON exports.
I have a form with an image question and a geopoint question. After submitting data with a photo and exporting to GeoJSON, the export only contains the image filename, for example:
“image1”: “1783347777426.jpg”
but it does not include the image URL field:
“image1_URL”: “https://…”
I tested this with a completely new simple form containing only one image field and one geopoint field, but the result is the same.
However, I have another older form on the same Kobo account where the GeoJSON export includes the image URL correctly.
Is there any setting required to include media URLs in GeoJSON exports, or is this a known issue with the current exporter?
I’ve confirmed the same - there appears to be a bit of a regression here.
However, as perhaps an interim workaround, I found that if you first instead perform an XLS export (!), and under the ‘Advanced options’ for it make sure to check “Include media URLs” and do the XLS export, and then do your GeoJSON export [under whose Advanced options this no longer appears…], then the resulting GeoJSON does now include the URL as well:
So it rather appears the GeoJSON export now isnt perhaps showing the ‘Include media URL’ option [TBH I dont recall whether it ever did or not…], but it is still picking it up from presumably the previous existing export setting options.
FYI a fix for this is being worked on and should be available shortly in an upcoming release.
FWIW, this appears not to have been a recent regression, but is rather a longstanding bug. But you probably never noticed it before because, as described above, if you had ever previously performed a regular XLS or CSV export - with the default enabled setting of ‘Include media URLs’ - then the subsequent GeoJSON export would have silently picked this up.