[GRASS-user] How to import a massive PCI pix raster as tiles?
Frank Warmerdam
warmerdam at pobox.com
Mon Nov 27 14:19:32 EST 2006
Patton, Eric wrote:
> Hi,
>
> I have a PCI pix raster, and it's pretty big - 2.4 GB. I'm not familiar with this image format as I've never worked with it before. Gdalinfo seems to recognize it, but importing it with r.in.gdal crashes with the following error:
>
> $
> $ gdalinfo DEMvalley.pix
>
> Driver: PCIDSK/PCIDSK Database File
> Size is 65362, 41926
Eric,
You can do:
gdal_translate -srcwin 0 0 65362 20000 DEMvalley.pix DEMvalley_top.tif
gdal_translate -srcwin 0 20000 65362 21926 DEMvalley.pix DEMvalley_bottom.tif
to split the image into two chunks. I don't know about the r.in.gdal crash.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the grass-user
mailing list