Re: [mapserver-users] Issues with Bilinear Rendering of Raster Images in MapServer 6.0.0-2
On 11-05-19 12:42 PM, vanwars wrote: Hello, I just upgraded MapServer today on (Ubuntu Lucid Lynx) to 6.0.0-2 from MapServer 5.6.6, and am experiencing a weird error with the bilinear rendering from GeoTiff (the underlying data store) to PNG (the display format). Whereas before there were nice tapered edges and smoothing, there is now a strange black / blue /green border around all of our pngs. I read through the upgrade documentation, and it seems like there have been a number of changes to the way in which rasters are rendered, but I can't figure out the element(s) that I might be able to adjust to get the rasters to look fabulous again. Has anyone run into this particular issue? I've attached before / after pngs. Thank you! Sarah Relevant parts of my map config file http://osgeo-org.1803224.n2.nabble.com/file/n6382806/MapServer5.6BilinearInterpolation.png MapServer5.6BilinearInterpolation.png http://osgeo-org.1803224.n2.nabble.com/file/n6382806/MapServer6.0BilinearInterpolation.png MapServer6.0BilinearInterpolation.png : Sarah, My take would be that previously the nodata value of the raster was being recognised, and was not getting blended with real values but now that is not the case. There have been some advances in this area though now it is looking like a regression in your case. I would appreciate it if you could prepare a ticket with sufficient detail for me to reproduce the problem. Ideally a pointer to the dataset, your mapfile and a shp2img command demonstrating the problem. Make sure to have it assigned to warmerdam or to email me after the ticket is created. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Issues with Bilinear Rendering of Raster Images in MapServer 6.0.0-2
Hello, I just upgraded MapServer today on (Ubuntu Lucid Lynx) to 6.0.0-2 from MapServer 5.6.6, and am experiencing a weird error with the bilinear rendering from GeoTiff (the underlying data store) to PNG (the display format). Whereas before there were nice tapered edges and smoothing, there is now a strange black / blue /green border around all of our pngs. I read through the upgrade documentation, and it seems like there have been a number of changes to the way in which rasters are rendered, but I can't figure out the element(s) that I might be able to adjust to get the rasters to look fabulous again. Has anyone run into this particular issue? I've attached before / after pngs. Thank you! Sarah Relevant parts of my map config file http://osgeo-org.1803224.n2.nabble.com/file/n6382806/MapServer5.6BilinearInterpolation.png MapServer5.6BilinearInterpolation.png http://osgeo-org.1803224.n2.nabble.com/file/n6382806/MapServer6.0BilinearInterpolation.png MapServer6.0BilinearInterpolation.png : MAP ... IMAGETYPE aggpng24 OUTPUTFORMAT NAME aggpng24 DRIVER AGG/PNG MIMETYPE image/png IMAGEMODE RGBA TRANSPARENT ON EXTENSION png END ... LAYER NAME snowpack TYPE RASTER DUMP true OFFSITE 0 0 0 DATA /path_to_directory/the_geotiff.tif EXTENT -124.625 31.875 -113 44 METADATA wms_titlesnowpack gml_include_items all wms_include_items all END STATUS OFF PROCESSING BANDS=1,1,1 PROCESSING RESAMPLE=BILINEAR PROCESSING SCALE=10,500 # Brighter purple gradient PROCESSING LUT_1=1:249, 64:223, 128:200, 220:112, 255:112 #192:174 PROCESSING LUT_2=1:213, 64:184, 128:145, 220:12, 255:12 #192:108 PROCESSING LUT_3=1:242, 64:230, 128:220, 220:242, 255:242 #192:198 PROJECTION proj=longlat ellps=WGS84 datum=WGS84 no_defs END END ... END -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Issues-with-Bilinear-Rendering-of-Raster-Images-in-MapServer-6-0-0-2-tp6382806p6382806.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users