Up until now, however, it has been difficult to replicate the display without resorting to screenshots and their attendant issues with resolution (and sometimes apparent JPEG compression).
While one has been able to export the colours with the tree since version 2 was released, there was no option to match the spatial data. With the release of version 2.1, that is now an option for the Nexus tree exports - there is a new option to export a geotiff file with associated colourmaps that can be used in GIS software.
Some images will show it best. Below are steps to export the data and then to display it in ArcMap or in QGIS.
Note that the process works for continuous as well as discrete colour schemes. Whatever colours were last displayed are what will be used.
This is also the process used to generate Figure 6 in Link-Pérez & Laffan (in press).
Exporting the data
|An example cluster dendrogram with the associated spatial data. It is easy to see the spatial distribution of the various clusters.|
|The Nexus format is needed to export the coloured tree and geotiff,|
|Be sure to select the geotiff option to get the spatial data. If you want the tree colours as well then check that option too ("Export colours").|
Displaying it in ArcMapYou need only add the raster to a data frame, as ArcMap looks for the colourmap automatically (as does ArcGIS Pro if you are using that).
|ArcGIS will automatically see the colourmap file and display the colours as they were in Biodiverse.|
|You can use FigTree to export the coloured tree to a PNG.|
Displaying it in QGISThe QGIS process involves some manual loading of files via the layer properties dialogue.
|In the Style section, set the Render type to be Singleband pseudocolor, then choose the folder icon to "load color map from file". For a nexus file called example.nex, the colourmap file will be called example.nex.txt.|
|And there it is, a display with the same colours as in Biodiverse.|
For more details about Biodiverse, see http://purl.org/biodiverse
To see what Biodiverse has been used for, see https://purl.org/biodiverse/wiki/PublicationsList
You can also join the Biodiverse-users mailing list at http://groups.google.com/group/Biodiverse-users or follow the google plus page: https://plus.google.com/+BiodiverseSoftware
Post a Comment
Note: only a member of this blog may post a comment.