Opened 16 years ago

Closed 9 years ago

#2439 closed defect (fixed)

HFA Driver does not handle Gauss Kruger projection

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.8.1
Component: GDAL_Raster Version: 1.5.2
Severity: normal Keywords: HFA
Cc: gaopeng yanchen

Description

failed to read Gauss projection for IMAGINE (hfadataset.cpp misses the handling for EPRJ_GAUSS_KRUGER). Data cr30744_v93.img is attached. (problem7.zip)

http://trac.osgeo.org/gdal/attachment/ticket/2422/problem7.zip

Change History (2)

comment:1 by warmerdam, 16 years ago

Status: newassigned

Reviewing ESRI .prj files, I find examples like this:

PROJCS["ETRS_1989_Kosovo_Grid",
  GEOGCS["GCS_ETRS_1989",
    DATUM["D_ETRS_1989",
     SPHEROID["GRS_1980",6378137.0,298.257222101]],
     PRIMEM["Greenwich",0.0],
     UNIT["Degree",0.0174532925199433]],
  PROJECTION["Gauss_Kruger"],
  PARAMETER["False_Easting",7500000.0],
  PARAMETER["False_Northing",0.0],
  PARAMETER["Central_Meridian",21.0],
  PARAMETER["Scale_Factor",0.9999],
  PARAMETER["Latitude_Of_Origin",0.0],
  UNIT["Meter",1.0]]

However, traditionally I have just thought of Gauss Kruger projection method as being another name for Transverse Mercator. Is there a distinction? Do we need to keep them distinct?

comment:2 by Jukka Rahkonen, 9 years ago

Resolution: fixed
Status: assignedclosed

File trunk/gdal/frmts/hfa/hfadataset.cpp contains:

case EPRJ_TRANSVERSE_MERCATOR:
case EPRJ_GAUSS_KRUGER:

The driver obviously does handle Gauss-Krüger projection nowadays.

Note: See TracTickets for help on using tickets.