Automatic geolocation map
Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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
- Download zip files from the two archives: whereami and readhgt (includes dem.m);
- unzip and copy/move the following files in your working directory:
whereami.mreadhgt.mreadhgt_srtm_index.txtdem.mlandcolor.m
- 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 users community comments.
Citation pour cette source
François Beauducel (2026). whereami (https://github.com/beaudu/whereami/releases/tag/v1.0.1), GitHub. Extrait(e) le .
Informations générales
- Version 1.0.1 (2,23 Mo)
-
Afficher la licence sur GitHub
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.1 | See release notes for this release on GitHub: https://github.com/beaudu/whereami/releases/tag/v1.0.1 |
||
| 1.0.0 |


