Question on two Soil Grids layers from the FTP site

112 views
Skip to first unread message

Devin Routh

unread,
Jul 11, 2017, 1:23:41 PM7/11/17
to Global Soil Information
Hi everyone,

Firstly: thanks so much to the Soil Grids developers and team—these data products are amazing! 🌄

To my question: I downloaded the two "Predicted most probable class" layers (WRB and USDA) from the FTP site, and I noticed that they both have just one band each that seems as though it might correspond to the R values from an RGB image. Per the legends on these two images from the FTP site, users need the full RGB values (or corresponding hex color codes) to discern the class at each pixel location. Are there perhaps full RGB value images available for these two layers?

Thanks again!

Cheers,
Devin Routh

Tomislav Hengl

unread,
Jul 12, 2017, 4:43:45 AM7/12/17
to global-soil...@googlegroups.com

Hi Devin,

Values in ftp://ftp.soilgrids.org/data/recent/TAXNWRB_250m_ll.tif are
coded soil types. To get full colors use the legend
ftp://ftp.soilgrids.org/legends/TAXNWRB.qml (QGIS legend file) or build
your own legend using e.g.
ftp://ftp.soilgrids.org/data/recent/SoilGrids250m_TAXNWRB_legend_June_2016.pdf

These are the official colors used also in:

https://www.soilgrids.org/#!/?lon=-79.6922501&lat=35.7437485&zoom=10&layer=TAXNWRB_250m&baseMap=road&showInfo=1

Thanks for your kind words,

--
T. (Tom) Hengl
Researcher @ ISRIC - World Soil Information
Url: http://www.isric.org/tomhengl
Network: http://profiles.google.com/tom.hengl
Publications: http://scholar.google.com/citations?user=2oYU7S8AAAAJ
ORCID ID: http://orcid.org/0000-0002-9921-5129
> --
> You received this message because you are subscribed to the Google
> Groups "Global Soil Information" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to global-soil-infor...@googlegroups.com
> <mailto:global-soil-infor...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/global-soil-information.
> For more options, visit https://groups.google.com/d/optout.

Devin Routh

unread,
Jul 12, 2017, 1:27:07 PM7/12/17
to Global Soil Information
Hi Tom,

Thanks for the quick reply! Ahh, I think I see where I got mixed up: I had only read the PDF version of the legend (as it accompanies the TIF file in the same directory) and was confused as the pixel integer values didn't seem like enough information to decode the classes' full RGB / Hex-color values. After perusing the QGIS legend file that you referenced (I wasn't previously aware of the "legends" directory on the FTP site), I see that these coded integer values correspond to the order in which the classes are listed in the PDF legend file. (The "value" part of the .qml cued this realization for me.) So, my confusion has been cleared. 👍

Thanks again for such an awesome collection of soil data! 🌠

Cheers,
Devin

Reply all
Reply to author
Forward
0 new messages