Updated GeoApiProjection

This commit is contained in:
Clemens 2022-01-24 20:43:22 +01:00
parent d61cb51f80
commit 0d602be611
5 changed files with 16 additions and 7 deletions

View file

@ -32,9 +32,9 @@ namespace MapControl.Projections
{
}
public GeoApiProjection(string wkt)
public GeoApiProjection(string coordinateSystemWkt)
{
WKT = wkt;
CoordinateSystemWkt = coordinateSystemWkt;
}
/// <summary>
@ -42,7 +42,7 @@ namespace MapControl.Projections
/// i.e. a PROJCS[...] or GEOGCS[...] string as used by https://epsg.io or http://spatialreference.org.
/// Setting this property updates the CoordinateSystem property with an ICoordinateSystem created from the WKT string.
/// </summary>
public string WKT
public string CoordinateSystemWkt
{
get { return CoordinateSystem?.WKT; }
protected set { CoordinateSystem = new CoordinateSystemFactory().CreateFromWkt(value); }