From: Daniele R. <dan...@ge...> - 2010-11-05 10:17:13
|
Hi Ivan, did you set the HandleFootprint parameter to false? 2.0.2 relates on 2.6.4 which provides support for footprint (Essentially, a shapefile providing data validity area for each granule composing the mosaic). When using it, each granule is cropped on its footprint borders before doing the mosaic. Therefore, there is no more need to mask a "white-fill" or a "black-fill" or an "inputTransparentColor-fill" to exclude the granule's void area to mosaic it. I have tried your sample data on 2.0.2 by setting the parameter to false and it works fine. Please let me know if you can confirm this. I agree that maybe we can setup the default value for this parameter to false. Regards, Daniele On Thu, Nov 4, 2010 at 1:16 PM, Ivan Grcic <ig...@gm...> wrote: > Hi all, > > Im having problems with setting layer input transparent color since I > upgraded to geoserver 2.0.2. > > I have scanned B&W images, as seen in: > > http://docs.geoserver.org/2.0.2/user/tutorials/image_mosaic_plugin/imagemosaic.html#scanned-maps-mosaic-configuration > > With identical data and identical configuration in geoservers, i cant > get this to work on 2.0.2, while its working just perfect in 2.0.1. > (im attaching two screenshots from both geoservers) > > Has something maybe changed in 2.0.2 regarding to > InputTransparentColor ( or is this maybe a bug)? > > Here is gdalinfo on raster: > Size is 12502, 8335 > Coordinate System is `' > Origin = (537499.953137000091374,651000.012564999982715) > Pixel Size = (0.060000000000000,-0.060000000000000) > Image Structure Metadata: > COMPRESSION=LZW > INTERLEAVE=BAND > Corner Coordinates: > Upper Left ( 537499.953, 651000.013) > Lower Left ( 537499.953, 650499.913) > Upper Right ( 538250.073, 651000.013) > Lower Right ( 538250.073, 650499.913) > Center ( 537875.013, 650749.963) > Band 1 Block=256x256 Type=Byte, ColorInterp=Palette > Overviews: 3126x2084, 1563x1042, 782x521, 391x261, 196x131, 98x66, 49x33 > Image Structure Metadata: > NBITS=1 > Color Table (RGB with 2 entries) > 0: 0,0,0,255 > 1: 255,255,255,255 > > Regards, > Ivan > > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- ------------------------------------------------------- Ing. Daniele Romagnoli Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 mob: +39 328 0559267 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ ------------------------------------------------------- |