IRC logs for #farmOS, 2016-10-30 (GMT)

2016-10-29
2016-10-31
TimeNickMessage
[01:04:50]* kadaan has joined #farmos
[04:50:46]* kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[05:45:04]* JustTB has joined #farmos
[05:50:02]* JustTB has quit (Quit: Leaving.)
[06:46:52]* JustTB has joined #farmos
[07:10:33]* JustTB has quit (Quit: Leaving.)
[12:49:24]* kadaan has joined #farmos
[12:49:29]<mstenta>svenn: so i think all we need to do is decide which layer(s) from the WMST should be included - which would be most useful
[12:50:04]<kadaan>Waht is WMST?
[12:50:05]<mstenta>if we can select just one, that would be easiest
[12:50:30]<mstenta>but i don't think there is a satellite imagery one available in that service... but maybe a topo would be nice?
[12:50:45]<mstenta>hi kadaan - i'm working with svenn on adding norwegian map layers to farmOS
[12:50:51]<kadaan>Nice!
[12:50:53]<mstenta>via Norway's national mapping authority
[12:51:04]<mstenta>they provide layers via a WMST url
[12:51:16]<mstenta>which is similar to WMS - and which openlayers can use
[12:51:16]<kadaan>Did you ever figure out the problems with the current mapping layers?
[12:51:32]<kadaan>I remember there is an openlayers issue.
[12:51:34]<mstenta>which problems?
[12:51:39]<kadaan>Let me find it.
[12:51:57]<mstenta>there are a bunch of minor things :-)
[12:51:59]<kadaan>Oh, one of them is related the zoom issue.
[12:52:05]<kadaan>I've experienced that.
[12:52:31]<kadaan>I ended up figuring out the same solution you suggested. Zoom out, re-draw, etc.
[12:52:34]<mstenta>oh... where the shapes seem to become disconnected from the satellite imagery when you zoom in and out?
[12:52:42]<mstenta>yea... that's a tricky one... and not fixed yet
[12:52:52]<mstenta>it is actually Google's fault, to some extentn
[12:53:14]<mstenta>basically, Google Maps has varying max-zooms from place to place
[12:53:18]<kadaan>Hehehe
[12:53:19]<mstenta>that in itself is fine... but...
[12:53:48]<mstenta>it doesn't provide a way for you to KNOW what the max is at a given point (at least I don't think)
[12:53:58]<mstenta>so with the farmOS Openlayers config, we have a fixed max zoom everywhere
[12:54:08]<mstenta>and in some places, that means you can zoom farther than Google can
[12:54:29]<mstenta>again... not a big problem... except that when you zoom past what google provides, the google maps api still returns imagery at the previous level!
[12:54:33]<mstenta>which is really dumb
[12:54:42]<mstenta>so for example
[12:54:51]<mstenta>if google's max zoom is 18
[12:54:54]<mstenta>and you zoom to 19...
[12:54:55]<kadaan>It was this one: https://www.drupal.org/node/2542062
[12:55:02]<mstenta>google will still show you the tiles at zoom 18
[12:55:20]<mstenta>which messes everything up - because then you are drawing at zoom 19, on a background that is zoom 18
[12:55:45]<kadaan>Totallly get it.
[12:55:53]<mstenta>oh ok - 2542062 is actually a different issue
[12:56:04]<kadaan>Was wondering how other peoiple who use openlayers work around this.
[12:56:16]<mstenta>with that one, we used to be able to toggle between topo map, satellite map, road map, and hybrid
[12:56:24]<mstenta>but now, if you enable more than one google maps, they all break :-(
[12:56:47]<mstenta>however, i think @Pol may have fixed that in the latest Openlayers version - i haven't had a chance to test it yet
[12:57:07]<kadaan>That would be great to test. If it is easy, I may take that on.
[12:57:19]<mstenta>sure!
[12:57:32]<mstenta>probably the easiest way to do it is:
[12:57:39]<kadaan>I need to figure out how to get my docker install to actually complete within a reasonable period of time.
[12:57:54]<mstenta>open up the .data/www/profiles/farm/modules/contrib/openlayers directory and run
[12:57:56]<mstenta>git init
[12:58:21]<mstenta>git remote add origin https://git.drupal.org/project/openlayers.git
[12:58:25]<mstenta>git fetch origin
[12:58:32]<mstenta>git checkout 7.x-3.x
[12:58:45]<mstenta>er... scratch that last one... it would instead be:
[12:58:47]<mstenta>git checkout -- .
[12:58:48]<mstenta>i think
[12:58:59]<mstenta>kadaan: oh yea... the volume issue
[12:59:02]<kadaan>Cool. Let me give that a try
[12:59:16]<mstenta>kadaan: i'm curious... could you test running docker in an Ubuntu VM?
[12:59:35]<kadaan>Regarding the Os X issue, I tried: https://github.com/IFSight/d4m-nfs
[12:59:42]<mstenta>kadaan: i know it's redundant and it would be nice NOT to use a VM AND docker... but i wonder if that would get around the Mac volume performance issue
[12:59:48]<kadaan>But I couldn't even get the vm to tart.
[12:59:57]<mstenta>hmm
[13:00:11]<kadaan>I was thinking about trying https://github.com/codekitchen/dinghy rather than docker4mac.
[13:26:08]* Lil has joined #farmos
[14:18:21]* kadaan is now known as kadaan_
[14:19:18]* kadaan_ is now known as kadaan
[14:25:39]* kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
[15:45:13]<svenn>mstenta: I think "topo2" or "norges_grunnkart" would be sane alternatives for map backgrounds.
[15:45:49]<svenn>best would be if I could choose at some point when I learn how to do these configurations in drupal/farmos
[15:46:34]<svenn>I have found that our aerial photos are password protected.
[15:47:53]<svenn>I need to learn how to get an account and what it will cost me as a private individual.
[15:51:44]<svenn>The ministry for agriculture maintains various map overlays which I would like to add at a later time.
[15:52:21]<svenn>For now I use qgis when trying to reverse engineer the links from their web app.
[15:53:06]<svenn>It is basically the same programmers delivering the solutions provided by the government, and they tend to re-use their own code.
[15:53:55]<svenn>and openlayers2 and openlayers3 :)
[16:05:14]<mstenta>svenn: hi!
[16:05:26]<mstenta>ok, i'll give the topo2 and norgres_grunnkart layers a try
[16:05:49]<mstenta>oh actually, norgres_grunnkar was the screenshot i sent you
[16:05:50]<mstenta>so that's working
[16:06:11]<svenn>nice.
[16:06:42]<mstenta>svenn: so now i just need to figure out the "best" way to package it up
[16:06:55]<svenn>I have no hurry
[16:07:07]<mstenta>in the bigger scope, i think i want to generalize how the map layers are being managed
[16:07:16]<mstenta>it could be better
[16:07:38]<svenn>I guess that other users with access to wmts in their country would be very happy
[16:07:38]<mstenta>the openlayers module provides some nice ways of assembling maps from different sources, layers, components, etc
[16:07:45]<mstenta>but i'm really pushing it to the limits with farmOS
[16:08:07]<mstenta>i want to make sure it is flexible
[16:08:39]<mstenta>right now, the test i did with the kartverkat layers is just overridding the defaults
[16:08:48]<svenn>I understand. I don't expect farmos to become qgis-online
[16:08:55]<mstenta>but it would be better if they worked together
[16:09:03]<mstenta>haha well not yet...
[16:09:04]<mstenta>;-)
[16:11:32]<svenn>Most important stuff are the real farming things, but it is amazing how turn-off the inaccuracy in google maps is when putting kml from a gps on top of it
[16:12:08]<svenn>about 13m off is really really bad
[16:13:45]<mstenta>yea it is
[16:13:49]<mstenta>i wonder if google is aware of that
[16:14:19]<svenn>I am planning my new heating system with qgis and librecad/qcad on top of the norges_grunnkart. I really miss a properly aligned aerial photo sometimes
[16:15:42]<svenn>I don't know if this is some kind of difference between WGS84 and WUREF89
[16:15:49]<svenn>EUREF89
[16:16:39]<svenn>I have tried to understand the difference between the various projections, but I only get a headache.
[16:20:10]<svenn>well, a new week is starting, and we have adjusted for daylight saving, so I guess it will be a week of body-clock adjustment
[16:20:37]<svenn>I hate daylight saving
[16:21:29]<mstenta>i was just saying that to my wife
[16:21:39]<mstenta>every 6 months i get confused
[16:22:04]<mstenta>svenn: what does Grunnkart translate to?
[16:22:18]<mstenta>google doesn't know https://translate.google.com/#auto/en/Norges%20Grunnkart
[16:22:37]<svenn>norwegian basic map
[16:22:59]<mstenta>thanks
[16:24:34]<svenn>something like "the mother of all maps"
[16:25:13]<svenn>so it is not basic in the "simple" sense, maybe more "basis".
[16:25:47]<svenn>but I don't know the exact meaning of the english words I use. You know, the "legal" meaning of a word.
[16:32:40]* kadaan has joined #farmos
[16:39:13]<mstenta>hi kadaan
[16:39:18]<kadaan>Hey
[16:39:18]<farmBOT>hello
[16:39:42]<mstenta>were you able to build a local docker container? i rebuilt the image on docker hub after it had failed
[16:40:49]<kadaan>I'm still trying, but working on my farm presentation with my wife.
[16:45:08]<mstenta>cool - let me know if you still have trouble
[16:45:10]<mstenta>what is the presentation?
[16:47:45]<mstenta>svenn: i'm assembling a module right now
[16:47:49]<mstenta>i'll send you a link shortly
[17:07:17]<mstenta>svenn: https://github.com/farmOS/farm_map_kartverket
[17:07:27]<mstenta>give that a try
[17:07:56]<mstenta>it adds both the norgres_grunnkar and topo2 layers
[17:11:15]<mstenta>gonna sign off for a bit - family time
[17:11:49]<mstenta>svenn: download that module and put it in sites/all/modules
[17:12:04]<mstenta>enable it at [url]/admin/modules
[17:12:16]<mstenta>let me know how it works!
[17:18:32]<kadaan>We are presenting our starting farm plan for the Cornell BF101 class.
[18:55:35]* kadaan is now known as kadaan_