NGeo - GeoNames的.NET开发包


MS-PL
Windows
C#

软件简介

NGeo makes it easier to invoke GeoNames and Yahoo! GeoPlanet / PlaceFinder
services in .NET applications.

示例代码:

using (var geoNamesClient = new NGeo.GeoNames.GeoNamesClient())
{
    var toponym = geoNamesClient.Get(6295630, "demo"); // replace with your own username
    // do something with the data
}