Only first location is exported in KML of log with multiple points

I created a single log, but added multiple points in it. When I open the log, I see the maps stacked for all the points I have added. But when I choose this log and click the button to export the KML file, the resulting file will have just one point on it.

Is this intended or should I fill a bug?

@rafaeltcc - It sounds like you actually ran into a known issue with Field Kit, which @jgaehring just recently fixed: https://github.com/farmOS/farmOS-client/issues/345

I don’t think the fix has been released to https://farmOS.app yet - but soon!

Feel free to skim that GitHub issue if you want to understand what’s happening.

To fix your data in farmOS, you will need to essentially merge all the points together into the first geometry. The easiest way to do that may be to just create the KML by hand. Right now you probably have a bunch of separate POINT(...) geometries (one in each map). What you want to end up with is a single GEOMETRYCOLLECTION(POINT(...),POINT(...),POINT(...)).

eg: https://github.com/farmOS/farmOS-client/issues/345#issuecomment-674404813

Hope that helps!

Ah yes. The fix was actually released yesterday, but it would not fix logs that were previously created on Field Kit.

1 Like