Please help:I have shape file but matlab can not read it
3 次查看(过去 30 天)
显示 更早的评论
data = shaperead('USA_adm2.shp','UseGeoCoords',true,'Selector',{@(name)strcmpi('pennsylvania',name),'NAME_1'});
geoshow(data)
when I run it I got the following error
Error using openShapeFiles>checkSHP (line 67)
Unable to open both USA_adm2.shp and USA_adm2.SHP.
Error in openShapeFiles (line 18)
[basename, ext] = checkSHP(basename,shapeExtensionProvided);
Error in shaperead (line 208)
= openShapeFiles(filename,'shaperead');
Error in Untitled5 (line 1)
data = shaperead('USA_adm2.shp','UseGeoCoords',true,'Selector',{@(name)strcmpi('pennsylvania',name),'NAME_1'});
what should I do in this case?
Thank You in advance
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!