scottschluer / geolocation

A C# class library that will calculate distance and cardinal direction between two sets of coordinates and provides the lat/long boundaries around an origin coordinate allowing for simple SQL or LINQ selection of locations within the given radius.
MIT License
203 stars 46 forks source link

add coords of cities as static types (like in rust) #18

Closed dzmitry-lahoda closed 1 year ago

madelson commented 1 year ago

Is this asking for a bunch of static fields like so?

public static class CityCoordinates
{
    public static Coordinate Paris => ...
=
}

?

If so, I can't say I'm a fan. I feel like that kind of data could be ambiguous (which point in the city to pick) or even shift over time; not a good fit for a utility library like this IMO.