外部サイトにある地図データを読み込むことはできますか?
12 views (last 30 days)
Show older comments
MathWorks Support Team
on 25 Oct 2013
Edited: MathWorks Support Team
on 3 Jun 2020
外部サイトにある地図データを読み込む方法を教えてください。例えば国土地理院ダウンロードサービス内の高速道路時系列データを読み込むことが可能かどうか教えてください。
・国土地理院 国土数値情報ダウンロードサービス
・高速道路時系列データ
Accepted Answer
MathWorks Support Team
on 3 Jun 2020
Edited: MathWorks Support Team
on 3 Jun 2020
SHAPE 形式 (.shp) であれば読み込むことが可能です。
例えば、国土数値情報ダウンロードサービスより高速道路時系列 24 年度版をダウンロードします。
- 高速道路時系列 24 年度版
ダウンロードしますと、N06-12_HighwaySection.shp という shape ファイルがあります。これを使用して、以下の様なコードで高速道路情報を描きます。
h = worldmap('Japan');
getm(h, 'MapProjection');
geoshow('landareas.shp', 'FaceColor', [0.15 0.5 0.15])
geoshow('N06-12_HighwaySection.shp', 'Color', 'yellow')
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!