Opened 13 years ago

Closed 13 years ago

#3962 closed defect (fixed)

image not rendered when map.defresolution/map.resolution less than 1:2

Reported by: rgreenwood Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: 6.0
Severity: normal Keywords:
Cc:

Description

Layer is not rendered when map.defresolution/map.resolution less than 1:2. For example, when map.defresolution=72, any value for map.resolution between 73 and 143 fails to render lines. Similarly when map.defresolution=10, any value for map.resolution between 11 and 19 fails to render lines.

Apparently related to driver and IMAGEMODE in MapServer 6.0:

  • IMAGETYPE "gif" fails
  • IMAGETYPE "png" okay
  • IMAGETYPE "png" with DRIVER "AGG/PNG" and IMAGEMODE PC256 fails
  • IMAGETYPE "png" with DRIVER "GD/PNG" fails

Examples using attached data:

  • works:

http://localhost/cgi-bin/mapserv.exe?map=/temp/test.map&mode=map&map.defresolution=72&map.resolution=144

*fails:

http://localhost/cgi-bin/mapserv.exe?map=/temp/test.map&mode=map&map.defresolution=72&map.resolution=140

Attachments (1)

test.zip (12.9 KB ) - added by rgreenwood 13 years ago.

Download all attachments as: .zip

Change History (2)

by rgreenwood, 13 years ago

Attachment: test.zip added

comment:1 by tbonfort, 13 years ago

Resolution: fixed
Status: newclosed

fixed in trunk (r11961) and 6.0 branch (r11963)

Note: See TracTickets for help on using tickets.