Hi Andrea,

Thanks. Yes I have Bilinear interpolation on. Nearest N. gave far worse 
results. Hard to see a difference with Bicubic. Also before 
ENABLE_ADVANCED_PROJECTION=false Bilinear gave the best results.

Best,

Just
On 19-02-15 08:50, Andrea Aime wrote:
> Hi Just,
> you do have bilinear interpolation on, yes?
> The issue is known, we are working on a solution, here:
> https://github.com/aaime/geotools/commits/warp_affine_aph
>
> Still need to perform some checks before we merge it. The gist of it is
> that currently in order to handle
> difficult projections we are doing first a reprojection and then a
> rescale to the desired target resolution,
> which with bilinear interpolation result in a double resampling, the
> patch modifies the code paths
> so that we can leverage the "warp/affine" reduction, that is, a code
> path that notices a reprojection
> and and affine need to be performed in sequence, and merges the two in a
> single operation, thus
> getting us a single bilinear resample
>
> Cheers
> Andrea
>
> On Wed, Feb 18, 2015 at 11:07 PM, Just van den Broecke
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hi,
>
>     First of all, I appreciate the hard work you folks, in particular at
>     GeoSolutions, are doing, already for many years, on raster.
>
>     I noticed when upgrading from 2.4.3 to 2.6.1 that reprojected raster
>     images from an Image Mosaic GeoTIFF source became less sharp. I
>     tried many raster settings but to no avail. I noticed that in 2.6.2
>     "Advanced Raster Projection" could be switched off. Via the
>     Java-code it appeared that this can be effected by setting
>     ENABLE_ADVANCED_PROJECTION=__false in e.g. the Tomcat environment
>     settings. After upgrading to 2.6.2 and adding that setting, this
>     immediately gave better/sharper results. See attached image for the
>     differences before/after the setting. The original imagery is in
>     EPSG:28992 and the reprojected/warped in EPSG:900913. There are no
>     problems in rendering in the original projection, only when
>     reprojecting/warping.
>
>     I am not sure why the above worked for me, but I thought I share
>     this. Maybe it helps in further development. I can give more context
>     if needed.
>
>     Best,
>
>     --Just
>
>     Just van den Broecke
>     www.justobjects.nl <http://www.justobjects.nl>
>
>
>
>
>
>
>     
> ------------------------------------------------------------------------------
>     Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>     from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>     with Interactivity, Sharing, Native Excel Exports, App Integration &
>     more
>     Get technology previously reserved for billion-dollar corporations, FREE
>     
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>     _______________________________________________
>     Geoserver-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio
> stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti,
> copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento
> contrario ai principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely
> for the attention and use of the named addressee(s) and may be
> confidential or proprietary in nature or covered by the provisions of
> privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data
> Protection Code).Any use not in accord with its purpose, any disclosure,
> reproduction, copying, distribution, or either dissemination, either
> whole or partial, is strictly forbidden except previous formal approval
> of the named addressee(s). If you are not the intended recipient, please
> contact immediately the sender by telephone, fax or e-mail and delete
> the information in this message that has been received in error. The
> sender does not give any warranty or accept liability as the content,
> accuracy or completeness of sent messages and accepts no responsibility
> for changes made after they were sent or for other risks which arise as
> a result of e-mail transmission, viruses, etc.
>
>
> -------------------------------------------------------



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to