Error Reading a DEM file using "gtopo30" function of the Mapping Toolbox

I am running into an error while reading a DEM file with "W140N40" tile using "gtopo30" function of the Mapping Toolbox. The region tile is for Southern California.

 Réponse acceptée

Start by downloading the "W140N40" tile from here:
Note: This is an archived version.
Note: Make sure to download  "w140n40.hdr.zip" and "w140n40.dmw.zip" and place the extracted HDR and DEM in your MATLAB current folder.
Execute the below commands to get the map of the region:
[Z,refvec] = gtopo30('W140N40',1,[34 36],[-120 -118]);
figure
usamap(Z,refvec);
geoshow(Z,refvec,'DisplayType','surface');
demcmap(Z);

Plus de réponses (0)

Produits

Version

R2017a

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by