How to view a shape file in matlab
古いコメントを表示
Hello,
I have a .shp file of the country Ireland.
I read the file into matlab using the code:
S = shaperead('Ireland.shp')
My question is how can I view the map?
I would appreciate it if anybody had the time to show me.
Also, is it possible to overlay GPS data on a file of this type?
Thank you
1 件のコメント
alessio grechi
2018 年 10 月 18 日
編集済み: alessio grechi
2018 年 10 月 18 日
ciao. Sei riuscito a far visualizzare la mappa in MatLab?
採用された回答
その他の回答 (2 件)
John
2012 年 12 月 25 日
5 件のコメント
ax = axesm('MapProjection','mercator','MapLatLimit',[50 55.5],...
'MapLonLimit',[-10.5 -5],'Frame','on')
land = shaperead('landareas', 'UseGeoCoords', true);
geoshow(ax, land, 'FaceColor', [0.5 0.7 0.5])
Please read the documentation about axesm() if you want to tweak the display.
John
2012 年 12 月 25 日
John
2012 年 12 月 25 日
José-Luis
2012 年 12 月 25 日
doc plotm
Harold Steven Buitrago Segura
2022 年 4 月 29 日
Maybe you could use the geolimit function
Clelia Massarino
2018 年 9 月 20 日
0 投票
Hello,
I am having problem displaying the Germany map. My final goal is to have one with the elevation or at least different colors to discern different altitudes. I used the same code of you but it starts running endlessly. Any suggestion?
1 件のコメント
Alessandro Mura
2021 年 12 月 21 日
@Clelia Massarino sei riuscito a cambiare i diversi colori della mappa della Germania? se si ti posso chiedere per favore lo script?
ti ringrazio
カテゴリ
ヘルプ センター および File Exchange で Mapping Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
