| [04:56:11] | * JustTB has joined #farmos |
| [05:21:44] | * M-DzzzzzzR has quit (Remote host closed the connection) |
| [05:36:02] | * M-DzzzzzzR has joined #farmos |
| [07:53:48] | * JustTB has quit (Quit: Leaving.) |
| [09:08:15] | * M-DzzzzzzR has quit (Remote host closed the connection) |
| [09:17:07] | * DzzzzzzR[m] has joined #farmos |
| [09:43:48] | * Lil has quit (Ping timeout: 245 seconds) |
| [09:48:45] | * DzzzzzzR[m] has quit (Ping timeout: 256 seconds) |
| [10:40:59] | * JustTB has joined #farmos |
| [11:00:39] | <mstenta> | svenn: any interest in having your name added to http://farmos.org/community/supporters/ ? |
| [11:00:48] | <mstenta> | i would consider you a supporter :-) |
| [11:27:39] | * JustTB has quit (Quit: Leaving.) |
| [12:04:45] | * JustTB has joined #farmos |
| [13:28:36] | * JustTB has quit (Quit: Leaving.) |
| [13:50:33] | * JustTB has joined #farmos |
| [14:06:06] | * M-DzzzzzzR has joined #farmos |
| [14:22:38] | * JustTB has quit (Quit: Leaving.) |
| [17:53:11] | <svenn> | mstenta: go ahead. |
| [17:53:41] | <mstenta> | svenn: cool! how would you like it to appear? |
| [17:54:00] | <svenn> | appear? |
| [17:54:18] | <mstenta> | what is your full name? |
| [17:54:46] | <svenn> | Oh, Svenn Bjerkem |
| [17:54:52] | <mstenta> | great! i'll add it |
| [17:54:54] | <mstenta> | :-) |
| [17:54:55] | <svenn> | or, rather Svenn Are Bjerkem |
| [17:55:00] | <mstenta> | ok |
| [17:56:47] | <svenn> | Remember we talked about alternative background map through wms earlier this year? |
| [17:56:58] | <mstenta> | yes |
| [17:57:26] | <svenn> | I have found out how to add our local wms into qgis. Would that link help you? |
| [17:58:09] | <svenn> | I mean, you showed me a lot of settings menus for openlayers, but I am old and not good at remembering |
| [17:58:18] | <mstenta> | svenn: added - http://farmos.org/community/supporters/ |
| [17:58:31] | <svenn> | ACTION reloading page |
| [17:58:34] | <mstenta> | svenn: one sec... brb |
| [18:02:20] | <mstenta> | svenn: yes that link would help! |
| [18:02:31] | <mstenta> | i can probably get the necessary URL information for the WMS from that |
| [18:02:39] | <mstenta> | brb again... |
| [18:05:14] | <svenn> | qgis is soooo slow at starting up |
| [18:16:42] | <mstenta> | back |
| [18:18:57] | <svenn> | The link I use in "add wm(t)s layer" in qgis is http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts |
| [18:19:10] | <svenn> | but that is just a top level url |
| [18:19:22] | <svenn> | I can't use it directly from chrome |
| [18:19:54] | <svenn> | qgis fetches some data magically behind the scene |
| [18:20:21] | <svenn> | I must admit that I haven't done much homework on openlayers on that link yet |
| [18:21:53] | <mstenta> | actually, this URL might be what we need |
| [18:22:07] | <mstenta> | i need to refresh on how wms works in Openlayers |
| [18:22:21] | <mstenta> | but i think it "magically" appends some GET parameters to the URL to get specific tiles basically |
| [18:22:35] | <mstenta> | i will try something... |
| [18:23:45] | <svenn> | problem is that most of the documentation I find is in norwegian, so it is hard to just give you links |
| [18:23:48] | <mstenta> | it looks like this might actually be "WMTS" (web map tile service) - not WMS |
| [18:23:49] | <mstenta> | https://en.wikipedia.org/wiki/Web_Map_Tile_Service |
| [18:24:05] | <mstenta> | feel free to send links - i may be able to use google translate |
| [18:24:09] | <svenn> | it is wmts, yes |
| [18:24:21] | <mstenta> | maybe wmts works the same as wms... i'm not sure |
| [18:24:24] | <mstenta> | i'll try it |
| [18:24:50] | <svenn> | qgis didn't make a difference |
| [18:24:53] | <svenn> | http://kartverket.no/data/API-og-WMS/ |
| [18:25:06] | <mstenta> | ok that's promising |
| [18:25:19] | <mstenta> | they might behave the same... but just have different features for the people hosting it |
| [18:25:26] | <mstenta> | it sounds like wmts is faster |
| [18:25:31] | <svenn> | http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?Version=1.0.0&se... |
| [18:25:50] | <svenn> | I get nothing in my browser, but that should tell the client what to expect |
| [18:27:12] | <svenn> | I use a layer called "matrikkel_bakgrunn" |
| [18:28:29] | <svenn> | and the layer source in qgis is |
| [18:28:33] | <svenn> | contextualWMSLegend=0&crs=EPSG:25833&dpiMode=7&featureCount=10&format=image/jpeg&layers=matrikkel_bakgrunn&styles=default&tileMatrixSet=EPSG:25833&url=http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts |
| [18:28:55] | <svenn> | for whatever it is worth |
| [18:30:06] | <mstenta> | yea ok - i just found that too (matrikkel_bakgrunn) |
| [18:30:14] | <mstenta> | i'm building a new source in openlayers |
| [18:30:51] | <mstenta> | (what does matrikkel_bakgrunn translate to in english?) |
| [18:31:29] | <svenn> | it is the legal stuff borders, ownership, buildings |
| [18:31:56] | <mstenta> | ok |
| [18:32:06] | <mstenta> | so it is not satellite imagery? |
| [18:32:13] | <mstenta> | is there satellite imagery in this WMTS? |
| [18:32:38] | <svenn> | I have been looking for that, but I think they are behind passwords |
| [18:34:54] | <mstenta> | can you give me an area shape that i can test with? |
| [18:35:18] | <mstenta> | from the "Data" field that you see below the map when you edit an area in farmOS |
| [18:35:32] | <mstenta> | i just need it so that i can more easily zoom the map to a place for testing |
| [18:35:53] | <svenn> | ok, wait a sec. |
| [18:36:18] | <svenn> | I just dump another link I found, to something that may be aerial photos |
| [18:36:28] | <svenn> | http://gatekeeper1.geonorge.no/BaatGatekeeper/gk/gk.nib_utm32_wmts_v2? |
| [18:40:04] | <svenn> | how much of the polygon do you want? I don't want to be kicked for posting too much data at once :) |
| [18:41:18] | <mstenta> | can you draw a simple one? or just a point? you could start creating a new area, and draw a point, then copy and paste the data, but don't save the area |
| [18:42:11] | <svenn> | good idea |
| [18:45:16] | <mstenta> | in the first wmts link you gave me, i see that there are a number of different layers available |
| [18:45:19] | <mstenta> | matrikkel_bakgrunn is the first |
| [18:45:21] | <mstenta> | there are also: |
| [18:45:25] | <mstenta> | topo2 |
| [18:45:38] | <mstenta> | topo2graatone |
| [18:45:42] | <mstenta> | Europakart |
| [18:45:47] | <mstenta> | topo2_direkte |
| [18:45:51] | <mstenta> | sjo_hovedkart2 |
| [18:45:56] | <mstenta> | kartdata2 |
| [18:46:01] | <mstenta> | ERM |
| [18:46:05] | <mstenta> | Arcticerm |
| [18:46:09] | <mstenta> | norges_grunnkart |
| [18:46:14] | <mstenta> | toporaster2_rik |
| [18:46:19] | <mstenta> | norges_grunnkart_graatone |
| [18:46:23] | <mstenta> | arcticsdi_wmts |
| [18:46:29] | <mstenta> | erreng_norgeskart |
| [18:46:47] | <mstenta> | there are a lot more it looks like... |
| [18:46:54] | <mstenta> | i don't know what any of them mean |
| [18:47:00] | <svenn> | POLYGON((11.6434907913208 63.97958079140267,11.643919944763184 63.979637271127274,11.644123792648317 63.979453711605316,11.643721461296082 63.97934545798921,11.6434907913208 63.97958079140267)) |
| [18:47:16] | <mstenta> | thanks |
| [18:48:04] | <svenn> | I am not very familiar with those layers, the ones I looked at had bad resolution |
| [18:49:07] | <mstenta> | hmmm... |
| [18:49:08] | <mstenta> | so... |
| [18:49:14] | <mstenta> | in openlayers i created a new source |
| [18:49:30] | <mstenta> | url: http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts |
| [18:49:35] | <mstenta> | layer: matrikkel_bakgrunn |
| [18:49:39] | <mstenta> | version: 1.0.0 |
| [18:49:49] | <mstenta> | (those are the only three settings i have available in the openlayers UI) |
| [18:50:19] | <mstenta> | and when i go to the map, i see the polygon you gave me, and it looks like it is trying to make requests to the WMTS, but it is giving 501 errors |
| [18:50:25] | <mstenta> | here is one of the URLs it generated: |
| [18:50:29] | <mstenta> | http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?SERVICE=WMS&VERS... |
| [18:51:05] | <svenn> | same here |
| [18:51:10] | <mstenta> | the response says "The server does not support the functionality needed to fulfill this request." |
| [18:51:18] | <mstenta> | i'm not sure what part of that is not working |
| [18:54:23] | <mstenta> | hmm... it looks like it does not have the GetMap operation, which the openlayers module looks for |
| [18:54:47] | <mstenta> | for comparison, here is the WMS service for the NRCS Soil Survey here in the United States: http://sdmdataaccess.nrcs.usda.gov/Spatial/SDM.wms |
| [18:54:54] | <mstenta> | and here is the getcapabilities: |
| [18:55:07] | <mstenta> | http://sdmdataaccess.nrcs.usda.gov/Spatial/SDM.wms?Version=1.1.1&request... |
| [18:55:28] | <mstenta> | notice how the URL that openlayers generated above has REQUEST=GetMap |
| [18:55:48] | <mstenta> | and if you search for "GetMap" it appears in the SDM.wms |
| [18:55:54] | <mstenta> | but not in the gk.open_wmts |
| [18:55:58] | <svenn> | funny, somebody has used openlayers with the norwegian server: |
| [18:56:13] | <svenn> | https://github.com/GeoForum/veiledning08 |
| [18:56:26] | <svenn> | census connected to map |
| [18:57:25] | <mstenta> | oh cool! |
| [18:57:31] | <mstenta> | and it uses the same wmts url! |
| [18:57:56] | <mstenta> | hmm... but it uses ol.source.WMTS |
| [18:57:56] | <svenn> | finally something in english: https://github.com/kartverket/example-clients |
| [18:58:02] | <mstenta> | not ol.source.WMS |
| [18:58:21] | <mstenta> | so it looks like it needs to be WMTS configured in openlayers |
| [18:58:42] | <svenn> | that census link say that they use openlayers3 |
| [18:58:43] | <mstenta> | oh wonderful! |
| [18:58:54] | <mstenta> | ah! i need to go... time for dinner |
| [18:59:02] | <mstenta> | this is good though... lots of information |
| [18:59:07] | <mstenta> | i will take a closer look later |
| [18:59:33] | <svenn> | for openlayers2 it is wms-c from the clients example |
| [18:59:47] | <svenn> | suits me it is 01 am here |