< 132020-12-14⋎15 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
03:04*uploaded an image: 2020_12_13_crossing_antimeridian_test.gif (2883KiB) < matrix.org/_matrix/media/r0/download/mat >
03:06symbioquine[m]^ Maybe not the most critical bug, but definitely entertaining... :)
03:09mstenta[m]symbioquine: lol this is actually expected behavior ;-)
03:09symbioquine[m]oh?
03:10mstenta[m]...
03:11mstenta[m]github.com/farmOS/farmOS-map/blob/master
03:11mstenta[m]github.com/openlayers/openlayers/issues/
03:11mstenta[m]i use "expected" loosely here :-P
03:11symbioquine[m]hmmm
03:12mstenta[m]iirc, i basically decided to "quick fix" another issue... but my fix creates this new issue... but i justified that that this would not be an issue for us because there are probably few farms who cross the meridian
03:13mstenta[m]:-P
03:13symbioquine[m]Yeah, that makes sense
03:13symbioquine[m]I was trying to test the boundary conditions of bounding box filtering in WFS, but it's a bit tricky when you can't actually create features that satisfy some of the boundary conditions :)
03:14mstenta[m]The original issue had to do with bug reports I was getting from folks who scrolled to the left/right on a map before starting to draw... and ended up with invalid coordinates (outside -180 +180)
03:14mstenta[m]happened with some farms in new zealand in particular... which was interesting :-)
03:14mstenta[m](iirc)
03:15mstenta[m]github.com/farmOS/farmOS-map/issues/49
03:15symbioquine[m]Interestingly QGIS sends non-compliant `EPSG:4326` bounding box coordinates when the viewing window intersects the antimeridian.
03:16mstenta[m]ah really - does that pose a problem?
03:17symbioquine[m]Not really, I was planning to do a sort of negative aware modulus to handle those coordinates...
03:18symbioquine[m]The main tricky thing is that it doesn't seem possible to do an `OR` SQL query via the `EntityFieldQuery` interface so I have to take the union of 2 - 4 queries.
03:18mstenta[m]ah
03:22symbioquine[m]This is interesting: www.linz.govt.nz/data/geospatial-data-ty
03:24mstenta[m]oh wow yea interesting
03:25mstenta[m]> New Zealand is almost unique in the world where we have to account for the anti-meridian line, which many Geographic Information Systems (GIS) struggle with, so some guidance is also included for handling this.
03:25mstenta[m]first time i've heard the name "anti-meridian" :-)
03:26symbioquine[m]The way I read the [Wikipedia page on WKT/WKB](en.wikipedia.org/wiki/Well-known_text_re) I was assuming the order of the coordinates could be used to communicate which is the "top left"-most point, but based on that NZ page perhaps that's not correct.
03:27mstenta[m]hoo boy i learned a lot when i was digging into how to calculate acreage base on GPS point geometry
03:28mstenta[m]who would have thought irregular spheroid geometry would be so complicated! :-P
03:28symbioquine[m]Yeah, that "area on a spheroid" math turns my head inside out :)
03:28mstenta[m]and that's not even counting elevation
03:28mstenta[m]if you're on a steep slope, the area can be skewed
03:29symbioquine[m]yeah
03:30symbioquine[m]You don't even have to be on a steep slope. A high irregular plateau can do the same thing since the effective radius of the earth is larger there.
03:30symbioquine[m]The steep slope case is of course more common.
03:31mstenta[m]oy
03:35symbioquine[m]core.ac.uk/download/pdf/11922683.pdf
03:48symbioquine[m]Tiny bit of a stretch from scientific models to data models, but the idea comes through pretty much the same - even in a pretty specific domain such as coordinate systems, no single model will (or even should) meet all use-cases.
03:49symbioquine[m]Even if there were some over-arching "model to rule them all" the cost/complexity probably couldn't be justified.
04:01paul121[m]On the topic of approximate calculations, I thought this was interesting: www.quantamagazine.org/mathematician-sol
04:01paul121[m]> Mathematicians have long pondered the reach of a grazing goat tied to a fence, only finding approximate answers until now.
04:02paul121[m]In case we ever need to build those features into the map :D
08:16*bonushenricus[m] has quit (Ping timeout: 260 seconds)
08:16*munjoma[m] has quit (Ping timeout: 260 seconds)
08:16*bonushenricus[m] has joined
08:16*munjoma[m] has joined
20:04*svenn has quit (Ping timeout: 272 seconds)
20:05*svenn has joined

< 132020-12-14⋏15 >