CityName
Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week
This uses a list of 5000 world cities from the GeoNames data set. Currently, it returns the name of the city with the closest latitude and longitude. An improvement that would better handle high latitude cases would use ground distance.
Citation pour cette source
Richard Moore (2024). CityName (https://www.mathworks.com/matlabcentral/fileexchange/56878-cityname), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Mathematics and Optimization > Mapping Toolbox > Coordinate Reference Systems >
- Radar > Mapping Toolbox > Coordinate Reference Systems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
CityName/
Version | Publié le | Notes de version | |
---|---|---|---|
1.1.0.0 | Updated to use ground distance. Also adds options to: return region name, apply a population threshold, return the distance between the user-provided coordinates and the returned city. |
||
1.0.0.0 |