< 272016-10-28⋎29 >

farmOS (farmos.org) is a free open source, web-based farm management system, built on Drupal.Set by mstenta on 2016-07-29 at 15:37
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:00mstentasvenn: any interest in having your name added to farmos.org/community/supporters/ ?
15:00mstentai 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:53svennmstenta: go ahead.
21:53mstentasvenn: cool! how would you like it to appear?
21:54svennappear?
21:54mstentawhat is your full name?
21:54svennOh, Svenn Bjerkem
21:54mstentagreat! i'll add it
21:54mstenta:-)
21:54svennor, rather Svenn Are Bjerkem
21:55mstentaok
21:56svennRemember we talked about alternative background map through wms earlier this year?
21:56mstentayes
21:57svennI have found out how to add our local wms into qgis. Would that link help you?
21:58svennI mean, you showed me a lot of settings menus for openlayers, but I am old and not good at remembering
21:58mstentasvenn: added - farmos.org/community/supporters/
21:58*reloading page
21:58mstentasvenn: one sec... brb
22:02mstentasvenn: yes that link would help!
22:02mstentai can probably get the necessary URL information for the WMS from that
22:02mstentabrb again...
22:05svennqgis is soooo slow at starting up
22:16mstentaback
22:18svennThe link I use in "add wm(t)s layer" in qgis is opencache.statkart.no/gatekeeper/gk/gk.o
22:19svennbut that is just a top level url
22:19svennI can't use it directly from chrome
22:19svennqgis fetches some data magically behind the scene
22:20svennI must admit that I haven't done much homework on openlayers on that link yet
22:21mstentaactually, this URL might be what we need
22:22mstentai need to refresh on how wms works in Openlayers
22:22mstentabut i think it "magically" appends some GET parameters to the URL to get specific tiles basically
22:22mstentai will try something...
22:23svennproblem is that most of the documentation I find is in norwegian, so it is hard to just give you links
22:23mstentait looks like this might actually be "WMTS" (web map tile service) - not WMS
22:23mstentaen.wikipedia.org/wiki/Web_Map_Tile_Servi
22:24mstentafeel free to send links - i may be able to use google translate
22:24svennit is wmts, yes
22:24mstentamaybe wmts works the same as wms... i'm not sure
22:24mstentai'll try it
22:24svennqgis didn't make a difference
22:24svennkartverket.no/data/API-og-WMS/
22:25mstentaok that's promising
22:25mstentathey might behave the same... but just have different features for the people hosting it
22:25mstentait sounds like wmts is faster
22:25svennopencache.statkart.no/gatekeeper/gk/gk.o
22:25svennI get nothing in my browser, but that should tell the client what to expect
22:27svennI use a layer called "matrikkel_bakgrunn"
22:28svennand the layer source in qgis is
22:28svenncontextualWMSLegend=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:28svennfor whatever it is worth
22:30mstentayea ok - i just found that too (matrikkel_bakgrunn)
22:30mstentai'm building a new source in openlayers
22:30mstenta(what does matrikkel_bakgrunn translate to in english?)
22:31svennit is the legal stuff borders, ownership, buildings
22:31mstentaok
22:32mstentaso it is not satellite imagery?
22:32mstentais there satellite imagery in this WMTS?
22:32svennI have been looking for that, but I think they are behind passwords
22:34mstentacan you give me an area shape that i can test with?
22:35mstentafrom the "Data" field that you see below the map when you edit an area in farmOS
22:35mstentai just need it so that i can more easily zoom the map to a place for testing
22:35svennok, wait a sec.
22:36svennI just dump another link I found, to something that may be aerial photos
22:36svenngatekeeper1.geonorge.no/BaatGatekeeper/g?
22:40svennhow much of the polygon do you want? I don't want to be kicked for posting too much data at once :)
22:41mstentacan 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:42svenngood idea
22:45mstentain the first wmts link you gave me, i see that there are a number of different layers available
22:45mstentamatrikkel_bakgrunn is the first
22:45mstentathere are also:
22:45mstentatopo2
22:45mstentatopo2graatone
22:45mstentaEuropakart
22:45mstentatopo2_direkte
22:45mstentasjo_hovedkart2
22:45mstentakartdata2
22:46mstentaERM
22:46mstentaArcticerm
22:46mstentanorges_grunnkart
22:46mstentatoporaster2_rik
22:46mstentanorges_grunnkart_graatone
22:46mstentaarcticsdi_wmts
22:46mstentaerreng_norgeskart
22:46mstentathere are a lot more it looks like...
22:46mstentai don't know what any of them mean
22:47svennPOLYGON((11.6434907913208 63.97958079140267,11.643919944763184 63.979637271127274,11.644123792648317 63.979453711605316,11.643721461296082 63.97934545798921,11.6434907913208 63.97958079140267))
22:47mstentathanks
22:48svennI am not very familiar with those layers, the ones I looked at had bad resolution
22:49mstentahmmm...
22:49mstentaso...
22:49mstentain openlayers i created a new source
22:49mstentaurl: opencache.statkart.no/gatekeeper/gk/gk.o
22:49mstentalayer: matrikkel_bakgrunn
22:49mstentaversion: 1.0.0
22:49mstenta(those are the only three settings i have available in the openlayers UI)
22:50mstentaand 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:50mstentahere is one of the URLs it generated:
22:50mstentaopencache.statkart.no/gatekeeper/gk/gk.o
22:51svennsame here
22:51mstentathe response says "The server does not support the functionality needed to fulfill this request."
22:51mstentai'm not sure what part of that is not working
22:54mstentahmm... it looks like it does not have the GetMap operation, which the openlayers module looks for
22:54mstentafor comparison, here is the WMS service for the NRCS Soil Survey here in the United States: sdmdataaccess.nrcs.usda.gov/Spatial/SDM.
22:54mstentaand here is the getcapabilities:
22:55mstentasdmdataaccess.nrcs.usda.gov/Spatial/SDM.
22:55mstentanotice how the URL that openlayers generated above has REQUEST=GetMap
22:55mstentaand if you search for "GetMap" it appears in the SDM.wms
22:55mstentabut not in the gk.open_wmts
22:55svennfunny, somebody has used openlayers with the norwegian server:
22:56svenngithub.com/GeoForum/veiledning08
22:56svenncensus connected to map
22:57mstentaoh cool!
22:57mstentaand it uses the same wmts url!
22:57mstentahmm... but it uses ol.source.WMTS
22:57svennfinally something in english: github.com/kartverket/example-clients
22:58mstentanot ol.source.WMS
22:58mstentaso it looks like it needs to be WMTS configured in openlayers
22:58svennthat census link say that they use openlayers3
22:58mstentaoh wonderful!
22:58mstentaah! i need to go... time for dinner
22:59mstentathis is good though... lots of information
22:59mstentai will take a closer look later
22:59svennfor openlayers2 it is wms-c from the clients example
22:59svennsuits me it is 01 am here

< 272016-10-28⋏29 >