[gdal-dev] Reading raw bin raster. Need help with .vrt please.
Nicolas Cadieux
nicolas.cadieux at archeotec.ca
Wed Aug 8 13:18:38 PDT 2018
Hi,
I need help setting up the .vrt file to read a raw bin file. This is
what I figured out about the files:
3601 row x 3601 columns, big endian byte order, 2-byte unsigned
integer. Some files are 2-byte signed integer or byte. They have the
following Extent. -72.0001388888888840,-1.0001388888888889 :
-70.9998611111111018,0.0001388888888889. Perhaps Georeferencing should
be done in another step or can it be done in the .vrt?
I figure the file would look like this but I need help with the big
endian, 2-byte unsigned int and ByteOrder.
<VRTDataset rasterXSize="3601" rasterYSize="3601">
<VRTRasterBand dataType="Byte" band="1" subClass="VRTRawRasterBand">
<SourceFilename
relativetoVRT="1">s01w072_slope.bin</SourceFilename>
<ImageOffset>????</ImageOffset>
<PixelOffset>????</PixelOffset>
<LineOffset>?????</LineOffset>
<ByteOrder>????</ByteOrder>
</VRTRasterBand>
</VRTDataset>
Thanks in advance.
Nicolas Cadieux
More information about the gdal-dev
mailing list