DOI-USGS / ISIS3

Integrated Software for Imagers and Spectrometers v3. ISIS3 is a digital image processing software package to manipulate imagery collected by current and past NASA and International planetary missions.
https://isis.astrogeology.usgs.gov
Other
200 stars 168 forks source link

CAM2MAP Equirectangular CLAT/CLON #1697

Closed ascbot closed 5 years ago

ascbot commented 5 years ago

Author Name: Robert Sucharski (Robert Sucharski)

Original Date: 2013-03-28 Original Assignee: Jean Backer


When running CAM2MAP using a map template with no clat and clon, the output shows clat and clon of zero. I have run MEX, and THEMIS images and get the same results. A simp projection using the same map file does center on the images.

Using public ISIS3: isis3.4.3

     Map Template

Group = Mapping ProjectionName = Equirectangular TargetName = MARS EquatorialRadius = 3396190.0 PolarRadius = 3376200.0 LatitudeType = Planetocentric LongitudeDirection = PositiveEast LongitudeDomain = 360 End_Group

  THEMIS Mapping group output

Group = Mapping ProjectionName = Equirectangular CenterLongitude = 0.0 TargetName = MARS EquatorialRadius = 3396190.0 PolarRadius = 3376200.0 LatitudeType = Planetocentric LongitudeDirection = PositiveEast LongitudeDomain = 360 MinimumLatitude = -6.611822118647 MaximumLatitude = 5.3378466946027 MinimumLongitude = 122.63962030533 MaximumLongitude = 124.8271228736 UpperLeftCornerX = 7269359.8397002 UpperLeftCornerY = 316496.57847842 PixelResolution = 97.684129160007 <meters/pixel> Scale = 606.79967189157 <pixels/degree> CenterLatitude = 0.0 End_Group

ascbot commented 5 years ago

Original Redmine Comment Author Name: Jean Backer (Jean Backer) Original Date: 2013-04-29T22:21:40Z


The Equirectangular projection had the following defaults: CenterLongitude = 0.0 CenterLatitude = -65 deg if the center of the latitude range fell below -65 deg. CenterLatitude = 0 deg if the center of the latitude range fell between -65 deg and 65 deg. CenterLatitude = 65 deg if the center of the latitude range was greater than 65 deg.

These defaults have been changed to be consistent with the center latitude and center longitude defaults of other projections. Now, the midpoint of the lat or lon range will be used for the center unless a Mapping group is used to specify a different center.

ascbot commented 5 years ago

Original Redmine Comment Author Name: Robert Sucharski (Robert Sucharski) Original Date: 2013-04-30T21:02:53Z


Tested CTX, THEMIS IR, HRSC, and Viking and all worked as expected.

Thank you