[23:13:49] | <symbioquine[m]> | paul121: Any idea how to find some COGs in `EPSG:3857`? It seems like having some examples is a prerequisite for making the PR to add COG support in farmOS-map and I'm hesitant to go as far as making/hosting my own... |
[23:16:03] | <paul121[m]> | Ah hmm. I believe there are some examples let's see.. |
[23:16:38] | <paul121[m]> | How bout the sources from here? https://geotiffjs.github.io/cog-explorer/#long=16.370&lat=48.210&zoom=5&... |
[23:16:52] | <symbioquine[m]> | I've found lots of examples, but so far none in the view projection that farmOS-map uses - which I believe to be a prerequisite for using them. |
[23:17:32] | <paul121[m]> | That is open layers so hopefully it should be a good example! |
[23:18:41] | <paul121[m]> | The source may be interesting as well. Although I think this demo existed before OL got the WebGL + COG support itself, so if it hasn't updated then it might be less relevant |
[23:22:26] | <symbioquine[m]> | Ah, I see... |
[23:22:52] | <symbioquine[m]> | It looks like they're dynamically fetching the projection definition and reprojecting the COGs; https://github.com/geotiffjs/cog-explorer/blob/eeaf806d63be61f2dfbaeea23... |
[23:38:50] | <paul121[m]> | Ah so you can specify the projection of the layer you are adding? |
[23:40:09] | <symbioquine[m]> | Yeah, maybe... |
[23:40:55] | <symbioquine[m]> | It hasn't worked for me yet, but I haven't tried that dynamic loading strategy. |
[23:42:38] | <symbioquine[m]> | Also that explorer seems to be using a different strategy for actually rendering the COGs so that might be important too. |
[23:43:55] | <paul121[m]> | I gtg but good luck! |
[06:11:17] | * farmBOT has joined #farmos |
[11:43:44] | <symbioquine[m]> | Well, I'm going to shelve my work for now on Cloud Optimized GeoTIFF support in farmOS-map - I just can't seem to get the reprojection stuff to work correctly. I've pushed my changes to a branch in case anybody wants to see or try to get it working: https://github.com/symbioquine/farmOS-map/tree/2.x-add-cloud-optimized-g... |