[gdal-dev] GDAL Landsat Dirver
Even Rouault
even.rouault at spatialys.com
Mon Jun 1 06:45:37 PDT 2015
Hi,
Actually there's another Landsat-8 driver sitting in an attachment to a ticket
in Trac : https://trac.osgeo.org/gdal/ticket/5501
Even
> Hi,
>
> I would like to note that the Landsat metadata files support added to
> GDAL 2.0
> (https://svn.osgeo.org/gdal/trunk/gdal/gcore/mdreader/reader_landsat.cpp)
> I think you can use this metadata reader to parse Landsat metadata file,
> or set to the Landsat dataset the imagery metadata in same manner.
> Also, I think the tests for new format in autotest
> (https://svn.osgeo.org/gdal/trunk/autotest/gdrivers/) folder needed.
>
> And, it seems to me that the use:
> char** papszBandMeta = NULL;
> papszBandMeta = CSLAddString(papszBandMeta, pszFilename);
> pLandsatBand->SetMetadata(papszBandMeta);
> poDS->SetBand( iBand+1, pLandsatBand);
>
> should ended with free papszBandMeta array:
> CSLDestroy(papszBandMeta);
>
> But the new driver look promising!
>
> Best regards,
> Dmitry
>
> 01.06.2015 15:55, liminlu0314 пишет:
> > landsatdataset.cpp
> > <http://osgeo-org.1560.x6.nabble.com/file/n5208440/landsatdataset.cpp>
> >
> > landsatdataset.cpp is LANDSAT Driver source code
> >
> >
> >
> > --
> > View this message in context:
> > http://osgeo-org.1560.x6.nabble.com/GDAL-Landsat-Dirver-tp5208438p520844
> > 0.html Sent from the GDAL - Dev mailing list archive at Nabble.com.
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list