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