Opened 14 years ago

Closed 14 years ago

#3402 closed defect (fixed)

r10000 ignores raster layer extent

Reported by: relet Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL Support Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

..in a simple mapfile like the following, which works in r9999.

This is most likely related to the patch - Correct ungeoreferenced defaults via GetExtent() on raster layer (#3368)

MAP
   STATUS On
   SIZE 600 400
   EXTENT -180 -90 180 90
   UNITS DD
   SHAPEPATH "data"   
   IMAGECOLOR 20 20 20

   OUTPUTFORMAT
     NAME 'PNG'
     DRIVER AGG/PNG
     IMAGEMODE RGB
   END

   IMAGETYPE "PNG"
   WEB
      TEMPLATE "template.html"
      IMAGEPATH "/var/www/tmp/"
      IMAGEURL "/tmp/"
   END

   LAYER
     TYPE RASTER
     STATUS DEFAULT
     DATA online_communities.png
     EXTENT -180 -90 180 90
   END
END

Change History (2)

comment:1 by relet, 14 years ago

Version: unspecifiedsvn-trunk (development)

comment:2 by warmerdam, 14 years ago

Resolution: fixed
Status: newclosed

I have confirmed that the changes in r10000 interfered with support of the EXTENT keyword on raster layers. I have corrected this in trunk (r10011) and 5.6 (r10012). I also modifying one of the test suite tests to use the EXTENT keyword in trunk (r10010).

Thanks!

Note: See TracTickets for help on using tickets.