外部サイトにある地図データを読み込むことはできますか?
12 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2013 年 10 月 25 日
編集済み: MathWorks Support Team
2020 年 6 月 3 日
外部サイトにある地図データを読み込む方法を教えてください。例えば国土地理院ダウンロードサービス内の高速道路時系列データを読み込むことが可能かどうか教えてください。
・国土地理院 国土数値情報ダウンロードサービス
・高速道路時系列データ
採用された回答
MathWorks Support Team
2020 年 6 月 3 日
編集済み: MathWorks Support Team
2020 年 6 月 3 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!