Uploaded image for project: 'GeoTools'
  1. GEOT-5734

Envelope reprojection returns invalid results for EPSG:3035

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.4, 17.2
    • Component/s: referencing
    • Labels:
      None

      Description

      Reprojecting the envelope of a geotiff footprint, reported by gdalinfo as:

      Upper Left  ( 4029000.000, 3567700.000) (  5d25'13.97"E, 55d 7'51.86"N)
      Lower Left  ( 4029000.000, 2676000.000) (  6d 9' 9.25"E, 47d 7'45.61"N)
      Upper Right ( 4696500.000, 3567700.000) ( 15d53' 2.65"E, 55d 4'36.03"N)
      Lower Right ( 4696500.000, 2676000.000) ( 14d56'42.32"E, 47d 5' 5.19"N)
      Center      ( 4362750.000, 3121850.000) ( 10d35'50.65"E, 51d12'22.23"N)
      

      results in a -180,180 longitude spanning envelope in GeoTools (using ReferencedEnvelope.transform(...) ).

      The code handling pole containment in envelope reprojection fails to notice that for this Lamber the pole is not actually included in the picture.

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              aaime Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: