How to load large geotiff imagery quickly

View: New views
2 Messages — Rating Filter:   Alert me  

How to load large geotiff imagery quickly

by Changjiang Yang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have some very large geotiff images which are about size of 200MB
each. Every time I load them into memory, it is very slow. Is there
any method to load them into memory quickly. Does Gdal support reading
tiles?

Thanks
CJ
_______________________________________________
FWTools mailing list
FWTools@...
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/

Re: How to load large geotiff imagery quickly

by Frank Warmerdam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Changjiang Yang wrote:
> I have some very large geotiff images which are about size of 200MB
> each. Every time I load them into memory, it is very slow. Is there
> any method to load them into memory quickly. Does Gdal support reading
> tiles?

CJ,

Yes, GDAL supports loading tiles, or arbitrary subwindows via the RasterIO
function.

GDAL also maintains an internal block caching system so it isn't critical
to load in chunks that match the block size of the underlying image.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
FWTools mailing list
FWTools@...
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/