plot_openstreetmap
版本 0.1 (418.7 KB) 作者:
Alex Voronov
MATLAB function for plotting maps from OpenStreetMap and OpenSeaMap on the background of a figure
MATLAB function for plotting maps from OpenStreetMap and OpenSeaMap on the background of a figure.
Example:
Plotting several points on a map in Gothenburg archipelago and adding base map from OpenStreetMap (water and land) and overlaying with sea markings from OpenSeaMap.
x = [11.6639 11.7078 11.7754 11.8063 11.8797];
y = [57.6078 57.6473 57.6607 57.6804 57.6886];
figure; plot(x, y, 'o-', 'LineWidth', 2);
hBase = plot_openstreetmap('Alpha', 0.4, 'Scale', 2); % Basemap.
hSea = plot_openstreetmap('Alpha', 0.5, 'Scale', 2, 'BaseUrl', "http://tiles.openseamap.org/seamark"); % Sea marks.
引用格式
Alexey Voronov (2019). plot_openstreetmap (https://www.github.com/alexvoronov/plot_openstreetmap), GitHub. Retrieved July 1, 2019.
MATLAB 版本兼容性
创建方式
R2019a
与 R2014b 及更高版本兼容
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Oceanography and Hydrology 的更多信息
标签
无法下载基于 GitHub 默认分支的版本
| 版本 | 已发布 | 发行说明 | |
|---|---|---|---|
| 0.1 |
|
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
