Ticket #4070 (new defect)

Opened 2 years ago

HF2 driver GetProjectionRef doesn't report minimal WKT

Reported by: rayg Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.8.0
Severity: normal Keywords: GetProjectionRef, WKT, ground unit
Cc:

Description

If an HF2/HFZ file has ground extents but nothing else, the pszWKT string will be left null when it should do a minimal WKT such as LOCAL_CS[,UNIT["m",1]] (or "ft" if the units were feet). Currently when I export, the ground_extents block is written but when read back, the ground units are not reported in GetProjectionRef?().

Note: See TracTickets for help on using tickets.