[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-\u002Fblog\u002Fagriculture-map-layers-zoom-colour-click-fixed":3},{"id":4,"title":5,"author":6,"body":7,"category":308,"cover":309,"date":310,"description":311,"extension":312,"meta":313,"navigation":314,"path":315,"seo":316,"stem":317,"tags":318,"__hash__":324},"blog\u002Fblog\u002Fagriculture-map-layers-zoom-colour-click-fixed.md","Agriculture Map Layers Fixed: They Now Draw at Province Zoom, Colour Every Class, and Open on Click","Township Canada",{"type":8,"value":9,"toc":298},"minimark",[10,19,22,27,30,52,55,59,72,75,79,96,102,105,116,127,131,148,203,224,228,231,234,238,277,295],[11,12,13,14,18],"p",{},"Picture an agronomist comparing Saskatchewan Crown land across the province before a week of field visits. She turns on ",[15,16,17],"strong",{},"SK Crown Land"," in the Layers panel at a province-wide view, and nothing appears. She zooms in until polygons show up, and they are all the same grey. She clicks one to see what it is, and nothing happens.",[11,20,21],{},"None of those steps produced an error. The data was in the tiles the whole time. The layers were asking for it the wrong way, so the map looked empty, colourless, or unresponsive with no hint as to why. If you hold the Agriculture add-on and gave up on these layers, this post explains what was wrong and what works now.",[23,24,26],"h2",{"id":25},"three-ways-a-layer-can-look-broken-without-saying-so","Three ways a layer can look broken without saying so",[11,28,29],{},"The faults were separate, and each one hid a different part of the data:",[31,32,33,40,46],"ul",{},[34,35,36,39],"li",{},[15,37,38],{},"Zoom."," Several layers waited for a closer zoom level than their data needed, so a province view showed gaps.",[34,41,42,45],{},[15,43,44],{},"Colour."," Two layers coloured their polygons by class names the source data does not use, so most polygons fell through to the grey fallback.",[34,47,48,51],{},[15,49,50],{},"Click."," Five layers had no working click handler, so selecting a polygon did nothing.",[11,53,54],{},"We fixed all three at the end of August and followed up in September with the remaining colour gaps. Every fix below is live on the web map today.",[23,56,58],{"id":57},"zoom-the-layers-now-draw-from-a-province-view","Zoom: the layers now draw from a province view",[11,60,61,62,64,65,64,68,71],{},"Every tile archive behind these layers is built from zoom level 4, which is roughly the view where a whole province fits on screen. However, ",[15,63,17],{},", ",[15,66,67],{},"Soil Survey",[15,69,70],{},"Ag Capability"," (BC), and the BC Freshwater Atlas wetlands each told the map to wait until zoom 6. At a province view the data existed but was never drawn.",[11,73,74],{},"They now draw from zoom 4. This matters for orientation. Before you plan where to go, you want to see where Crown land clusters, where the better capability classes sit, or how far a soil polygon runs, without zooming into one corner first. The zoom chip on each layer row in the Layers panel shows the range where it draws, so you can check it yourself.",[23,76,78],{"id":77},"colour-every-published-class-now-gets-a-colour","Colour: every published class now gets a colour",[11,80,81,83,84,87,88,91,92,95],{},[15,82,17],{}," was painting six land-use classes that Saskatchewan has never published. Since nothing matched, every polygon received the grey fallback colour. The province's Crown land table publishes two things: a tenure status (Occupied, Vacant, Inactive, or Sold) and a use class (Agriculture, or Non-agriculture and water). The layer now colours by ",[15,85,86],{},"tenure status"," by default, because \"is this quarter already leased?\" is the question the layer exists to answer. Use the ",[15,89,90],{},"View"," switcher under the layer to recolour it by ",[15,93,94],{},"Use",".",[11,97,98,101],{},[15,99,100],{},"Ag Summary"," had a similar problem with its land use view. The AAFC National Land Use dataset (version 5) publishes 37 detailed class labels, such as \"Forest wetland\" or \"Newly-detected vegetated settlement\". The layer only matched the 8 broad parent groups (Cropland, Forest, Settlement, and so on). As a result, roughly 85% of quarter sections showed up grey. The colours now come from the same class table that the parcel report's land use card and the popup breakdown use. Each of the 37 labels maps to its parent group's colour, so the map, the legend, and the report agree on what \"Forest\" looks like.",[11,103,104],{},"Two smaller changes came with this fix:",[31,106,107,110],{},[34,108,109],{},"About 136,000 quarter sections carry an explicit \"Unclassified\" soil order. They now have their own colour in Ag Summary's soil view, so a surveyed quarter with no order assigned no longer looks the same as a quarter with no data.",[34,111,112,115],{},[15,113,114],{},"SK Pastures"," now separates provincial pastures (the SPP program) from the former federal PFRA community pastures, which have since been divested.",[11,117,118,119,122,123,126],{},"The September follow-up closed the remaining gaps. Matching is no longer case-sensitive, so a class spelled \"Other land\" and \"Other Land\" paints the same. Missing LSRS and CLI values no longer paint as a score of 0. Instead, quarters without a rating show as ",[15,120,121],{},"Not rated"," or ",[15,124,125],{},"No data"," in the legend. LSRS is rated in Alberta only, so outside Alberta every quarter used to read as the bottom of the scale. Now an unrated quarter looks like what it is: unrated.",[23,128,130],{"id":129},"click-five-layers-now-open-a-popup","Click: five layers now open a popup",[11,132,133,64,135,64,137,140,141,143,144,147],{},[15,134,17],{},[15,136,114],{},[15,138,139],{},"BC Agricultural Land Reserve",", and ",[15,142,70],{}," had no click handler at all. ",[15,145,146],{},"Soil Landscapes"," had one, but under the wrong name, so its clicks were caught and then dropped. All five now open a popup. Each popup lists details for that layer:",[149,150,151,164],"table",{},[152,153,154],"thead",{},[155,156,157,161],"tr",{},[158,159,160],"th",{},"Layer",[158,162,163],{},"What the popup shows",[165,166,167,175,182,189,196],"tbody",{},[155,168,169,172],{},[170,171,17],"td",{},[170,173,174],{},"Tenure status and use, area in acres, parcel count, and the description",[155,176,177,179],{},[170,178,114],{},[170,180,181],{},"Pasture name, program (SPP or former PFRA), area, and the divestment year where there is one",[155,183,184,186],{},[170,185,139],{},[170,187,188],{},"Whether the polygon is in the ALR, and the province",[155,190,191,193],{},[170,192,70],{},[170,194,195],{},"Alberta: the LSRS rating and main limitation. BC: the main limitation and the unimproved and improved capability classes",[155,197,198,200],{},[170,199,146],{},[170,201,202],{},"Soil order",[11,204,205,206,209,210,213,214,217,218,223],{},"Under the details, the popup offers ",[15,207,208],{},"Open parcel report"," with an ",[15,211,212],{},"Agriculture"," and an ",[15,215,216],{},"Energy"," button for that location. The ",[219,220,222],"a",{"href":221},"\u002Fguides\u002Fparcel-report-sidebar","parcel report sidebar guide"," covers what each tab contains.",[23,225,227],{"id":226},"sk-crown-land-labels-show-the-legal-land-description","SK Crown Land labels show the legal land description",[11,229,230],{},"The labels on SK Crown Land polygons used to draw blank. The label layer asked for a name property that the label tiles do not carry. Labels now show the legal land description of each polygon, which is what identifies Crown land in practice, from zoom 10 upward.",[11,232,233],{},"The popup deliberately leaves out a holder or lessee. Saskatchewan fills the source table's name field with parcel identifiers (for example, \"Parcel 1-NE-32-17-20-2\") on every row, not with the name of a lessee. Showing that value as a holder would suggest information the data does not contain, so the popup shows the parcel count and acreage instead.",[23,235,237],{"id":236},"where-to-find-these-layers","Where to find these layers",[239,240,241,248,254,271],"ol",{},[34,242,243,244,247],{},"Open the map and click the ",[15,245,246],{},"Layers"," button in the bottom-right corner.",[34,249,250,251,253],{},"Expand the ",[15,252,212],{}," category under Data Layers.",[34,255,256,257,64,259,64,261,64,263,64,265,267,268,270],{},"Turn on ",[15,258,17],{},[15,260,114],{},[15,262,139],{},[15,264,70],{},[15,266,67],{},", or ",[15,269,100],{},". Soil Landscapes sits in the same category and does not need the add-on.",[34,272,273,274,276],{},"Use the ",[15,275,90],{}," switcher under a layer to change what it is coloured by, and click any polygon for its popup.",[11,278,279,280,284,285,289,290,294],{},"The ",[219,281,283],{"href":282},"\u002Fguides\u002Fmap-layers","Map Layers guide"," explains the panel, legends, and views in more detail. Most of these layers come with the Agriculture add-on, which stacks on a Pro or Business plan. The ",[219,286,288],{"href":287},"\u002Fguides\u002Fagriculture-add-on","Agriculture add-on guide"," covers the full set of layers and the parcel report, and ",[219,291,293],{"href":292},"\u002Fpricing#bundles","pricing"," lists the add-on and its trial.",[11,296,297],{},"Turning layers on and clicking polygons does not count toward your monthly report allowance. Only opening a parcel's report does.",{"title":299,"searchDepth":300,"depth":300,"links":301},"",2,[302,303,304,305,306,307],{"id":25,"depth":300,"text":26},{"id":57,"depth":300,"text":58},{"id":77,"depth":300,"text":78},{"id":129,"depth":300,"text":130},{"id":226,"depth":300,"text":227},{"id":236,"depth":300,"text":237},"product",null,"2026-11-16","Three silent faults in the Agriculture map layers are fixed: layers draw from zoom 4, every published class gets a colour, and clicks open a popup.","md",{},true,"\u002Fblog\u002Fagriculture-map-layers-zoom-colour-click-fixed",{"title":5,"description":311},"blog\u002Fagriculture-map-layers-zoom-colour-click-fixed",[319,320,321,322,323],"Agriculture Bundle","Map Layers","Saskatchewan","British Columbia","Fix","Wf7o3v8mCjkwraeKqo2C5AlIwZjvFbfcPlEUWF24nLk"]