EPSG Codes & CRS IDs

This commit is contained in:
ClemensFischer 2024-07-12 13:57:27 +02:00
parent b74e5aaf7a
commit ce6f190bf1
18 changed files with 151 additions and 195 deletions

View file

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