
外部サイトにある地図データを読み込むことはできますか?
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 25 Okt. 2013
Bearbeitet: MathWorks Support Team
am 3 Jun. 2020
外部サイトにある地図データを読み込む方法を教えてください。例えば国土地理院ダウンロードサービス内の高速道路時系列データを読み込むことが可能かどうか教えてください。
・国土地理院 国土数値情報ダウンロードサービス
・高速道路時系列データ
Akzeptierte Antwort
MathWorks Support Team
am 3 Jun. 2020
Bearbeitet: MathWorks Support Team
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!