[gdal-dev] lat lon matrix tables to geotif

Frank Warmerdam warmerdam at pobox.com
Wed Feb 16 08:55:52 EST 2011


On 11-02-16 01:48 AM, Nikolaos Hatzopoulos wrote:
> So you are talking for something like this:
>
> Example VRT file for data (just to show the geolocation metadata reference):
>
> <VRTDataset rasterXSize="2048"  rasterYSize="964">
>
>    <Metadata domain="GEOLOCATION">
>      <MDI key="X_DATASET">data.lon.vrt</MDI>
>      <MDI key="X_BAND">1</MDI>
>      <MDI key="Y_DATASET">data.lat.vrt</MDI>
>
>      <MDI key="Y_BAND">1</MDI>
>      <MDI key="PIXEL_OFFSET">0</MDI>
>      <MDI key="LINE_OFFSET">0</MDI>
>      <MDI key="PIXEL_STEP">1</MDI>
>
>      <MDI key="LINE_STEP">1</MDI>
>    </Metadata>
>    <SRS>  stuff goes here</SRS>
>
>    <VRTRasterBand dataType="UInt16"  band="1"  subClass="VRTRawRasterBand">
>
>      <ImageOffset>1500</ImageOffset>
>      <PixelOffset>10</PixelOffset>
>      <LineOffset>22180</LineOffset>
>      <ByteOrder>LSB</ByteOrder>
>    </VRTRasterBand>
>
> </VRTDataset>

Nikolaos,

Yes, metdata formatted as above though the VRTRasterBand is incomplete.

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    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list