WORLDDATAMAP wraps the Mapping Toolbox function WORLDMAP (version 2.1 and higher) and adds data to the map. The data may consist of vector data from shapefiles or surface data from a regular data grid. The displayed vector data depicts boundaries for regions, major lakes and rivers, locations of major cities, and if available in the shapefile, region labels.
Kelly Luetkemeyer (2021). WORLDDATAMAP (https://www.mathworks.com/matlabcentral/fileexchange/7550-worlddatamap), MATLAB Central File Exchange. Retrieved .
I get the following error message when trying to use with R2015b:
Error using referenceSphere
The specified superclass 'spheroid' contains a parse error, cannot be found
on MATLAB's search path, or is shadowed by another file with the same name.
Any suggestions on what I do wrong?
Where can I find the shapefiles with the world administrative boundaries (regions, provinces)?
I like it.
If I want to have the countries filled, but all in the same color (not as in patch) how do I do that please?
there are no .shp files added?
This should include all the necessary data instead of forcing the user to find the shape files. For example, trying to run the "worlddatamap cntry02.shp world" example produces an error because cntry02.shp is neither in the zip file nor in the mapping toolbox.
Need a summary of the .shp files added
Why not add a patch so that the user can still use worldhi, etc subroutines? This makes no sense to make the new toolbox NOT backward compatible.
I simply cannot understand why Mathworks has decided to significantly reduce the functionality of MATLAB, but this routine steps into the void. Nevertheless, the documentation could make it easier to find the necessary data for actually plotting the outlines of countries.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!