how do i open a shapefile in matlab when the shapefile is not stored in the matlab directory?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
This is what I've tried till now and these are the errors I'm getting:
>> S = shaperead('F:\sujai\3\glims_download_09733\glims_points.shp');
Error using openShapeFiles>readHeaderTypeCode (line 146)
Unsupported shape type PointZ (type code = 11).
Error in openShapeFiles (line 24)
headerTypeCode = readHeaderTypeCode(shpFileId,callingFcn);
Error in shaperead (line 207)
[shpFileId, shxFileId, dbfFileId, headerTypeCode] ...
0 comentarios
Respuestas (1)
Walter Roberson
el 5 de Sept. de 2016
m_map third party toolbox can read .shp files with type 11 (PointZ) data.
It has nothing to do with which directory you are in: that particular shp file format is not supported for shaperead() in the MATLAB version you are using.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!