{"id":4490,"date":"2024-05-16T01:19:53","date_gmt":"2024-05-16T01:19:53","guid":{"rendered":"https:\/\/blogs.lincoln.ac.nz\/gis\/?p=4490"},"modified":"2024-05-16T01:19:54","modified_gmt":"2024-05-16T01:19:54","slug":"bivariate-curious","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/bivariate-curious\/","title":{"rendered":"Bi(variate) Curious"},"content":{"rendered":"\n<p><em>Using Bivariate Symbology on a map of housing prices<\/em><\/p>\n\n\n\n<p>We&#8217;ve been looking at different mapping strategies lately and this time we&#8217;ll look at an uncommon one, uncommon enough that people are likely to be curious about how it works.  I will admit that I, too, have been curious, having never really used it before.  The method?  <a rel=\"noreferrer noopener\" href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/3.1\/help\/mapping\/layer-properties\/bivariate-colors.htm\" target=\"_blank\">Bivariate Colors<\/a>.  In their own words, ESRI says this method &#8220;shows the quantitative relationship between two variables in a&nbsp;feature layer,&#8221; whatever that means.  The basic idea is that you&#8217;re trying to map two different quantities at one time using solid colours to show the differences.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"174\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Figure.jpg\" alt=\"\" class=\"wp-image-4491\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Figure.jpg 546w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Figure-300x96.jpg 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/figure>\n\n\n\n<p>In theory, this allows you to show how a feature varies across two attributes.  <a rel=\"noreferrer noopener\" href=\"https:\/\/www.youtube.com\/watch?v=X7MziVYtAgY\" target=\"_blank\">It&#8217;s two mints in one!<\/a>  And a potential doubling of displayed information &#8211; or possibly doubling the confusion&#8230;  This came to mind when working with postgrad Reina who was wanting to map study site locations in terms of two variables: whether a farm was a monoculture or a diverse operation and whether the study was done at the farm or catchment scale.  Initially we thought she would need two separate maps, but perhaps Bivariate Colors would work here?  Let&#8217;s find out.<\/p>\n\n\n\n<p>We started with a layer of 185 study sites within Aotearoa spread across the motu:  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"801\" height=\"778\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Sites.jpg\" alt=\"\" class=\"wp-image-4492\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Sites.jpg 801w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Sites-300x291.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Sites-768x746.jpg 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/figure>\n\n\n\n<p>In the table I&#8217;ve got an attribute that tells me at what scale the study was done (Farm or Catchment) and another about the operation type (Monoculture or Diverse):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"361\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Table.jpg\" alt=\"\" class=\"wp-image-4493\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Table.jpg 834w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Table-300x130.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Table-768x332.jpg 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><\/figure>\n\n\n\n<p>To get started with Bivariate Colors, we can choose that as the Primary symbology:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"415\" height=\"499\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Choose-1.jpg\" alt=\"\" class=\"wp-image-4495\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Choose-1.jpg 415w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Choose-1-249x300.jpg 249w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/figure>\n\n\n\n<p>This opens the settings window:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"860\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Settings.jpg\" alt=\"\" class=\"wp-image-4496\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Settings.jpg 408w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Settings-142x300.jpg 142w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/figure>\n\n\n\n<p>Field1 and Field2 are where I can set the attributes to be mapped, but one of the first things I notice is that it doesn&#8217;t honour text fields, meaning I can only use numerical types for this.  So I added two new attributes, ScaleNum and DiverseNum and populated them so that,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scale: Farm = 1, Catchment = 2<\/li>\n\n\n\n<li>Diverse: Monoculture = 3, Diverse = 4<\/li>\n<\/ul>\n\n\n\n<p>I don&#8217;t think it&#8217;s essential that the numbers are all unique; these could just as easily be 0 and 1, methinks.<\/p>\n\n\n\n<p>Now that I&#8217;ve got numbers I can set this up and choose a colour scheme:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"405\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/MoreSettings.jpg\" alt=\"\" class=\"wp-image-4497\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/MoreSettings.jpg 412w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/MoreSettings-300x295.jpg 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/figure>\n\n\n\n<p>And here&#8217;s how that looks on the map:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"618\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FirstGo-1024x618.jpg\" alt=\"\" class=\"wp-image-4498\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FirstGo-1024x618.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FirstGo-300x181.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FirstGo-768x463.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FirstGo.jpg 1271w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Interesting, but does it work?  Can my reader easily know what each point means?  I stared at this for a while and ultimately thought, nah.  But perhaps a bit of relabelling would help clarify what Low and High mean here:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"470\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/SecondGo-1024x470.jpg\" alt=\"\" class=\"wp-image-4499\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/SecondGo-1024x470.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/SecondGo-300x138.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/SecondGo-768x352.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/SecondGo-1536x704.jpg 1536w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/SecondGo.jpg 1906w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Setting the Labels clarifies a bit, but is it working yet?  I didn&#8217;t think so and was about to give up when I thought I might try one more option, again with the labels aiming for something more clear:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"407\" height=\"451\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettings.jpg\" alt=\"\" class=\"wp-image-4500\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettings.jpg 407w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettings-271x300.jpg 271w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettingsMap-1024x458.jpg\" alt=\"\" class=\"wp-image-4501\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettingsMap-1024x458.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettingsMap-300x134.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettingsMap-768x344.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettingsMap-1536x688.jpg 1536w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/FinalSettingsMap.jpg 1903w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I&#8217;m a lot happier with this &#8211; this clarifies things a great deal for me but I had to double-check myself to ensure I had things right (i.e. clicking on sites to make sure I&#8217;ve got the right combinations for the right colours).  And here would be my draft of a final map for public consumption:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"1024\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Bivariate2-948x1024.jpg\" alt=\"\" class=\"wp-image-4502\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Bivariate2-948x1024.jpg 948w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Bivariate2-278x300.jpg 278w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Bivariate2-768x830.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Bivariate2-1421x1536.jpg 1421w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Bivariate2-1895x2048.jpg 1895w\" sizes=\"auto, (max-width: 948px) 100vw, 948px\" \/><\/figure>\n\n\n\n<p>I&#8217;ll say &#8220;draft&#8221; as the legend needs a bit of tweaking to get all the labels displaying but I think it sort of works?  What do you think?  <\/p>\n\n\n\n<p>I have to ask myself after this little jaunt down a less-oft travelled Symbology path&#8230;was it worth it?  Arguably, I could have also done this with Unique Values by assigning a unique value for each combination and ended up at the same place perhaps a simpler to understand legend:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"1024\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Combo1-1-951x1024.jpg\" alt=\"\" class=\"wp-image-4504\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Combo1-1-951x1024.jpg 951w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Combo1-1-279x300.jpg 279w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Combo1-1-768x827.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Combo1-1-1426x1536.jpg 1426w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/03\/Combo1-1-1901x2048.jpg 1901w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/figure>\n\n\n\n<p>Same information, just symoblised in a different way. Which is better?  I think I would lean towards the second one, as it&#8217;s just simpler to interpret.  In this case, Bivariate Colors doesn&#8217;t really add anything to our cause; it may, in fact, complicate it.  But there are <a rel=\"noreferrer noopener\" href=\"https:\/\/resource.esriuk.com\/blog\/bivariates-have-never-been-easier-in-arcgis-pro\/\" target=\"_blank\">cases where it would work well<\/a>.<\/p>\n\n\n\n<p>I guess this gets down to the GIS craftsperson knowing their tools and which one to use for the right purpose.  I suspect this one might spend most of its time in the toolbox, but good to have a better sense of what it can do.<\/p>\n\n\n\n<p>C    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using Bivariate Symbology on a map of housing prices We&#8217;ve been looking at different mapping strategies lately and this time we&#8217;ll look at an uncommon one, uncommon enough that people are likely to be curious about how it works. I will admit that I, too, have been curious, having never really used it before. The [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4490","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/4490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/comments?post=4490"}],"version-history":[{"count":3,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/4490\/revisions"}],"predecessor-version":[{"id":4527,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/4490\/revisions\/4527"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=4490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=4490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=4490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}