opengeospatial / geotiff

18 stars 9 forks source link

Missing and inappropriate requirements for Projected CS Parameter Keys #33

Closed rouault closed 5 years ago

rouault commented 6 years ago

The GeoTIFFinOGCtemplate_with-EPSG-changes_RL-2018-05-14.docx and the conversion to adoc have oddities regarding the "Projected CS Parameter Keys" section, when comparing it to the original GeoTIFF spec http://geotiff.maptools.org/spec/geotiff6.html

1) The "Requirements Class GeogAzimuthUnitsGeoKey" is inappropriate for Projected CS geokeys: it should be under the "Geographic CS Parameter GeoKeys" section 2) There are no requirements for the following keys that are valid for Projected CRS

   ProjectionGeoKey               = 3074  /*  Section 6.3.3.2 codes   */
   ProjCoordTransGeoKey           = 3075  /*  Section 6.3.3.3 codes   */
   ProjLinearUnitsGeoKey          = 3076  /*  Section 6.3.1.3 codes   */
   ProjLinearUnitSizeGeoKey       = 3077  /* meters                  */
   ProjStdParallel1GeoKey         = 3078  /* GeogAngularUnit */
   ProjStdParallel2GeoKey         = 3079  /* GeogAngularUnit */
   ProjNatOriginLongGeoKey        = 3080  /* GeogAngularUnit */
   ProjNatOriginLatGeoKey         = 3081  /* GeogAngularUnit */
   ProjFalseEastingGeoKey         = 3082  /* ProjLinearUnits */
   ProjFalseNorthingGeoKey        = 3083  /* ProjLinearUnits */
   ProjFalseOriginLongGeoKey      = 3084  /* GeogAngularUnit */
   ProjFalseOriginLatGeoKey       = 3085  /* GeogAngularUnit */
   ProjFalseOriginEastingGeoKey   = 3086  /* ProjLinearUnits */
   ProjFalseOriginNorthingGeoKey  = 3087  /* ProjLinearUnits */
   ProjCenterLongGeoKey           = 3088  /* GeogAngularUnit */
   ProjCenterLatGeoKey            = 3089  /* GeogAngularUnit */
   ProjCenterEastingGeoKey        = 3090  /* ProjLinearUnits */
   ProjCenterNorthingGeoKey       = 3091  /* ProjLinearUnits */
   ProjScaleAtNatOriginGeoKey     = 3092  /* ratio   */
   ProjScaleAtCenterGeoKey        = 3093  /* ratio   */
   ProjAzimuthAngleGeoKey         = 3094  /* GeogAzimuthUnit */
   ProjStraightVertPoleLongGeoKey = 3095  /* GeogAngularUnit */
cmheazel commented 5 years ago

GeogAzimuthUnitsGeoKey has been moved to Geographic CS Parameter GeoKeys

cmheazel commented 5 years ago

The rest of the missing GeoKey and requirements have been added.