[mapserver-users] Raster Data
Rahkonen Jukka (Tike)
jukka.rahkonen at mmmtike.fi
Wed Mar 12 08:03:22 PDT 2014
Hi,
Standard recipe is to use tiled tiff file with overviews, perhaps both compressed.
Uncompressed:
gdal_translate -of GTiff -co tiled=yes -co bigtiff=yes image.png image.tif
gdaladdo -r average image.tif 2 4 8 16 32 64 128 256
You may want to save space by making a compressed tiff. If it is aerial image, use jpeg compression, if a map, then LZW or deflate. For aerials it would look about like
gdal_translate -of GTiff -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES image.png image.tif
gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR 2 4 8 16 32 64 128 256
-Jukka Rahkonen-
jcwalz wrote:
> Hello,
>
> I have a png raster image that I am adding to GeoMOOSE and it is about 3GB in
> size. It takes about 10 minutes for the image to show up because the file is so
> large. What is the best way of dealing with large images like this?
>
> Thanks,
>
> Jenna
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Raster-
> Data-tp5128564.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list