DavWEB
DavWEB

Reputation: 450

How to parse geo coordinates in different formats

Does anyone know of a C# library that can parse geo coordinates from one string without having to specify the format upfront. The goal is to enable "google like" data entry and interpretation.

Some formats that should be supported:

Upvotes: 2

Views: 1815

Answers (1)

Simon Bartlett
Simon Bartlett

Reputation: 2030

I've been working on a simple geospatial library which can parse coordinate strings. It is called Geo, and is licensed under the LGPL.

The Coordinate class has a static Parse method, and a couple of static TryParse methods.

Upvotes: 3

Related Questions