Hi Miles,
Often this is the result of using just about any sort of lossy compression,
at the border between data and nodata exists a band of "semi-nodata" that is
more or less black. It is very hard to get rid of, since it is a varying
shade of black and other colors resulting from the lossy compression
artifacts at the edge. We had a similar problem with overlapping MrSID
images, and solved it by first converting them to a lossless format (GeoTIFF
Uncompressed), then using the GDAL NearBlack program to "chew" away the
nearly black artifacts from the edges. I wrote a vb.net Wrapper for GDAL
program that does this all automatically, that in the end, creates nice Jpeg
YCbCr, GeoTiff, 3.25 minute, 4326 with overview tiles, ideal for creating
high resolution mosaics of very large (eg the USA) areas anywhere in the
world. This program is here:
http://rasternormalizer.codeplex.com/
Here it is in use on the OKMaps GeoServer site with the 2008 NAIP imagery
for Oklahoma:
http://ogi.state.ok.us/OGI/search.aspx?mapcenterlon=-97.060791015682&mapcenterlat=36.115940822346&mapscale=13&Layers=58d1fa5c-6eb4-4b95-9f42-69cd7277e15d%2Cbc2e120e-520e-40db-a915-60407d411a74%2C&maptype=OLMap
Roger
On Tue, Feb 15, 2011 at 11:33 PM, Simone Giannecchini <
simone.giannecch...@geo-solutions.it> wrote:
> Ciao Martin,
> as miles mentioned you need to fiddle with the inputtransparentcolor
> in order to make a certain color transparent in the source images.
> Notice that the images must share the same background color but from
> your sample it is not clear if this is the case.
> Can you share some more info on this dataset?
>
> Regards,
> Simone Giannecchini
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
> mob: +39 333 8128928
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/simonegiannecchini
> http://twitter.com/simogeo
>
> -------------------------------------------------------
>
>
>
> On Tue, Feb 8, 2011 at 4:49 AM, Miles Jordan <miles.jor...@aad.gov.au>
> wrote:
> > Martin Amaris wrote:
> >> Hi, I have this raster layer, where there are some contiguous images.
> >>
> >> These images has a black or white border, like a filling color.
> >>
> >> In the image overlapping, these borders avoid the complete display of
> >> the images.
> >>
> >> Is there any way, via SLD style or ImageMosaic plugin, that allows
> >> make transparent these borders, or wipe them out?
> >>
> >> In this picture http://twitpic.com/3xi7q0, you can see what I mean
> >
> > Martin,
> >
> > I'm not a huge expert with this part of Geoserver, but as nobody else has
> answered, you may try reading
> http://docs.geoserver.org/stable/en/user/tutorials/image_mosaic_plugin/imagemosaic.htmland
> taking a look at the backgroundValues configuration option.
> >
> > Regards,
> >
> > Miles
> >
> >
> >
> ___________________________________________________________________________
> >
> > Australian Antarctic Division - Commonwealth of Australia
> > IMPORTANT: This transmission is intended for the addressee only. If you
> are not the
> > intended recipient, you are notified that use or dissemination of this
> communication is
> > strictly prohibited by Commonwealth law. If you have received this
> transmission in error,
> > please notify the sender immediately by e-mail or by telephoning +61 3
> 6232 3209 and
> > DELETE the message.
> > Visit our web site at http://www.antarctica.gov.au/
> >
> ___________________________________________________________________________
> >
> ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Geoserver-users mailing list
> > Geoserver-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users