What map data is available in MATLAB to load and use with the Mapping Toolbox?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 15 de Mzo. de 2019
Respondida: MathWorks Support Team
el 25 de Mzo. de 2019
I would like to be able to load a set of basic worldwide mapping data that I can use as base layers of my own maps. For example, I would like to be able to load maps of worldwide cities, country and continent borders, roads, streams/rivers, etc.
MATLAB gives an example of loading and plotting built-in coastline data at the following link:
Are there other mapping data sets that I can load in a similar way, and how can I find a list of what data is available?
Respuesta aceptada
MathWorks Support Team
el 15 de Mzo. de 2019
MATLAB provides a set of sample map data that can be loaded and used in the Mapping Toolbox. For a description of the files that are available, run the command:
>> helpwin mapdata
To simply list all of the available files in the command window, run:
>> ls(fullfile(matlabroot, 'toolbox', 'map', 'mapdata'))
To search for additional data that can be used as the base layer of a map, you can utilize the Web Map Service (WMS), which provides public access to hundreds of thousands of layers of geographic data. The Mapping Toolbox contains a database of over 1000 stored WMS servers and provides functions to allow you to search for and retrieve desired data.
The Web Map Service:
Example of retrieving data from a server:
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!