EPSG Codes & CRS IDs

This commit is contained in:
ClemensFischer 2024-07-12 14:14:42 +02:00
parent ce6f190bf1
commit 03c18d5126
9 changed files with 66 additions and 72 deletions

View file

@ -17,8 +17,6 @@ namespace MapControl.Projections
/// </summary>
public class WorldMercatorProjection : GeoApiProjection
{
public const int EpsgCode = 3395;
public WorldMercatorProjection()
{
CoordinateSystemWkt
@ -43,7 +41,7 @@ namespace MapControl.Projections
+ "AUTHORITY[\"EPSG\",\"9001\"]],"
+ "AXIS[\"Easting\",EAST],"
+ "AXIS[\"Northing\",NORTH],"
+ $"AUTHORITY[\"EPSG\",\"{EpsgCode}\"]]";
+ "AUTHORITY[\"EPSG\",\"3395\"]]";
}
public override Point GetRelativeScale(Location location)