< 182020-11-19⋎20 >

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:26paul121[m]Learned about something really cool today.... Cloud Optimized GeoTIFFs
03:26paul121[m]www.cogeo.org/
03:27paul121[m]> A Cloud Optimized GeoTIFF (COG) is a regular GeoTIFF file, aimed at being hosted on a HTTP file server, with an internal organization that enables more efficient workflows on the cloud. It does this by leveraging the ability of clients issuing ​HTTP GET range requests to ask for just the parts of a file they need.
03:28paul121[m]basically.... hosting imagery layers from a standard file server, no GeoServer required
03:29paul121[m]This site gives a demo that uses OpenLayers: geotiffjs.github.io/cog-explorer/#long=1
03:29symbioquine[m]Cool!
03:31paul121[m]I was able to generate a COG tif, upload it to my farmOS server (modifying so that `.tif` was a valid file type), and load it into the COG-Explorer !!
03:31mstenta[m]whoa!
03:31paul121[m]And COG-Explorer uses OpenLayers!
03:32paul121[m]Also tried a much higher res Drone image (~100MB tif) and it took a minute to load into the browser...
03:33paul121[m]but I don't think I had optimized the image too much... could probably improve tiling, etc...
03:33paul121[m]it looks like there are some other tools that can do that
03:35paul121[m]but a processed Sentinel-2 image for ~300 acres (500Kb) loads great :D
03:36mstenta[m]wow that is super cool!
03:36paul121[m]can also host imagery from a S3 bucket in the cloud and load into the browser, just by using the link
03:37paul121[m]might need to add `.tif` to the allowed file types ;-)
03:37paul121[m]but also curious if there are reasons it isn't included
03:39mstenta[m]no reason! pull request? :-)
03:39mstenta[m]`.tiff` too?
03:39mstenta[m]we should add it to 2.x as well
03:40paul121[m]I've mostly seen `.tif` while learning about this, but thought the extension was `.tiff`... not sure
03:41mstenta[m]Mm yea I've seen both in general image files... so might as well have both
03:41mstenta[m]I think we have `.jpg` and `.jpeg`
03:42symbioquine[m]<paul121[m] "but a processed Sentinel-2 image"> I'm just curious what you're comparing against? The 100MB image seemed like a good test case, but the 500Kb image presumably wouldn't present a challenge to load all at once without tiled loading...
03:43paul121[m]yeah thats not a good comparison haha
03:44paul121[m]this example appears to be higher res & have tiling + pyramid (where higher res doesn't load until you zoom further)
03:44paul121[m]geotiffjs.github.io/cog-explorer/#long=1
03:45paul121[m]and that performs decently, maybe not quite as well as more traditional (although lots of factors)
04:02symbioquine[m]> and that performs decently, maybe not quite as well as more traditional (although lots of factors)
04:02symbioquine[m]More quantitatively, loading the initial zoom/extent takes just 2.5MB instead of the ~70MB of the source image. Zooming into the max zoom level on a single spot took another 1MB. That shows that it is able to load specific tiles incrementally. We'd need to set up a side-by-side test case to compare the performance with a traditional raster tile server approach, but I'd guess this approach would beat the pants off most
04:02symbioquine[m]single-server/self-hosted solutions since you can easily leverage off-the-shelf edge-caching from S3/competitors...
04:03symbioquine[m](Assuming the data is fairly static and the "users" are geographically diverse.)
04:08paul121[m]Nice!!
04:13paul121[m]That main site must reference a tool that can do further optimization
04:14paul121[m]I created mine with plain gdal, but seems like there's extensions built around it
04:15paul121[m]But excited to explore this! Until another day...
04:25*farmBOT has joined
14:32mstenta[m]> might need to add .tif to the allowed file types ;-)
14:32mstenta[m]> we should add it to 2.x as well
14:32mstenta[m]FYI paul121 I am working on the code that defines allowed extensions in 2.x right now, so i'll add `tif` and `tiff`
17:32paul121[m]@generalredneck are you still around? (doesn't look like it??)
17:32paul121[m]using the `migrate_plus` `merge` process plugin which they contributed - super handy!
17:34mstenta[m]cool!
17:35mstenta[m]haha I remember him saying he was a Migrate expert :-)
20:37skipper_is[m]o/ Has farm_quick been removed? I cannot seem to find it on my module list?
20:37skipper_is[m]Although it still seems to work
20:56mstenta[m]Not removed
20:56mstenta[m]Is it missing from the files?
21:02skipper_is[m]Type 1D10T error...
21:03skipper_is[m]my farm_quick_hoof.module was not called farm_quick_hoof....
21:03skipper_is[m]was called farm_quick.module
21:03skipper_is[m]Sorted now :) However, creating logs from quick forms, farm_log_create?
21:08mstenta[m]Oh haha that would do it
21:08mstenta[m]Yea I think that's right... Check out the egg quick form submit for example
21:08skipper_is[m]Yea, though that uses the quantity log function
21:09skipper_is[m]And I don't need a quantity, just an asset and notes
21:17mstenta[m]Ah
21:18mstenta[m]Tbh I forget :-)
21:18mstenta[m]Not at my computer atm
21:18skipper_is[m]No worries :)
21:18mstenta[m]But that sounds right
21:18mstenta[m]If you find the quantity function you'll see that it delegates to a more general one
21:18mstenta[m]Iirc
21:19skipper_is[m]It works with farm_log_create anyway :)
21:19mstenta[m]👍

< 182020-11-19⋏20 >