I'm assigned to get StatPlanet Plus working with some 3rd-party data to display a thematic map, on a Mac.
I have the custom regions and attribute data in a map.shp/dbf. And I've configured the settings.csv and data.csv according to the manual instructions in the User Guide. (There is some doubt about whether the Excel macros will work properly, especially on a Mac, so I've elected to do the configuration manually in order to eliminate unknowns.)
That guide has good instructions on what to do, but it's hard to find any complete, simple examples of the data.csv, settings.csv, map.shp and map.dbf files (other than the complex world example in StatPlanet_Shapefile_(ESRI)). Most of the maps at http://www.statsilk.com/maps/download-free-shapefile-maps do not include shapefiles. I eventually found that the map for Bhutan did. I used that one as a template for my own data, making only minimal changes to get it to work with my shapefile -- but alas, it still doesn't work.
What works for me:
- The StatPlanet_Shapefile_(ESRI) map out of the box, with its many indicators in several categories, shows the countries of the world, colored according to the selected indicator.
- The StatPlanet_Shapefile_(ESRI) map, with the shp/dbf/settings/data for Bhutan that I downloaded.
- The StatPlanet_Mac app for shapefiles, with my own map.shp and map.dbf dropped in, but without modifying data.csv/settings.csv: This displays the regions from my shp, but of course doesn't color them according to our data (I wouldn't expect it to).
What doesn't work:
- The StatPlanet_Mac app for shapefiles, with my own map.shp and map.dbf, and with my modified data.csv/settings.csv: This displays the StatPlanet splash screen, and nothing further. No error messages are given (even when I run the app from the command line). I imagine there's something wrong with the data.csv and the settings.csv, but as far as I can tell, I've done everything according to the instructions.
Here are the parts of those files that I've modified from the ones that came in the box:
- Set the ID column name next to DBF-ID to GNS_ADM1
- Put in the names and IDs of provinces of Suriname at the bottom under NAMES, e.g. "Nickerie NS14".
- Deleted all rows below the first indicator (row 4)
- Put in my own numbers in row 4, columns L through U
- Put in ID's in row 1, columns L through U (these are values from the GNS_ADM1 column, e.g. NS19)
If you want to look at my file contents in detail, here they are:
And in case anyone asks, yes, I copied the map.dbf and map.shp into both the map/ and web/map/ folders.
So my question boils down to...
- Can anybody see anything wrong with how I've set up my settings.csv or data.csv?
- Does anyone know how to get StatPlanet Plus to output error messages?
So far I've only been using the desktop version of StatPlanet rather than the web version, since it wasn't clear how to use the web version with your own region vector data (and the web also introduces another layer of complexity unnecessary for this assignment).