Opened 9 years ago

Closed 9 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)

polar_ocentric_test_isis3_1MB.cub (739.8 KB ) - added by thare 9 years ago.
Test ISIS3 file for PolarStereographic (ocentric latitude)

Download all attachments as: .zip

Change History (2)

by thare, 9 years ago

Test ISIS3 file for PolarStereographic (ocentric latitude)

comment:1 by Even Rouault, 9 years ago

Component: defaultGDAL_Raster
Keywords: isis3 added
Resolution: fixed
Status: newclosed
Version: svn-trunk

trunk r27909, branches/1.11 r27910 "ISIS3: fix to recognize IsisCube.Mapping.LatitudeType = Planetocentric (#5717, by Trent Hare)"

Note: See TracTickets for help on using tickets.