mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
Added orthographic and stereographic projections
This commit is contained in:
parent
d825b50062
commit
ae1a77679c
10 changed files with 457 additions and 371 deletions
|
|
@ -22,19 +22,19 @@ namespace MapControl.Projections
|
|||
}
|
||||
|
||||
Zone = zone;
|
||||
CoordinateSystemWkt
|
||||
= $"PROJCS[\"ETRS89 / UTM zone {zone}N\","
|
||||
+ WktConstants.GeogCsEtrs89 + ","
|
||||
+ "PROJECTION[\"Transverse_Mercator\"],"
|
||||
+ "PARAMETER[\"latitude_of_origin\",0],"
|
||||
+ $"PARAMETER[\"central_meridian\",{6 * zone - 183}],"
|
||||
+ "PARAMETER[\"scale_factor\",0.9996],"
|
||||
+ "PARAMETER[\"false_easting\",500000],"
|
||||
+ "PARAMETER[\"false_northing\",0],"
|
||||
+ "UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],"
|
||||
+ "AXIS[\"Easting\",EAST],"
|
||||
+ "AXIS[\"Northing\",NORTH],"
|
||||
+ $"AUTHORITY[\"EPSG\",\"258{zone:00}\"]]";
|
||||
CoordinateSystemWkt =
|
||||
$"PROJCS[\"ETRS89 / UTM zone {zone}N\"," +
|
||||
WktConstants.GeogCsEtrs89 + "," +
|
||||
"PROJECTION[\"Transverse_Mercator\"]," +
|
||||
"PARAMETER[\"latitude_of_origin\",0]," +
|
||||
$"PARAMETER[\"central_meridian\",{6 * zone - 183}]," +
|
||||
"PARAMETER[\"scale_factor\",0.9996]," +
|
||||
"PARAMETER[\"false_easting\",500000]," +
|
||||
"PARAMETER[\"false_northing\",0]," +
|
||||
"UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]]," +
|
||||
"AXIS[\"Easting\",EAST]," +
|
||||
"AXIS[\"Northing\",NORTH]," +
|
||||
$"AUTHORITY[\"EPSG\",\"258{zone:00}\"]]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue