[Geoserver-users] Interpolation for raster layers

Yes, thanks again, it is neat that Simone did such a fast job !
The nightly 1.7.x-073008 gives a happy result:

wms-17x-073008-bicubic-png8.png (455x550, bicubic)

Now, would it be possible to *somehow* permit other types of antialiasing - possibly user-defined?

A concrete example follows. If Geoserver could achieve that kind of antialiasing, that would be wonderful!

Best regards,

Guillaume Lathoud
Alpstein Tourismus GmbH
http://www.alpstein-tourismus.de
--------------------------------

Example:

* Fetch the double size from Geoserver:

wms-17x-073008-nn-910x1100-png8.png (910x1100, nearest neighbour)

* Reduce it with Image Magick:

wms-17x-073008-nn-910x1100-ImageMagick-png8.png (455x550, Image Magick 6.4.1-q8-win32)

--- En date de : Mer 30.7.08, Alexander Petkov <greenkov@anonymised.com> a écrit :

De: Alexander Petkov <greenkov@anonymised.com>
Objet: Re: [Geoserver-users] Interpolation for raster layers
À: "Andrea Aime" <aaime@anonymised.com>
Cc: glathoud@anonymised.com, "geoserver users" <geoserver-users@anonymised.comge.net>
Date: Mercredi 30 Juillet 2008, 21h34
Thanks for the committed fix, it came just in time for a
down to the
wire project.

Alex

