troubleshooting Question

C#: Getting started with Nuget Package nGeo

Avatar of trevor1940
trevor1940 asked on
.NET ProgrammingGIS/GPS ProgrammingC#* GIS/Mapping
9 Comments1 Solution84 ViewsLast Modified:
I'm Hopping someone can give me a clue where to start
I have a bunch of coordinates (Latitude, Longitude in WGS84) I need to locate where they are specifically their Country Admin Subdivision ISO-3166-2 codes (ISO-3166-1 is country)
Unfortunately the  data doesn't hold the ISO codes bellow level 0 probably because they may not exist for some regions nor dose Google Maps API  have an API which Will return the information  I need

Example: (don't use demo)

<countryName>United Kingdom</countryName>
<code level="1" type="ISO3166-2">ENG</code>
<code level="2" type="ISO3166-2">CAM</code>



Could someone show me how to do this using the Nuget Package nGeo
The documentation on the How can I use it? is limited

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

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros