On Sun, May 29, 2011 at 3:54 PM, Milan <[email protected]> wrote:
> Hi,
>
> I use world image data store, image format PNG. Size of image is 200 MB.
> I think the problem is image size. I managed to upload and display the same
> PNG image,  but with lower resolution (size 60 KB).

Hi, the problem is not image size (though 200MB PNG will kill you in other
ways, see the rest of the mail), but the fact "force declared crs" does not
work for rasters: http://jira.codehaus.org/browse/GEOS-4583

I'm cooking a patch for it as I write, but regardless, you can work around
the issue by adding to the file set the attached projection file (and then
remove the layer, clear the resource cache in the "server status" page,
and configure the layer back).
That should make the layer appear properly.

That said, a 200MB PNG will have disastrous performance, PNG is not
a good format to feed to any map server.
Please use gdal_translate to translate it to a TIFF with inner tiling
(eventually using JPEG compression if you're short on space) and
then use gdaladdo to add various overviews so that GS does not have
to read all the data just to display a timestamp sized map.
You can google around for how to do that, we also have some quick
notes in our guide:
http://docs.geoserver.org/latest/en/user/production/data.html#setup-geotiff-data-for-fast-rendering

Hope this helps

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

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

Attachment: Beograd_01.prj
Description: application/esri-crs

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to