Folks,
I've setup a Google Maps client augmented with GeoServer coverages,
which usually works... but some tiles aren't loaded at all, giving me
the "no such layer on this server" error.
It happens maybe only 1 out of 20 tiles, and, oddily, always with the same ones, even if I restart GeoServer.
GeoServer is 1.5.1/Jetty on a Fedora box.
The error log follows:
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.servlets.AbstractService doGet
FINE: reading request:
request=GetMap&version=1.1.1&format=image/png&srs=EPSG:4326&layers=psc:nau1m,psc:nau100km,psc:port&styles=,&bbox=13.271484375,40.78054143186031,13.359375,40.84706035607122&width=256&height=256&transparent=true&bgcolor=0xffffff&sld=http://localhost/daisy/piscamap/sld--psc:nau42m-psc:nau1m-psc:nau100km-psc:nau30kv-psc:region-psc:port--nau42m-nau1m-nau100k-nau30k-region-port--it.sld&wfs=http://localhost/geoserver/wfs
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.wms.requests.GetMapKvpReader
parseLayersAndStyles
FINE: Getting layers and styles from reomte SLD
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.wms.requests.GetMapKvpReader
parseSldParam
FINE: about to load remote SLD document:
'http://localhost/daisy/piscamap/sld--psc:nau42m-psc:nau1m-psc:nau100km-psc:nau30kv-psc:region-psc:port--nau42m-nau1m-nau100k-nau30k-region-port--it.sld’
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau42m
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau1m
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau100km
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau30kv
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.wms.requests.GetMapKvpReader
parseStyledLayerDescriptor
INFO: request comes in "library" mode
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.ServiceException <init>
FINE: psc:nau1m: no such layer on this server
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.global.Data getCoverageInfo
FINE: getting coverage psc:nau1m
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.ServiceException <init>
FINE: psc:nau100km: no such layer on this server
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.global.Data getCoverageInfo
FINE: getting coverage psc:nau100km
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.global.Data getFeatureTypeInfo
FINE: getting type psc:port
-------------------
Luca Morandini
www.lucamorandini.it
--------------------
Luca Morandini ha scritto:
Folks,
I've setup a Google Maps client augmented with GeoServer coverages,
which usually works... but some tiles aren't loaded at all, giving me
the "no such layer on this server" error.
It happens maybe only 1 out of 20 tiles, and, oddily, always with the same ones, even if I restart GeoServer.
GeoServer is 1.5.1/Jetty on a Fedora box.
The error log follows:
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.servlets.AbstractService doGet
FINE: reading request:
request=GetMap&version=1.1.1&format=image/png&srs=EPSG:4326&layers=psc:nau1m,psc:nau100km,psc:port&styles=,&bbox=13.271484375,40.78054143186031,13.359375,40.84706035607122&width=256&height=256&transparent=true&bgcolor=0xffffff&sld=http://localhost/daisy/piscamap/sld--psc:nau42m-psc:nau1m-psc:nau100km-psc:nau30kv-psc:region-psc:port--nau42m-nau1m-nau100k-nau30k-region-port--it.sld&wfs=http://localhost/geoserver/wfs
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.wms.requests.GetMapKvpReader
parseLayersAndStyles
FINE: Getting layers and styles from reomte SLD
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.wms.requests.GetMapKvpReader
parseSldParam
FINE: about to load remote SLD document:
'http://localhost/daisy/piscamap/sld--psc:nau42m-psc:nau1m-psc:nau100km-psc:nau30kv-psc:region-psc:port--nau42m-nau1m-nau100k-nau30k-region-port--it.sld’
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau42m
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau1m
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau100km
Nov 22, 2007 6:13:02 PM org.geotools.styling.SLDParser parseUserLayer
INFO: layer name: psc:nau30kv
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.wms.requests.GetMapKvpReader
parseStyledLayerDescriptor
INFO: request comes in "library" mode
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.ServiceException <init>
FINE: psc:nau1m: no such layer on this server
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.global.Data getCoverageInfo
FINE: getting coverage psc:nau1m
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.ServiceException <init>
FINE: psc:nau100km: no such layer on this server
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.global.Data getCoverageInfo
FINE: getting coverage psc:nau100km
Nov 22, 2007 6:13:02 PM org.vfny.geoserver.global.Data getFeatureTypeInfo
FINE: getting type psc:port
Hmm.... these logs may be sidetracking you. When geoserver looks for a layer, it first hits the catalog looking for a vector layer, if not found the catalog throws an exception that the layer is not there, and
then a coverage is searched for. Every time one of these exception is
thrown you see one of the above error messages... bah, we should
change the lookup code not to emit these silly messages.
What I think you're experiencing in fact is known as the "pink
tile syndrome":
http://openlayers.org/pipermail/dev/2007-January/000222.html
Try upping the tile retrivial attempts, the standard geoserver preview
sets that number to 5 and I don't remember seeing pink tiles since
I set that value.
Cheers
Andrea
Andrea Aime wrote:
Luca Morandini ha scritto:
Folks,
I've setup a Google Maps client augmented with GeoServer coverages,
which usually works... but some tiles aren't loaded at all, giving me
the "no such layer on this server" error.
It happens maybe only 1 out of 20 tiles, and, oddily, always with the same ones, even if I restart GeoServer.
What I think you're experiencing in fact is known as the "pink
tile syndrome":
http://openlayers.org/pipermail/dev/2007-January/000222.html
...except that I'm not using OpenLayers but Google Maps client.
Try upping the tile retrivial attempts, the standard geoserver preview
sets that number to 5 and I don't remember seeing pink tiles since
I set that value.
What I did, instead, is to change the Apache HTTPD server configuration for Proxy and KeepAlive directives... to no avail.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Luca Morandini ha scritto:
What I think you're experiencing in fact is known as the "pink
tile syndrome":
http://openlayers.org/pipermail/dev/2007-January/000222.html
...except that I'm not using OpenLayers but Google Maps client.
Try upping the tile retrivial attempts, the standard geoserver preview
sets that number to 5 and I don't remember seeing pink tiles since
I set that value.
What I did, instead, is to change the Apache HTTPD server configuration for Proxy and KeepAlive directives... to no avail.
I'm not aware of any way to set the number of tentatives Google Map API
uses. To avoid the issue completely you may either:
* pre-cache the layer so that there is no delay (using TileCache);
* make sure the server is set up for top performance (see the
"GeoServer in production" guide in the wiki)
* redo the client using the new OpenLayers that allows you to mix
google maps layers in the map
Cheers
Andrea