|
Hi folks,
I am quite new with gdal, and I am using it (or to be precise gdal2tiles) to create a quadtree representation of large panoramic images (for further out-of-core rendering). I now got a large dataset (300000x30000) in a simple binary format (The 8bit RGB information is simply stored in sequential order). Is it possible to use gdal_translate to read and process the data? Thanks for your help! Cheers, David |
|
David,
GDAL's vrt driver supports defining a raw file's structure in an xml file. You should define the VRTRawRasterBand subclass. http://www.gdal.org/gdal_vrttut.html On Thu, Apr 12, 2012 at 5:09 PM, vonengel <[hidden email]> wrote: Hi folks, -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E _______________________________________________ gdal-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/gdal-dev |
|
In reply to this post by vonengel
Hi David,
I have done a similar thing in the past by using the ENVI format driver. The ENVI format is just raw binary with a very simple text header file. You can easily create the header and then gdal will read your data.
You can find information on ENVI headers at http://geol.hu/data/online_help/ENVI_Header_Format.html Not all fields are required, so you only need to define the bare basics for your data set. The vrt path is probably the more rigorous solution, but this might be easier.
Thanks, Scott On Thu, Apr 12, 2012 at 3:39 AM, vonengel <[hidden email]> wrote: Hi folks, _______________________________________________ gdal-dev mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/gdal-dev |
|
In reply to this post by chaitanya_ch
Hi folks,
thank you for you hints! It is working and I am waiting for the gdal2tiles script to build my 25GB quadtree. :-) Cheers, David |
| Powered by Nabble | Edit this page |
