Next time the EPSG database is updated, note that a Krovak parameter has been renamed (and renumbered).
|Reported by:||mikrit||Owned by:||warmerdam|
Hello. This is not yet a problem, but it will turn up when you want to support EPSG version 7.7 and later, so I file this ticket in advance. The Krovak "azimuth" parameter (code 8813) has been renamed to "Co-latitude of cone axis" (code 1036).
Here is the EPSG change request:
Reporter: Mikael Rittri; Carmenta
Request: Review Krovak method defining parameters
Actions Taken: Added parameter 1036. For methods 1041-43 and 9819 and projections and 5218-20 and 19952, changed parameter code 8813 to 1036.
Entity Types Affected: Coordinate operation method; Coordinate operation
Codes Affected: 1041-43 9819; 5218-20 19952
Report Date (UTC): 2010-11-08
Closed Date (UTC): 2010-12-07
I think it was closed later than the EPSG 7.6 release. I didn't realize it at the time, but a name change implies a code change, which affects how GDAL interprets the projection information. For example, in ogr/ogr_fromepsg.cpp, you will need the new code:
#define CoLatConeAxis? 1036
which should be used in Krovak instances. I guess the old parameter name/code,
#define Azimuth 8813
should be accepted in Krovak definitions as well, for backward compatibility and robustness.
Sorry to have caused this trouble,