Skip to content

geotiff-geokeys-to-proj4 / ConversionErrors

Interface: ConversionErrors ​

Errors that have occurred during conversion.

If an error has not occurred, it won't be present in this object.

How to process these errors:

  1. If it's your program's user's GeoTIFF then show a warning.
  2. If it's your GeoTIFF then fix it.
  3. If you're sure that file is fine then please create an issue at https://github.com/matafokka/geotiff-geokeys-to-proj4

Extends ​

Properties ​

bothGCSAndPCSAreSet? ​

ts
optional bothGCSAndPCSAreSet?: boolean;

true when the specified CRS is both geodetic and projected, i.e. when both conditions are met:

  1. GeodeticCRSGeoKey and/or GeographicTypeGeoKey is set.
  2. ProjectedCRSGeoKey and/or ProjectedCSTypeGeoKey is set.

In this case, GeographicTypeGeoKey is used.

The cause of this error is invalid geokeys.


conversionNotSupported? ​

ts
optional conversionNotSupported?: number;

Conversion specified in ProjectionGeoKey is not supported by this library.

Value is EPSG conversion code.


coordinateTransformationNotSupported? ​

ts
optional coordinateTransformationNotSupported?: number;

Transformation specified in ProjMethodGeoKey or ProjCoordTransGeoKey is not supported by this library.

Value is the projection's code.

See http://geotiff.maptools.org/spec/geotiff6.html#6.3.3.3 for more information.


CRSNotSupported? ​

ts
optional CRSNotSupported?: number;

EPSG code of the specified CRS that either:

  1. Can't be represented as Proj4 string.
  2. Is new and hasn't been added to this library.

EllipsoidGeoKeyNotSupported? ​

ts
optional EllipsoidGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.EllipsoidGeoKey


EllipsoidInvFlatteningGeoKeyNotSupported? ​

ts
optional EllipsoidInvFlatteningGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.EllipsoidInvFlatteningGeoKey


EllipsoidSemiMajorAxisGeoKeyNotSupported? ​

ts
optional EllipsoidSemiMajorAxisGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.EllipsoidSemiMajorAxisGeoKey


EllipsoidSemiMinorAxisGeoKeyNotSupported? ​

ts
optional EllipsoidSemiMinorAxisGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.EllipsoidSemiMinorAxisGeoKey


GeodeticCRSGeoKeyNotSupported? ​

ts
optional GeodeticCRSGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeodeticCRSGeoKey


GeodeticDatumGeoKeyNotSupported? ​

ts
optional GeodeticDatumGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeodeticDatumGeoKey


GeogAngularUnitsGeoKeyNotSupported? ​

ts
optional GeogAngularUnitsGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogAngularUnitsGeoKey


GeogAngularUnitSizeGeoKeyNotDefined? ​

ts
optional GeogAngularUnitSizeGeoKeyNotDefined?: boolean;

Geokey GeogAngularUnitsGeoKey is set to user-defined but GeogAngularUnitSizeGeoKey is not specified.

In this case, it is assumed that every other key using this key is in degrees.


GeogAngularUnitSizeGeoKeyNotSupported? ​

ts
optional GeogAngularUnitSizeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogAngularUnitSizeGeoKey


GeogEllipsoidGeoKeyNotSupported? ​

ts
optional GeogEllipsoidGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogEllipsoidGeoKey


GeogGeodeticDatumGeoKeyNotSupported? ​

ts
optional GeogGeodeticDatumGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogGeodeticDatumGeoKey


GeogInvFlatteningGeoKeyNotSupported? ​

ts
optional GeogInvFlatteningGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogInvFlatteningGeoKey


GeogLinearUnitsGeoKeyNotSupported? ​

ts
optional GeogLinearUnitsGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogLinearUnitsGeoKey


GeogLinearUnitSizeGeoKeyNotDefined? ​

ts
optional GeogLinearUnitSizeGeoKeyNotDefined?: boolean;

Geokey GeogLinearUnitsGeoKey is set to user-defined but GeogLinearUnitSizeGeoKey is not specified.

In this case, it is assumed that every other key using this key is in meters.


GeogLinearUnitSizeGeoKeyNotSupported? ​

ts
optional GeogLinearUnitSizeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogLinearUnitSizeGeoKey


GeogPrimeMeridianGeoKeyNotSupported? ​

ts
optional GeogPrimeMeridianGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogPrimeMeridianGeoKey


GeogPrimeMeridianLongGeoKeyNotSupported? ​

ts
optional GeogPrimeMeridianLongGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogPrimeMeridianLongGeoKey


GeographicTypeGeoKeyNotSupported? ​

ts
optional GeographicTypeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeographicTypeGeoKey


GeogSemiMajorAxisGeoKeyNotSupported? ​

ts
optional GeogSemiMajorAxisGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogSemiMajorAxisGeoKey


GeogSemiMinorAxisGeoKeyNotSupported? ​

ts
optional GeogSemiMinorAxisGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogSemiMinorAxisGeoKey


GeogTOWGS84GeoKeyNotSupported? ​

ts
optional GeogTOWGS84GeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.GeogTOWGS84GeoKey


PrimeMeridianGeoKeyNotSupported? ​

ts
optional PrimeMeridianGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.PrimeMeridianGeoKey


PrimeMeridianLongitudeGeoKeyNotSupported? ​

ts
optional PrimeMeridianLongitudeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.PrimeMeridianLongitudeGeoKey


ProjAzimuthAngleGeoKeyNotSupported? ​

