[Geoserver-users] Question: SLD Transformation WPS

Dear GeoServer Users,

I am trying to use the transformation element in the SLD to execute a WPS process (for testing purposes, it simply returns the passed in GridCoverage2D raster). The results are not the same (please see attachments). One looks more smoothed and the other one does not. They are both WW3 global, 360x181 Maximum Wave Height coverages.

  1. Without calling WPS process: This looks more smoothed.

https://svn.metnet.navy.mil/geoserver/WW3_GLOBAL/wms?service=WMS&version=1.1.0&request=GetMap&layers=WW3_GLOBAL:global_360x181.max_wav_ht.surface&styles=1_no_wps_style&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers

  1. With calling WPS process: This does not.

https://svn.metnet.navy.mil/geoserver/WW3_GLOBAL/wms?service=WMS&version=1.1.0&request=GetMap&layers=WW3_GLOBAL:global_360x181.max_wav_ht.surface&styles=2_yes_wps_style&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers

Could you please tell me why the pictures look that way (and perhaps how to fix it)?

Thank you.

Tam O

1_no_wps.jpg

2_yes_wps.jpg

1_no_wps_style.sld (2.11 KB)

2_yes_wps_style.sld (2.85 KB)

3_wps_class.java (1.45 KB)

Dear GeoServer Users,

I am trying to use the transformation element in the SLD to execute a WPS process (for testing purposes, it simply returns the passed in GridCoverage2D raster). The results are not the same (please see attachments). One looks more smoothed and the other one does not. They are both WW3 global, 360x181 Maximum Wave Height coverages.

  1. Without calling WPS process: This looks more smoothed.

https://svn.metnet.navy.mil/geoserver/WW3_GLOBAL/wms?service=WMS&version=1.1.0&request=GetMap&layers=WW3_GLOBAL:global_360x181.max_wav_ht.surface&styles=1_no_wps_style&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers

  1. With calling WPS process: This does not.

https://svn.metnet.navy.mil/geoserver/WW3_GLOBAL/wms?service=WMS&version=1.1.0&request=GetMap&layers=WW3_GLOBAL:global_360x181.max_wav_ht.surface&styles=2_yes_wps_style&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers

Could you please tell me why the pictures look that way (and perhaps how to fix it)?

Thank you.

Tam O

1_no_wps.jpg

2_yes_wps.jpg

1_no_wps_style.sld (2.11 KB)

2_yes_wps_style.sld (2.85 KB)

3_wps_class.java (1.45 KB)