< 112024-02-12⋎13 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
12:04*farmBOT has joined
18:27symbioquine[m]I just released an updated farmOS_wfs version that works with farmOS 3.1.1.
18:27symbioquine[m]Interestingly, there were a bunch of geometry floating-point rounding differences between farmOS 2.x and 3.x: github.com/symbioquine/farmOS_wfs/commit
18:28symbioquine[m]s/farmOS_wfs/[farmOS\_wfs](www.drupal.org/project/farmos_wfs/releas)/, s/farmOS_wfs/farmOS\_wfs/
18:31mstenta[m]Oh weird
18:31symbioquine[m]Yeah, I wouldn't say either is especially "better"
18:31mstenta[m]Any chance PHP GEOS wasn't installed?
18:32symbioquine[m]idk, I just used the 3.1.1 image for testing... github.com/symbioquine/farmOS_wfs/blob/a
18:33mstenta[m]Hmm ok
18:34mstenta[m]That and the patches to geophp are the only things I know of that would affect those things
18:35mstenta[m]I don't think either of those changed between v2 and v3
18:35mstenta[m](Geos / geophp)
18:36mstenta[m]Oh weird it looks like they all got an extra decimal place?
18:36symbioquine[m]mostly
18:36mstenta[m]Huh
18:37mstenta[m]Ok so they aren't actually different values (which would suggest one of the things I said above changed)... just more precise
18:37symbioquine[m]-70.66046174786899 became -70.660461747869
18:38mstenta[m]Oh hmm
18:38mstenta[m]Weird
18:38symbioquine[m]and -81.30167320572301 became -81.301673205723
18:40symbioquine[m]But the difference is between 12 and 14 decimal places in that example and actually only 0.00000000000001 for reference, Wikipedia says that the 8th decimal place is only about 1mm of significance.
18:40symbioquine[m]s//`/, s//`./, s/for/For/
18:41symbioquine[m]Arguably, those aren't significant figures because (basically) nobody has equipment capable of measuring at that precision.
18:42symbioquine[m]en.wikipedia.org/wiki/Decimal_degrees en.wikipedia.org/wiki/Significant_figure
18:42mstenta[m]Yea, so we're just fiddling with grass blades basically :-)
18:42mstenta[m]Still, curious what changed
18:43symbioquine[m]Yeah, if I get a chance to look I'll report back. For now the tests did their job and both showed the difference and that it wasn't majorly broken so I'm going on to upgrading the next module.
18:43mstenta[m]Awesome!
18:43mstenta[m]Thanks for the heads up. Definitely curious!
18:44mstenta[m](Could it be a QGIS change and not farmOS? 🤔)
18:44symbioquine[m]I don't think so
18:45mstenta[m](I haven't looked closely at how the tests work)
18:45symbioquine[m]I initially didn't update QGIS
18:47symbioquine[m]There weren't any rounding differences (effecting the tests anyway) between QGIS 3.26 (the version the tests were on before) and 3.34 (the version the tests were on now).
18:48symbioquine[m]The nice thing is that QGIS provides official release Docker images and my test harness just runs the tests within that container: github.com/symbioquine/farmOS_wfs/blob/a
18:48symbioquine[m]I don't think it's worth the Github actions time, but I could run a test matrix against a bunch of QGIS versions trivially.
18:49symbioquine[m]If lots of folks started using farmOS_wfs with QGIS it might be worth it, but AFAIK I don't have a large user base at the moment.
18:49mstenta[m]There were a few updates to the Geofield Drupal module over the past 6 months or so... maybe something changed there
18:50symbioquine[m]Seems like a good guess
18:50mstenta[m]Or maybe PostgreSQL version change, but thats doubtful too
18:51symbioquine[m]I suppose

< 112024-02-12⋏13 >