whereami

Automatic geolocation map
24.0 次下载
更新时间 2021/12/9

Automatic geolocation map

whereami.m

The function whereami tries to locate where your computer is and produces a map of illuminated relief topography as new figure, centered on your position. whereami(HOST) allows to specify any host name or IP address. Other options are available (see examples below).

The function needs an internet connection, READHGT and DEM functions, also available at https://github/IPGP/mapping-matlab.

Installation

  1. Download zip files from the two archives: whereami and readhgt (includes dem.m);
  2. unzip and copy/move the following files in your working directory:
    • whereami.m
    • readhgt.m
    • readhgt_srtm_index.txt
    • dem.m
    • landcolor.m
  3. under Matlab or GNU Octave, go to your working directory and type following examples at the command prompt.

Examples

% makes a figure centered on your present position on Earth
whereami
% makes a figure centered on the IPGP institute in Paris, France.
whereami('www.ipgp.fr')

% makes a figure centered on latitude/longitude 53.38°N / 13.06°E,
% which is the GFZ institute in Potsdam, Germany, with a 0.5° height.
whereami([53.38 13.06],0.5)

Author

François Beauducel, beaudu, beauducel@ipgp.fr

Documentation

Type doc whereami for help and syntax. See also View whereami on File Exchange users community comments.

引用格式

François Beauducel (2024). whereami (https://github.com/beaudu/whereami/releases/tag/v1.0.1), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

See release notes for this release on GitHub: https://github.com/beaudu/whereami/releases/tag/v1.0.1

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库