-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reading CoordinateSystemId and other GeoTiff attributes
- Loading branch information
1 parent
3d12846
commit efac2b5
Showing
11 changed files
with
423 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace GeoTiffCOG.Struture | ||
{ | ||
public enum AngularUnits | ||
{ | ||
Radian = 9101, | ||
Degree = 9102, | ||
ArcMinute = 9103, | ||
ArcSecond = 9104, | ||
Grad = 9105, | ||
Gon = 9106, | ||
DMS = 9107, | ||
DMSHemisphere = 9108, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace GeoTiffCOG.Struture | ||
{ | ||
enum GEOTIFF_TAGS | ||
{ | ||
/// <summary> | ||
/// This tag is defining exact affine transformations between raster and model space. Used in interchangeable GeoTIFF files. | ||
/// </summary> | ||
GEOTIFF_MODELPIXELSCALETAG = 33550, | ||
|
||
/// <summary> | ||
/// This tag stores raster->model tiepoint pairs. Used in interchangeable GeoTIFF files. | ||
/// </summary> | ||
GEOTIFF_MODELTIEPOINTTAG = 33922, | ||
|
||
/// <summary> | ||
/// This tag is optionally provided for defining exact affine transformations between raster and model space. Used in interchangeable GeoTIFF files. | ||
/// </summary> | ||
GEOTIFF_MODELTRANSFORMATIONTAG = 34264, | ||
|
||
/// <summary> | ||
/// This tag may be used to store the GeoKey Directory, which defines and references the "GeoKeys". Used in interchangeable GeoTIFF files. | ||
/// </summary> | ||
GEOTIFF_GEOKEYDIRECTORYTAG = 34735, | ||
|
||
/// <summary> | ||
/// This tag is used to store all of the DOUBLE valued GeoKeys, referenced by the GeoKeyDirectoryTag. Used in interchangeable GeoTIFF files. | ||
/// </summary> | ||
GEOTIFF_GEODOUBLEPARAMSTAG = 34736, | ||
|
||
/// <summary> | ||
/// This tag is used to store all of the ASCII valued GeoKeys, referenced by the GeoKeyDirectoryTag. Used in interchangeable GeoTIFF files. | ||
/// </summary> | ||
GEOTIFF_GEOASCIIPARAMSTAG = 34737, | ||
|
||
// TIFF Tag GDAL_METADATA 42112 | ||
GEOTIFF_GDAL_METADATA = 42112, | ||
|
||
// TIFF Tag GDAL_NODATA 42113 | ||
GEOTIFF_GDAL_NODATA = 42113 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace GeoTiffCOG.Struture | ||
{ | ||
public class GEOTiffProperties | ||
{ | ||
public ModelType ModelType { get; set; } | ||
public RasterType RasterType { get; set; } | ||
public ushort GTCitationGeo { get; set; } | ||
public ushort GeogCitation { get; set; } | ||
public ushort GeodeticDatum { get; set; } | ||
public ushort PrimeMeridian { get; set; } | ||
public AngularUnits AngularUnit { get; set; } | ||
public ushort Ellipsoid { get; set; } | ||
public double SemiMajorAxis { get; set; } | ||
public double SemiMinorAxis { get; set; } | ||
public double InvFlattening { get; set; } | ||
public ushort PrimeMeridianLong { get; set; } | ||
public LinearUnits LinearUnit { get; set; } | ||
public ushort CoordinateSystemId { get; set; } | ||
public string GdalMetadata { get; set; } | ||
public string GeotiffAsciiParams { get; set; } | ||
|
||
|
||
} | ||
} |
Oops, something went wrong.