外部サイトにある地図​データを読み込むこと​はできますか?

11 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 25 Oct 2013
外部サイトにある地図データを読み込む方法を教えてください。例えば国土地理院ダウンロードサービス内の高速道路時系列データを読み込むことが可能かどうか教えてください。
・国土地理院 国土数値情報ダウンロードサービス
・高速道路時系列データ

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 3 Juin 2020
Modifié(e) : MathWorks Support Team le 3 Juin 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')

Plus de réponses (0)

Produits


Version

R2012b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!