A wrapper to ProjNet.dll to convert longitude-latitude to x-y coordinate. Default EPSG 3578 SCL. Will accept any other coordinate system / units if provided all the parameters. See Readme.md for example
$ dotnet add package YGGeoSpatialA Helper to call ProjNet, to translate latitude and longitude in degrees to meters
Include this Nuget package in the project file and instantiate and
Test project is provided in the solution to illustrate how instantiate and invoke the email sending functionality
IGeoSpatialService gs = new GeoSpatialService();
var result = await gs.Get3578XY(62, -135);
result.Item1: 369074.38
result.Item2: 836434.20
OR, supply your own coordinate system to the contstructor
The output is a string. If there is any error, the output will show the error
ProjNET.dll
Any new ideas on how to enhance this class without adding much complexity, please adhere to SOLID principle
This project is licensed under the MIT License(LICENSE).