[Geoserver-users] WMS Coverage Styling

Begin forwarded message:

From: Scott Davis <scott@anonymised.com>
Date: June 7, 2007 1:43:02 AM MDT
To: geoserver-users@lists.sourceforge.net
Subject: WMS Coverage Styling

Hey All,

I have a couple of quick questions regarding styling a WMS Coverage layer. See <http://www.davisworld.org/zoom0-tiles3.png&gt; to help visualize what I am talking about.

The green squares are the footprints of the actual images on disk.
The red squares are the 256x256 pixel WMS requests (technically tiles coming from OpenLayers/TileCache, but I've verified that the output looks the same doing straight WMS requests to Geoserver directly)

Where are th "footprints" coming from?
And the coverages, are these mosaics? How did you built it?
I had both reports of gdaltindex generating broken index shapefiles,
and about the mosaic plugin not returning images at full resolution.
So, mosaic + gdaltindex issues could explain all you've seeing, yet
we have no cure for it so far.
You can check if the mosaic index file is broken easily, just point
geoserver at it and have it render it (if that's not what you're
already doing, that is...)

Question #1: Background color for absent pixels
Sometimes the background is black, sometimes it is white, and sometimes it is Red Xs. Is this significant? Do the colors mean different things are happening under the covers? I'd like it to be all black.

Big red X is returned when the mosaic plugin has issues afaik, but I
may be mistaken. White, I don't know why you're getting it.

Cheers
Andrea

Hi all,
actually this case seems to be a little strange … is possible to have some more details? Are you using OpenLayers and GeoServer to represent this image?
I think that black tiles could be images of the mosaic which are not well-formed.
As far as I can recall now, you can substitute red Xs with some custom image just replacing a unav.png image in the imagemosaic jar, and they come out usually when the requested tile is unavailable … but your case presents some strange behaviours IMHO, I should inspect a little deeper this problem.

On 6/7/07, Andrea Aime <aaime@anonymised.com> wrote:

Begin forwarded message:

From: Scott Davis <scott@anonymised.com>
Date: June 7, 2007 1:43:02 AM MDT
To: geoserver-users@lists.sourceforge.net
Subject: WMS Coverage Styling

Hey All,

I have a couple of quick questions regarding styling a WMS Coverage
layer. See < http://www.davisworld.org/zoom0-tiles3.png> to help
visualize what I am talking about.

The green squares are the footprints of the actual images on disk.
The red squares are the 256x256 pixel WMS requests (technically tiles
coming from OpenLayers/TileCache, but I’ve verified that the output
looks the same doing straight WMS requests to Geoserver directly)

Where are th “footprints” coming from?
And the coverages, are these mosaics? How did you built it?
I had both reports of gdaltindex generating broken index shapefiles,
and about the mosaic plugin not returning images at full resolution.
So, mosaic + gdaltindex issues could explain all you’ve seeing, yet
we have no cure for it so far.
You can check if the mosaic index file is broken easily, just point
geoserver at it and have it render it (if that’s not what you’re
already doing, that is…)

Question #1: Background color for absent pixels
Sometimes the background is black, sometimes it is white, and
sometimes it is Red Xs. Is this significant? Do the colors mean
different things are happening under the covers? I’d like it to be all
black.

Big red X is returned when the mosaic plugin has issues afaik, but I
may be mistaken. White, I don’t know why you’re getting it.

Cheers
Andrea

Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000

http://www.geo-solutions.it


Thanks for the hint about unav.png.

I'm working on some other aspects of the project right now, but when/if I get chance to circle back, I might ping you.

Cheers,
s

Scott Davis
scott@anonymised.com

On Jun 8, 2007, at 8:43 AM, Alessio Fabiani wrote:

Hi all,
actually this case seems to be a little strange ... is possible to have some more details? Are you using OpenLayers and GeoServer to represent this image?
I think that black tiles could be images of the mosaic which are not well-formed.
As far as I can recall now, you can substitute red Xs with some custom image just replacing a unav.png image in the imagemosaic jar, and they come out usually when the requested tile is unavailable ... but your case presents some strange behaviours IMHO, I should inspect a little deeper this problem.

On 6/7/07, Andrea Aime <aaime@anonymised.com> wrote: > Begin forwarded message:
>
>> From: Scott Davis <scott@anonymised.com>
>> Date: June 7, 2007 1:43:02 AM MDT
>> To: geoserver-users@lists.sourceforge.net
>> Subject: WMS Coverage Styling
>>
>> Hey All,
>>
>> I have a couple of quick questions regarding styling a WMS Coverage
>> layer. See < http://www.davisworld.org/zoom0-tiles3.png&gt; to help
>> visualize what I am talking about.
>>
>> The green squares are the footprints of the actual images on disk.
>> The red squares are the 256x256 pixel WMS requests (technically tiles
>> coming from OpenLayers/TileCache, but I've verified that the output
>> looks the same doing straight WMS requests to Geoserver directly)

Where are th "footprints" coming from?
And the coverages, are these mosaics? How did you built it?
I had both reports of gdaltindex generating broken index shapefiles,
and about the mosaic plugin not returning images at full resolution.
So, mosaic + gdaltindex issues could explain all you've seeing, yet
we have no cure for it so far.
You can check if the mosaic index file is broken easily, just point
geoserver at it and have it render it (if that's not what you're
already doing, that is...)

>> Question #1: Background color for absent pixels
>> Sometimes the background is black, sometimes it is white, and
>> sometimes it is Red Xs. Is this significant? Do the colors mean
>> different things are happening under the covers? I'd like it to be all
>> black.

Big red X is returned when the mosaic plugin has issues afaik, but I
may be mistaken. White, I don't know why you're getting it.

Cheers
Andrea

--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000

http://www.geo-solutions.it

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