Opened 10 years ago
Closed 10 years ago
#5717 closed defect (fixed)
remove quotes for Planetocentric keyword in frmts/pds/isis3dataset.cpp
Reported by: | thare | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.2 |
Component: | GDAL_Raster | Version: | |
Severity: | normal | Keywords: | isis3 |
Cc: |
Description
During the string equality check, the additions of quotes need to be removed -- line 544.
http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/pds/isis3dataset.cpp#L544
proposed fix:
if (EQUAL( value, "Planetocentric" ))
Once fixed, running gdalinfo on the attached test file should report ... Coordinate System is: PROJCS["POLAR_STEREOGRAPHIC MARS",
GEOGCS["GCS_MARS",
DATUM["D_MARS",
SPHEROID["MARS_polarRadius",3376200,0]],
not just
SPHEROID["Mars",3396190,169.8944472236118]],
background: This is an attempt to continue to resolve geocentric / geographic Latitude issues. "ocentric" is commonly used in the planetary community (generally Mars which is defined as an ellipse).
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | polar_ocentric_test_isis3_1MB.cub added |
---|
comment:1 by , 10 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | isis3 added |
Resolution: | → fixed |
Status: | new → closed |
Version: | svn-trunk |
trunk r27909, branches/1.11 r27910 "ISIS3: fix to recognize IsisCube.Mapping.LatitudeType = Planetocentric (#5717, by Trent Hare)"
Test ISIS3 file for PolarStereographic (ocentric latitude)