ts
optional ProjAzimuthAngleGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjAzimuthAngleGeoKey


ProjCenterEastingGeoKeyNotSupported? ​

ts
optional ProjCenterEastingGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjCenterEastingGeoKey


ProjCenterLatGeoKeyNotSupported? ​

ts
optional ProjCenterLatGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjCenterLatGeoKey


ProjCenterLongGeoKeyNotSupported? ​

ts
optional ProjCenterLongGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjCenterLongGeoKey


ProjCenterNorthingGeoKeyNotSupported? ​

ts
optional ProjCenterNorthingGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjCenterNorthingGeoKey


ProjCoordTransGeoKeyNotSupported? ​

ts
optional ProjCoordTransGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjCoordTransGeoKey


ProjectedCRSGeoKeyNotSupported? ​

ts
optional ProjectedCRSGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjectedCRSGeoKey


ProjectedCSTypeGeoKeyNotSupported? ​

ts
optional ProjectedCSTypeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjectedCSTypeGeoKey


ProjectionGeoKeyNotSupported? ​

ts
optional ProjectionGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjectionGeoKey


ProjFalseEastingGeoKeyNotSupported? ​

ts
optional ProjFalseEastingGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjFalseEastingGeoKey


ProjFalseNorthingGeoKeyNotSupported? ​

ts
optional ProjFalseNorthingGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjFalseNorthingGeoKey


ProjFalseOriginEastingGeoKeyNotSupported? ​

ts
optional ProjFalseOriginEastingGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjFalseOriginEastingGeoKey


ProjFalseOriginLatGeoKeyNotSupported? ​

ts
optional ProjFalseOriginLatGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjFalseOriginLatGeoKey


ProjFalseOriginLongGeoKeyNotSupported? ​

ts
optional ProjFalseOriginLongGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjFalseOriginLongGeoKey


ProjFalseOriginNorthingGeoKeyNotSupported? ​

ts
optional ProjFalseOriginNorthingGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjFalseOriginNorthingGeoKey


ProjLinearUnitsGeoKeyNotSupported? ​

ts
optional ProjLinearUnitsGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjLinearUnitsGeoKey


ProjLinearUnitSizeGeoKeyNotDefined? ​

ts
optional ProjLinearUnitSizeGeoKeyNotDefined?: boolean;

Geokey ProjLinearUnitsGeoKey is set to user-defined but ProjLinearUnitSizeGeoKey is not specified.

In this case, it is assumed that every other key using this key is in meters.


ProjLinearUnitSizeGeoKeyNotSupported? ​

ts
optional ProjLinearUnitSizeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjLinearUnitSizeGeoKey


ProjMethodGeoKeyNotSupported? ​

ts
optional ProjMethodGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjMethodGeoKey


ProjNatOriginLatGeoKeyNotSupported? ​

ts
optional ProjNatOriginLatGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjNatOriginLatGeoKey


ProjNatOriginLongGeoKeyNotSupported? ​

ts
optional ProjNatOriginLongGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjNatOriginLongGeoKey


ProjOriginLatGeoKeyNotSupported? ​

ts
optional ProjOriginLatGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjOriginLatGeoKey


ProjOriginLongGeoKeyNotSupported? ​

ts
optional ProjOriginLongGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjOriginLongGeoKey


ProjScaleAtCenterGeoKeyNotSupported? ​

ts
optional ProjScaleAtCenterGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjScaleAtCenterGeoKey


ProjScaleAtNatOriginGeoKeyNotSupported? ​

ts
optional ProjScaleAtNatOriginGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjScaleAtNatOriginGeoKey


ProjScaleAtOriginGeoKeyNotSupported? ​

ts
optional ProjScaleAtOriginGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjScaleAtOriginGeoKey


ProjStdParallel1GeoKeyNotSupported? ​

ts
optional ProjStdParallel1GeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjStdParallel1GeoKey


ProjStdParallel2GeoKeyNotSupported? ​

ts
optional ProjStdParallel2GeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjStdParallel2GeoKey


ProjStdParallelGeoKeyNotSupported? ​

ts
optional ProjStdParallelGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjStdParallelGeoKey


ProjStraightVertPoleLongGeoKeyNotSupported? ​

ts
optional ProjStraightVertPoleLongGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.ProjStraightVertPoleLongGeoKey


verticalCsNotSupported? ​

ts
optional verticalCsNotSupported?: number;

Vertical CS specified in VerticalGeoKey or VerticalCSTypeGeoKey is not supported by this library.

Value is EPSG CS code.


VerticalCSTypeGeoKeyNotSupported? ​

ts
optional VerticalCSTypeGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.VerticalCSTypeGeoKey


verticalCsUnitsNotSupported? ​

ts
optional verticalCsUnitsNotSupported?: number;

Vertical CS specified in VerticalUnitsGeoKey is not supported by this library.

Value is EPSG units of measure code.


VerticalDatumGeoKeyNotSupported? ​

ts
optional VerticalDatumGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.VerticalDatumGeoKey


verticalDatumsNotSupported? ​

ts
optional verticalDatumsNotSupported?: number;

Vertical datums are not supported by this library.

This error is reported when vertical CRS is user-defined and VerticalDatumGeoKey is set.

Value is EPSG datum code.


VerticalGeoKeyNotSupported? ​

ts
optional VerticalGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.VerticalGeoKey


VerticalUnitsGeoKeyNotSupported? ​

ts
optional VerticalUnitsGeoKeyNotSupported?: number;

Inherited from ​

GeoKeys.VerticalUnitsGeoKey