I have approx. 4800 lat/lon points with a noise level, that I would like to draw contours on (e.g. 50dB, 55dB, ...). You can have a look at the data here: https://pastebin.com/LkfWYwJe
When I run
ggplot(
data,
aes(x =Lat, Lon, z = Value)
) + stat_contour(binwidth = 10)
I receive a
Warning message:
Not possible to generate contour data
Unfortunately I don't have any idea why this happens. Derived from other questions here, I tried less data, but this did not have an effect.
Any hint/advice/remark is higly appreciated. Thanks!
Edit: The problem seems to be unrelated to data not building a grid. I uploaded new sample data, which forms a perfect grid. https://pastebin.com/F4c7hWcY This dataset shows the very same issue as described above.