On Mon, Jul 28, 2008 at 6:57 AM, Andrea Aime
<aaime@anonymised.com> wrote:
> Guillaume Lathoud ha scritto:
>> Thanks Andrea for the answer.
>>
>> That would indeed fulfill our requirements!
>>
>> Unfortunately, for an image mosaicking raster
layer, changing the interpolation (*) yielded *exactly* the
same result (**).
>
> Hum, I'm trying out with 1.7.0-beta and it seems
indeed the settings are
> ignored (http://jira.codehaus.org/browse/GEOS-2057).
> Which version of GeoServer are you using?
>
>> (*) (Configuration > WMS > Rendering)
>> (**) also with format_options=antialias:full in
the WMS request.
>
>> I initially wrote you because in "Step
3" of this page:
>>
http://geoserver.org/display/GEOSDOC/5+Optimizing+WMS+output
>>
>> it is written:
>> 4. image/png &
format_options=antialias:none:
>> Same as full color png -> with rasters the
antialias option is ignored.
>
> Correct, antialias only affects vector output, it does
not make sense
> with raster one, which should be affected by
interpolation setting
> instead.
>
> Cheers
> Andrea
>
>
-------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
> Build the coolest Linux based applications with Moblin
SDK & win great prizes
> Grand prize is a trip for two to an Open Source event
anywhere in the world
>
http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

      _____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

wms-17x-073008-bicubic-png8.png

wms-17x-073008-nn-910x1100-png8.png

wms-17x-073008-nn-910x1100-ImageMagick-png8.png

Ciao Guillaume,
could you please give more infof about what you would like to achieve,
My suspect is that it is not a matter of better interpolation rather
than a matter of better color quantization.

Ciao,
Simone.

On Thu, Jul 31, 2008 at 12:42 PM, Guillaume Lathoud <glathoud@anonymised.com> wrote:

Yes, thanks again, it is neat that Simone did such a fast job !
The nightly 1.7.x-073008 gives a happy result:

wms-17x-073008-bicubic-png8.png (455x550, bicubic)

Now, would it be possible to *somehow* permit other types of antialiasing - possibly user-defined?

A concrete example follows. If Geoserver could achieve that kind of antialiasing, that would be wonderful!

Best regards,

Guillaume Lathoud
Alpstein Tourismus GmbH
http://www.alpstein-tourismus.de
--------------------------------

Example:

* Fetch the double size from Geoserver:

wms-17x-073008-nn-910x1100-png8.png (910x1100, nearest neighbour)

* Reduce it with Image Magick:

wms-17x-073008-nn-910x1100-ImageMagick-png8.png (455x550, Image Magick 6.4.1-q8-win32)

--- En date de : Mer 30.7.08, Alexander Petkov <greenkov@anonymised.com> a écrit :

De: Alexander Petkov <greenkov@anonymised.com>
Objet: Re: [Geoserver-users] Interpolation for raster layers
À: "Andrea Aime" <aaime@anonymised.com>
Cc: glathoud@anonymised.com, "geoserver users" <geoserver-users@anonymised.comrge.net>
Date: Mercredi 30 Juillet 2008, 21h34
Thanks for the committed fix, it came just in time for a
down to the
wire project.

Alex

On Mon, Jul 28, 2008 at 6:57 AM, Andrea Aime
<aaime@anonymised.com> wrote:
> Guillaume Lathoud ha scritto:
>> Thanks Andrea for the answer.
>>
>> That would indeed fulfill our requirements!
>>
>> Unfortunately, for an image mosaicking raster
layer, changing the interpolation (*) yielded *exactly* the
same result (**).
>
> Hum, I'm trying out with 1.7.0-beta and it seems
indeed the settings are
> ignored (http://jira.codehaus.org/browse/GEOS-2057).
> Which version of GeoServer are you using?
>
>> (*) (Configuration > WMS > Rendering)
>> (**) also with format_options=antialias:full in
the WMS request.
>
>> I initially wrote you because in "Step
3" of this page:
>>
http://geoserver.org/display/GEOSDOC/5+Optimizing+WMS+output
>>
>> it is written:
>> 4. image/png &
format_options=antialias:none:
>> Same as full color png -> with rasters the
antialias option is ignored.
>
> Correct, antialias only affects vector output, it does
not make sense
> with raster one, which should be affected by
interpolation setting
> instead.
>
> Cheers
> Andrea
>
>
-------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
> Build the coolest Linux based applications with Moblin
SDK & win great prizes
> Grand prize is a trip for two to an Open Source event
anywhere in the world
>
http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

     _____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

Hello Simone,

A description of our goals and current means follows.

* Geoserver's bicubic antialiasing already produces a *visually* much
   smoother result than nearest neighbour.

* But the lines (e.g. street borders) still look "pixelized".

* In practice, such "pixelization" becomes a real problem for the
   visual quality of tiles made from aeral view raster data.

* We currently obtain smoother details - less "pixelization" - by:
    * First requesting Geoserver for the double size,
    * Second downsampling with Image Magick.

It would be quite pleasant if Geoserver yielded *directly* such a
visual quality.

Even better, there could be some kind of hook in Geoserver for the
user to define his own processing - other users may have other needs.

I hope this answers. On my side I would be interested to know what the
possible options are.

Best regards,

Guillaume Lathoud
Alpstein Tourismus GmbH
http://www.alpstein-tourismus.de

--- En date de : Mar 5.8.08, Simone Giannecchini <simboss1@anonymised.com> a écrit :

De: Simone Giannecchini <simboss1@anonymised.com>
Objet: Re: [Geoserver-users] Interpolation for raster layers
À: glathoud@anonymised.com
Cc: "Andrea Aime" <aaime@anonymised.com>, "geoserver users" <geoserver-users@anonymised.comts.sourceforge.net>, "Alexander Petkov" <greenkov@anonymised.com>
Date: Mardi 5 Août 2008, 14h07
Ciao Guillaume,
could you please give more infof about what you would like
to achieve,
My suspect is that it is not a matter of better
interpolation rather
than a matter of better color quantization.

Ciao,
Simone.

On Thu, Jul 31, 2008 at 12:42 PM, Guillaume Lathoud
<glathoud@anonymised.com> wrote:
> Yes, thanks again, it is neat that Simone did such a
fast job !
> The nightly 1.7.x-073008 gives a happy result:
>
> wms-17x-073008-bicubic-png8.png (455x550, bicubic)
>
> Now, would it be possible to *somehow* permit other
types of antialiasing - possibly user-defined?
>
> A concrete example follows. If Geoserver could achieve
that kind of antialiasing, that would be wonderful!
>
> Best regards,
>
> Guillaume Lathoud
> Alpstein Tourismus GmbH
> http://www.alpstein-tourismus.de
> --------------------------------
>
> Example:
>
> * Fetch the double size from Geoserver:
>
> wms-17x-073008-nn-910x1100-png8.png (910x1100, nearest
neighbour)
>
> * Reduce it with Image Magick:
>
> wms-17x-073008-nn-910x1100-ImageMagick-png8.png
(455x550, Image Magick 6.4.1-q8-win32)
>
> --- En date de : Mer 30.7.08, Alexander Petkov
<greenkov@anonymised.com> a écrit :
>
>> De: Alexander Petkov <greenkov@anonymised.com>
>> Objet: Re: [Geoserver-users] Interpolation for
raster layers
>> À: "Andrea Aime"
<aaime@anonymised.com>
>> Cc: glathoud@anonymised.com, "geoserver users"
<geoserver-users@lists.sourceforge.net>
>> Date: Mercredi 30 Juillet 2008, 21h34
>> Thanks for the committed fix, it came just in time
for a
>> down to the
>> wire project.
>>
>> Alex
>>
>> On Mon, Jul 28, 2008 at 6:57 AM, Andrea Aime
>> <aaime@anonymised.com> wrote:
>> > Guillaume Lathoud ha scritto:
>> >> Thanks Andrea for the answer.
>> >>
>> >> That would indeed fulfill our
requirements!
>> >>
>> >> Unfortunately, for an image mosaicking
raster
>> layer, changing the interpolation (*) yielded
*exactly* the
>> same result (**).
>> >
>> > Hum, I'm trying out with 1.7.0-beta and
it seems
>> indeed the settings are
>> > ignored
(http://jira.codehaus.org/browse/GEOS-2057).
>> > Which version of GeoServer are you using?
>> >
>> >> (*) (Configuration > WMS >
Rendering)
>> >> (**) also with
format_options=antialias:full in
>> the WMS request.
>> >
>> >> I initially wrote you because in
"Step
>> 3" of this page:
>> >>
>>
http://geoserver.org/display/GEOSDOC/5+Optimizing+WMS+output
>> >>
>> >> it is written:
>> >> 4. image/png &
>> format_options=antialias:none:
>> >> Same as full color png -> with
rasters the
>> antialias option is ignored.
>> >
>> > Correct, antialias only affects vector
output, it does
>> not make sense
>> > with raster one, which should be affected by
>> interpolation setting
>> > instead.
>> >
>> > Cheers
>> > Andrea
>> >
>> >
>>
-------------------------------------------------------------------------
>> > This SF.Net email is sponsored by the Moblin
Your Move
>> Developer's challenge
>> > Build the coolest Linux based applications
with Moblin
>> SDK & win great prizes
>> > Grand prize is a trip for two to an Open
Source event
>> anywhere in the world
>> >
>>
http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> >
_______________________________________________
>> > Geoserver-users mailing list
>> > Geoserver-users@lists.sourceforge.net
>> >
>>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
>> >
>
>
>
_____________________________________________________________________________
> Envoyez avec Yahoo! Mail. Une boite mail plus
intelligente http://mail.yahoo.fr
>
-------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
> Build the coolest Linux based applications with Moblin
SDK & win great prizes
> Grand prize is a trip for two to an Open Source event
anywhere in the world
>
http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

      _____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr