Hi all,
I used ImagePyramid plugin to add a store in Geoserver 2.0.2; I made the
pyramid following some tutorials
and using FWTools (currently working under Windows).
After successfully adding the store and publishing the layer, I noticed that
using openlayers from "Layer Preview"
and only using "TILED" requests, all tiles "out of the bounds" west and
south appear as an "Error Image" (Rendering process failed...).
Here a screenshot:
http://img143.imageshack.us/img143/516/errore.gif
Here some log fro GS:
org.vfny.geoserver.wms.WmsException: org.vfny.geoserver.wms.WmsException:
Rendering process failed
at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:447)
at
org.geoserver.ows.adapters.ResponseAdapter.getMimeType(ResponseAdapter.java:48)
...
...
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: org.vfny.geoserver.wms.WmsException: Rendering process failed
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:400)
at
org.vfny.geoserver.wms.responses.map.metatile.MetatileMapProducer.produceMap(MetatileMapProducer.java:122)
at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:426)
... 52 more
Caused by: java.lang.Exception: Error rendering feature
at
org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1884)
...
...
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:376)
... 54 more
Caused by: java.lang.NullPointerException
at
org.geotools.coverage.AbstractCoverage.<init>(AbstractCoverage.java:188)
...
...
at
org.geotools.renderer.lite.StreamingRenderer.drawOptimized(StreamingRenderer.java:1879)
... 59 more
There are no problems using "SINGLE TILE" or generating kml.
I tried to found a response in various forums without luck.
Some additional information...
I have a starting set of 512 jpg images (grid 32 x 16), each of 256x256 px
referenced by .jgw and .prj;
the projection is EPSG:32633.
I created tiles.txt list and used this command to make tiles:
gdal_retile -v
-levels 4
-ps 256 256
-co TILED=YES
-co BLOCKXSIZE=256
-co BLOCKYSIZE=256
-co COMPRESS=JPEG
-co JPEG_QUALITY=80
-co PHOTOMETRIC=YCBCR
-s_srs EPSG:32633
-targetDir tiles
--optfile tiles.txt
The result was
tiles/ //512 tiles (grid 32x16) GeoTiff moved in tiles/0
tiles/1 //128 tiles (grid 16x8) GeoTiff
tiles/2 //32 tiles (grid 8x4) GeoTiff
tiles/3 //8 tiles (grid 4x2) GeoTiff
tiles/4 //2 tiles (grid 2x1) GeoTiff
I did not encounter problems making .properties and .shp, neither adding the
store.
I have just two questions now:
1)Why openlayers (from GS distribution itself) makes requests "out of the
bounds" west and south?
-maybe I missed some configuration (info.xml) or layer description
somewhere?
2)Why GS responds to such requests with an error and not with a
"transparent" tile?
-are there some referencing errors in my files that "play tricks" on GS??
I tried also adding 5 separate stores/layers with ImageMosaic without having
problems in openlayers "TILED" requests:
ImageMosaic store ... file:coverages/laquila_sep_levels/0
ImageMosaic store ... file:coverages/laquila_sep_levels/1
ImageMosaic store ... file:coverages/laquila_sep_levels/2
ImageMosaic store ... file:coverages/laquila_sep_levels/3
ImageMosaic store ... file:coverages/laquila_sep_levels/4
Hope someone can help me with to answer.
Marco.
--
View this message in context:
http://old.nabble.com/ImagePyramid%3A-Rendering-process-failed-%28using-openlayers-TILED%29-tp30289909p30289909.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users