{"id":1205,"date":"2019-01-24T17:29:50","date_gmt":"2019-01-24T16:29:50","guid":{"rendered":"https:\/\/hannes.enjoys.it\/blog\/?p=1205"},"modified":"2020-09-09T13:12:32","modified_gmt":"2020-09-09T11:12:32","slug":"replicating-a-media-hyped-color-by-numbers-etsy-map-in-10-minutes","status":"publish","type":"post","link":"https:\/\/hannes.enjoys.it\/blog\/2019\/01\/replicating-a-media-hyped-color-by-numbers-etsy-map-in-10-minutes\/","title":{"rendered":"Replicating a media-hyped color by numbers Etsy map in 10 minutes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/old.reddit.com\/r\/MapPorn\/comments\/ajaz42\/the_arteries_of_the_world_map_shows_every_river\/eeu3uj9\/\">https:\/\/old.reddit.com\/r\/MapPorn\/comments\/ajaz42\/the_arteries_of_the_world_map_shows_every_river\/eeu3uj9\/<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Thats beautiful&#8230; how long it took?<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Well, that looks like QGIS&#8217; random colors applied to <a href=\"http:\/\/hydrosheds.org\/\">http:\/\/hydrosheds.org\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I fired up QGIS, extracted the region from eu_riv_15s.zip, realised those rivers came without a corresponding basin, extracted the region from eu_bas_15s_beta.zip, set the map background to black, set the rivers to render in white, set the rivers&#8217; line width to correspond to their UP_CELLS attribute (best with an exponential scale via Size Assistant), put the basins on top, colored them randomly by BASIN_ID, set the layer rendering mode to Darken or Multiply and that was it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/g9pHLBG.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I should open an Etsy store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, I realise that replicating things is easier than creating them. But seriously, this is just a map of features colored by category and all the credit should go to <a href=\"http:\/\/hydrosheds.org\/\">http:\/\/hydrosheds.org\/<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Update<\/h4>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>But Hannes, that original has some gradients!<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Ok, then set the rivers not to white but a grey and the basin layer rendering mode to Overlay instead of Darken.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"609\" src=\"https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/image-700x609.png\" alt=\"\" class=\"wp-image-1208\" srcset=\"https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/image-700x609.png 700w, https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/image-250x217.png 250w, https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/image-768x668.png 768w, https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/image-120x104.png 120w, https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/image.png 945w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>This product incorporates data from the HydroSHEDS database which is \u00a9 World Wildlife Fund, Inc. (2006-2013) and has been used herein under license. WWF has not evaluated the data as altered and incorporated within, and therefore gives no warranty regarding its accuracy, completeness, currency or suitability for any particular purpose. Portions of the HydroSHEDS database incorporate data which are the intellectual property rights of \u00a9 USGS (2006-2008), NASA (2000-2005), ESRI (1992-1998), CIAT (2004-2006), UNEP-WCMC (1993), WWF (2004), Commonwealth of Australia (2007), and Her Royal Majesty and the British Crown and are used under license. The HydroSHEDS database and more information are available at http:\/\/www.hydrosheds.org.<\/em><\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right\"><figure class=\"wp-block-media-text__media\"><video controls src=\"https:\/\/hannes.enjoys.it\/blog\/wp-content\/uploads\/basinmap.mp4\"><\/video><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"wp-block-paragraph\">Update: Someone asked me for more details so I made a video. Because I did not filter the data to a smaller region I did not use a categorical style in this example (300,000 categories QGIS no likey) but simply a random assignment.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/old.reddit.com\/r\/MapPorn\/comments\/ajaz42\/the_arteries_of_the_world_map_shows_every_river\/eeu3uj9\/ Thats beautiful&#8230; how long it took? Well, that looks like QGIS&#8217; random colors applied to http:\/\/hydrosheds.org\/ So I fired up QGIS, extracted the region from eu_riv_15s.zip, realised those rivers came without a corresponding basin, extracted the region from eu_bas_15s_beta.zip, set the map background to black, set the rivers to render in white, set the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,2,31,40],"tags":[],"class_list":["post-1205","post","type-post","status-publish","format-standard","hentry","category-cartography","category-map","category-qgis","category-small-things"],"_links":{"self":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts\/1205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/comments?post=1205"}],"version-history":[{"count":8,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts\/1205\/revisions"}],"predecessor-version":[{"id":1413,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/posts\/1205\/revisions\/1413"}],"wp:attachment":[{"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/media?parent=1205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/categories?post=1205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hannes.enjoys.it\/blog\/wp-json\/wp\/v2\/tags?post=1205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}