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

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to