| 02:39 | Noaht[m] | > <@noaht:matrix.org> What type of geometry is used for coordinate locations in the logs and how can I convert to that form from geojson?... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 04:43 | paul121[m] | > <@noaht:matrix.org> I think implementing that would definitely be helpful. I'm having an issue getting that example to work, however. I copied that first example line... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 04:48 | paul121[m] | > <@noaht:matrix.org> Where do these values:... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 05:31 | * | mstenta[m] has quit (*.net *.split) |
| 05:31 | * | dazinism[m] has quit (*.net *.split) |
| 05:31 | * | calbasi[m] has quit (*.net *.split) |
| 05:37 | * | dazinism[m] has joined |
| 05:38 | * | calbasi[m] has joined |
| 05:38 | * | mstenta[m] has joined |
| 05:43 | * | Noaht[m] has quit (*.net *.split) |
| 05:43 | * | paul121[m] has quit (*.net *.split) |
| 05:43 | * | skipper_is[m] has quit (*.net *.split) |
| 05:47 | * | paul121[m] has joined |
| 05:47 | * | skipper_is[m] has joined |
| 05:49 | * | Noaht[m] has joined |
| 08:16 | * | farmBOT has joined |
| 10:45 | * | gvlx has joined |
| 11:07 | * | gvlx has quit (Ping timeout: 248 seconds) |
| 11:30 | * | gvlx has joined |
| 12:08 | * | gvlx has quit (Ping timeout: 240 seconds) |
| 14:46 | ludwa6[m] | g'day room: i am starting to think seriously about the problem of having farmOS as canonical "Source of Truth" for my farm's geography, and wondering how best to go about it. |
| 14:47 | symbioquine[m] | problem = objective? |
| 14:47 | symbioquine[m] | * = objective/goal? |
| 14:47 | ludwa6[m] | Thing is: that basemap that show up by default is rather low-rez & out-of-date, while i've got a hi-rez & fairly recent aerial survey i want to use |
| 14:48 | ludwa6[m] | So: how can i swap the latter in place of the former? if not a direct swap, then what's a reasonable work-around to the same goal? |
| 14:49 | ludwa6[m] | symbioquine[m]: yes: i should stop framing goals as problems :-) |
| 14:50 | mstenta[m] | > i've got a hi-rez & fairly recent aerial survey i want to use |
| 14:50 | mstenta[m] | where is this currently? what form is it in? |
| 14:50 | ludwa6[m] | > <@mstenta:matrix.org> > i've got a hi-rez & fairly recent aerial survey i want to use |
| 14:50 | ludwa6[m] | > |
| 14:50 | ludwa6[m] | > where is this currently? what form is it in? |
| 14:50 | ludwa6[m] | GeoTIFF, on my desktop. |
| 14:51 | ludwa6[m] | pretty massive, tho |
| 14:52 | mstenta[m] | best bet is probably to get it into a self-hosted GeoServer/MapServer and serve it as a layer that OpenLayers can read - then make a simple module to add it to the farmOS map as a layer |
| 14:52 | mstenta[m] | longer-term i'm excited to see if someone will build paul121's "Imagery Asset" idea :-) farmos.discourse.group/t/imagery-asset-a |
| 14:52 | mstenta[m] | but size might be a factor in that case... |
| 14:54 | ludwa6[m] | I remember discussing this w/ you guys awhile back, but finding a reasonably good & affordable host for such layers was a stopper in the end |
| 14:54 | mstenta[m] | mm yea i have no experience with that |
| 14:54 | mstenta[m] | there must be hosting options out there? |
| 14:55 | ludwa6[m] | Then, i also remember symbioquine had some module for serving map layers OUT of farmOS... Am i recalling this wrong? |
| 14:56 | ludwa6[m] | mstenta[m]: one would think... But nothing that wouldn't cost significantly more than Farmier hosting (which for me seems like the tail wagging the dog, if you know what i mean) |
| 14:56 | symbioquine[m] | mstenta[m]: [MapProxy](mapproxy.org/) Might also be another option... |
| 14:58 | symbioquine[m] | ludwa6[m]: Perhaps you're thinking of farmOS_wfs? That targets a slightly different problem. Instead of imagery, it lets you view/modify farmOS asset **geometry** in other tools that support the WFS protocol. |
| 14:58 | ludwa6[m] | symbioquine[m]: MapProxy looks like a developer tool... Unless there's a hosted option |
| 14:58 | paul121[m] | COGs! Cloud optimized geotiff - only needs a file server to host them :-) Could potentially be farmOS itself or Google/Amazon S3 storage |
| 14:58 | mstenta[m] | > But nothing that wouldn't cost significantly more than Farmier hosting |
| 14:58 | mstenta[m] | keep in mind that the reason Farmier hosting is cheap is because it doesn't have to serve lots of traffic... ;-) Also you do pay extra for file storage on Farmier |
| 14:59 | mstenta[m] | So it's probably not a fair comparison :-) |
| 15:00 | symbioquine[m] | ludwa6[m]: Yeah, any of those tools GeoServer/MapServer/MapProxy/etc are going to require some admin skills to host effectively... |
| 15:00 | ludwa6[m] | > <@mstenta:matrix.org> > But nothing that wouldn't cost significantly more than Farmier hosting |
| 15:00 | ludwa6[m] | > |
| 15:00 | ludwa6[m] | > keep in mind that the reason Farmier hosting is cheap is because it doesn't have to serve lots of traffic... ;-) Also you do pay extra for file storage on Farmier |
| 15:00 | ludwa6[m] | Unlimited files up to 100mb total -is that right, mstenta ? |
| 15:00 | mstenta[m] | actually 1 gig :-) |
| 15:01 | symbioquine[m] | paul121[m]: This is probably one of the best options, but it still needs a bit of custom code to create a farmOS module that provides the new base layer using that file server. |
| 15:02 | ludwa6[m] | mstenta[m]: even better -i was just looking on the edit form, where it says 100mb- but i'll take 1gb, happily. Still, GeoTIFF is a bigger problem (er goal :-) |
| 15:02 | symbioquine[m] | symbioquine[m]: We should have a generic module for this that allows that path to be configured without code though... |
| 15:03 | mstenta[m] | oh yea it's 100mb upload limit - meaning you can upload 100mb at a time |
| 15:03 | mstenta[m] | > We should have a generic module for this that allows that path to be configured without code though... |
| 15:03 | mstenta[m] | Imagery asset? :-)_ |
| 15:03 | mstenta[m] | s/Imagery asset? :-)_/Imagery asset? :-)/ |
| 15:03 | skipper_is[m] | Tileserver is PHP based wms hosting |
| 15:03 | skipper_is[m] | Self hosted though |
| 15:03 | symbioquine[m] | > <@mstenta:matrix.org> > We should have a generic module for this that allows that path to be configured without code though... |
| 15:03 | symbioquine[m] | > |
| 15:03 | symbioquine[m] | > Imagery asset? :-) |
| 15:03 | symbioquine[m] | Maybe 🧐 |
| 15:04 | ludwa6[m] | symbioquine[m]: Is that a complex thing to write? if it can just pull from AWS by default, that would be sweet |
| 15:04 | mstenta[m] | we've also talked about a simpler module... that just asked for a URL (similar to the old MapKnitter module, but more general)_ |
| 15:04 | symbioquine[m] | > <@mstenta:matrix.org> > We should have a generic module for this that allows that path to be configured without code though... |
| 15:04 | symbioquine[m] | > |
| 15:04 | symbioquine[m] | > Imagery asset? :-) |
| 15:04 | symbioquine[m] | The details of how this actually ends up working are pretty critical. |
| 15:04 | symbioquine[m] | mstenta[m]: Yeah, I think this would be the most straight-forward path in the short term. |
| 15:05 | mstenta[m] | agreed |
| 15:05 | ludwa6[m] | I'm all for straightforward. |
| 15:05 | ludwa6[m] | TSTTCPW |
| 15:06 | symbioquine[m] | It could also trivially support WMS and x/y/z tile servers. |
| 15:07 | mstenta[m] | add TMS while you're at it! (that's what MapKnitter used) ;-) |
| 15:07 | mstenta[m] | oh or maybe it was just xyz in the module - i forget |
| 15:07 | * | is lost in alphabet soup |
| 15:07 | symbioquine[m] | Yeah, any of the ones that are easily expressed as a URL :) |
| 15:07 | mstenta[m] | And that OpenLayers supports... |
| 15:08 | skipper_is[m] | XYZ and WMS for sure |
| 15:08 | mstenta[m] | just confirmed: mapknitter was xyz github.com/farmOS/farmOS/blob/509cfb2e92 |
| 15:09 | mstenta[m] | what do you use skipper_is to host your aerial images? |
| 15:09 | skipper_is[m] | github.com/Skipper-is/farm_map_vhf |
| 15:09 | skipper_is[m] | home.skipper-iwb.co.uk/webmapserver/ |
| 15:10 | ludwa6[m] | Setting all the backstage tech detail aside for a sec: what will the farmer need to do, to get his aerial survey map data to show up in farmOS? Once there's a module in farmOS that can digest the data and display it properly. ? |
| 15:10 | skipper_is[m] | Php based, pretty straightforward |
| 15:11 | skipper_is[m] | That first GitHub repo of mine gets my imagery into FarmOS 1.x |
| 15:11 | skipper_is[m] | Should be reasonably easy to port over too |
| 15:13 | mstenta[m] | ludwa6: I think there will ultimately need to be multiple pathways - depending on where the data is coming from and other variables |
| 15:13 | mstenta[m] | So can't really set aside the tech details yet :-) |
| 15:14 | symbioquine[m] | ludwa6[m]: I think the lowest dev-cost version involves;... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 15:14 | symbioquine[m] | Obviously with more dev work some of that could be simplified/automated |
| 15:15 | symbioquine[m] | Also it gets more complicated if the imagery needs to be private - i.e. not accessible by anyone who knows the URL |
| 15:15 | mstenta[m] | > That module existing - that allows a tile-source to be specified by URL |
| 15:15 | mstenta[m] | Overall this module would be pretty simple. Basically the same as the MapKnitter module in v1, but generalized |
| 15:16 | mstenta[m] | github.com/farmOS/farmOS/blob/509cfb2e92 |
| 15:16 | mstenta[m] | I think that would be a great module to include in core farmOS |
| 15:17 | skipper_is[m] | That just takes a single URL and displays it as background map? |
| 15:17 | ludwa6[m] | > <@symbioquine:matrix.org> I think the lowest dev-cost version involves; |
| 15:17 | ludwa6[m] | > * That module existing - that allows a tile-source to be specified by URL |
| 15:17 | ludwa6[m] | > * The farmer using GIS tools to convert the imagery to Cloud optimized geotiff (COG) |
| 15:17 | ludwa6[m] | ...(truncated) |
| 15:17 | mstenta[m] | > That just takes a single URL and displays it as background map? |
| 15:17 | mstenta[m] | as a first step perhaps, yes |
| 15:17 | mstenta[m] | (oh or maybe you're asking about the MapKnitter module? yes that's basically what it did) |
| 15:18 | mstenta[m] | if you wanted multiple layers, that would be more complicated |
| 15:18 | skipper_is[m] | Yea, I looked at that when making my imagery module |
| 15:18 | mstenta[m] | and maybe that's when the Imagery Asset idea would make sense |
| 15:18 | symbioquine[m] | mstenta[m]: Yeah, I'd lean towards it supporting a list of layers |
| 15:19 | skipper_is[m] | Switching? Just as a layer list? |
| 15:19 | ludwa6[m] | So it sounds like my first step would be to convert my GeoTIFF to COG format -is that it? You said symbioquine "using GIS tool" : can QGIS perform this function, do you know? |
| 15:20 | symbioquine[m] | ludwa6[m]: I don't know, but I'd guess so... |
| 15:20 | symbioquine[m] | www.cogeo.org/#implementations |
| 15:21 | symbioquine[m] | The COG website says QGIS supports it. Not sure exactly what the workflow would look like though. |
| 15:21 | skipper_is[m] | github.com/qgis/QGIS/issues/41949 |
| 15:21 | ludwa6[m] | symbioquine[m]: OK... and then it would be a matter of uploading those COG files to an AWS instance... which would all be accessible at a single URL, right? |
| 15:22 | mstenta[m] | heck you could probably host it on GitHub Pages :-) |
| 15:22 | symbioquine[m] | skipper_is[m]: Oh, yeah maybe you'd need a different tool to actually *generate* them for now then. |
| 15:22 | mstenta[m] | not that i recommend doing that ... :-P |
| 15:22 | symbioquine[m] | mstenta[m]: Maybe, depends how big it ends up I think. |
| 15:22 | mstenta[m] | true |
| 15:23 | skipper_is[m] | What resolution and area? |
| 15:23 | symbioquine[m] | stackoverflow.com/questions/28706454/git |
| 15:23 | mstenta[m] | ah good to know! |
| 15:24 | symbioquine[m] | ludwa6[m]: No, you'd probably want to upload the COG files to AWS S3 (A hosted file storage service) |
| 15:25 | ludwa6[m] | skipper_is[m]: Mine is 43ha (~100 acres: a little guy ;-), and resolution...? Pretty fine; dunno how to say, but each pixel looks like maybe 10cm? |
| 15:25 | symbioquine[m] | <ludwa6[m]> "> <@symbioquine:matrix.org> I..." <- It would probably cost about $0.0125 per GB/Mo + data transfer costs as the files are accessed. |
| 15:25 | skipper_is[m] | Ah ok, probably pushing 500mb? |
| 15:26 | symbioquine[m] | aws.amazon.com/s3/pricing/ (The comparable services from Azure and Google cloud are probably similar since they're all competitors) |
| 15:27 | skipper_is[m] | I've got 30ha, at 7cm coming in at 290mb, so maybe more like 400mb |
| 15:27 | skipper_is[m] | Mbtile rather than COG though, so could be smaller on a cog |
| 15:29 | * | > <@skipper_is:matrix.org> Ah ok, probably pushing 500mb? |
| 15:29 | * | looks for file |
| 15:30 | ludwa6[m] | > * <@ludwa6:matrix.org> looks for file |
| 15:30 | ludwa6[m] | whoa -2.58gb |
| 15:30 | skipper_is[m] | Oh wow |
| 15:31 | skipper_is[m] | Multispectral? |
| 15:31 | paul121[m] | I really want to recommend people use COGs here... WMS/XYZ should mostly be reserved for 3rd party services that have the infrastructure for it, but many are moving to COGs anyways. It's what they're designed for :-) |
| 15:31 | ludwa6[m] | skipper_is[m]: i just use this GIS, don't know much of the tech... But it's a transparent_mosaic.tiff file, sez "get info"\ |
| 15:32 | skipper_is[m] | Ah fairy nuff |
| 15:34 | ludwa6[m] | But i guess if i can just get this file "sharded" (if that's the right term) into COG format, and upload all the files to AWS, then it'll be very efficient (fast & cheap) to have farmOS pull what's needed on (low)demand. |
| 15:34 | symbioquine[m] | It doesn't even need to be multiple files per-se (as I recall) |
| 15:35 | symbioquine[m] | COG makes it so that OpenLayers (or similar) can request just the portion of the file it needs |
| 15:35 | symbioquine[m] | with HTTP range requests |
| 15:35 | symbioquine[m] | developer.mozilla.org/en-US/docs/Web/HTT |
| 15:35 | symbioquine[m] | (This is getting into the weeds of how COG actually works) |
| 15:38 | ludwa6[m] | symbioquine[m]: I aim to steer well clear of them weeds; just need to know what to do w/ this whopper file, where to sent it, what it's gonna cost -and done, i hope! |
| 15:38 | symbioquine[m] | Yeah, the first step would be to find a way to convert your file(s) into a COG file and test it with a fairly recent version of QGIS. |
| 15:40 | ludwa6[m] | symbioquine[m]: OK: there's a step i can advance on -thanks! |
| 15:40 | symbioquine[m] | Maybe by following something like geoexamples.com/other/2019/02/08/cog-tut |
| 15:41 | symbioquine[m] | symbioquine[m]: I'm not sure whether there's a more user-friendly tool/tutorial |
| 15:43 | paul121[m] | Once you have a COG file hosted with a URL you should be able to test it out here: geotiffjs.github.io/cog-explorer |
| 15:44 | symbioquine[m] | paul121[m]: Oh, yeah that might be better than QGIS even :) |
| 15:46 | paul121[m] | If you could run a file server locally it might be super easy to test w/o even uploading to AWS? |
| 15:48 | ludwa6[m] | paul121[m]: guess so... But first i must convert my GeoTIFF to COG format. Looks like a project for upcoming long weekend :-) |
| 16:13 | FarmerEd[m] | Somebody needs to come up with a tool to convert chats like that to forum threads! |
| 17:05 | * | gvlx has joined |
| 19:20 | * | gvlx has quit (Ping timeout: 248 seconds) |