CityName

Given a latitude and longitude, return the name of the nearest city

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Richard Moore (2026). CityName (https://www.mathworks.com/matlabcentral/fileexchange/56878-cityname), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.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.

Download
1.0.0

Download