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

29 visualizaciones (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 25 de Oct. de 2013
Editada: MathWorks Support Team el 3 de Jun. de 2020
外部サイトにある地図データを読み込む方法を教えてください。例えば国土地理院ダウンロードサービス内の高速道路時系列データを読み込むことが可能かどうか教えてください。
・国土地理院 国土数値情報ダウンロードサービス
・高速道路時系列データ

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 3 de Jun. de 2020
Editada: MathWorks Support Team el 3 de Jun. de 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')

Más respuestas (0)

Etiquetas

Productos


Versión

R2012b

Community Treasure Hunt

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

Start Hunting!