[gdal-dev] GDAL and Sentinel2

Kurt Schwehr schwehr at gmail.com
Wed Jan 13 10:02:39 PST 2016


Possibly a dumb question... Why not checkout, build and use the svn trunk?
If you get unlucky and hit a version that is not building, we usually get
things back to building in a couple hours.  It might take a little bit to
tune the configuration to your needs, but once you have it, you should be
in great shape.

-kurt

On Wed, Jan 13, 2016 at 9:23 AM, Even Rouault <even.rouault at spatialys.com>
wrote:

> Le mercredi 13 janvier 2016 18:05:40, Jose Gomez-Dans a écrit :
> > Hi Even,
> >
> > As usual, may thanks for your help, it's really useful
> >
> > On 13 January 2016 at 16:16, Even Rouault <even.rouault at spatialys.com>
> >
> > wrote:
> > > You can also compile the driver code as a plugin against older GDAL
> > > releases
> > > (works at least with 1.10 or later)
> >
> > Are there some documents on how to achieve this?
>
> 1) Get and uncompress the source of the GDAL version you use
> 2) create frmts/sentinel2 directory
> 3) copy
> https://svn.osgeo.org/gdal/trunk/gdal/frmts/sentinel2/sentinel2dataset.cpp
> in it
> 4) on Linux, g++ -Wall  -Iport -Igcore -Iogr -O2 -fPIC
> frmts/sentinel2/sentinel2dataset.cpp -shared -o gdal_SENTINEL2.so
> 5) export GDAL_DRIVER_PATH=$PWD
> 6) check the driver is available: gdalinfo --format SENTINEL2
>
> >
> > Jose
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
--
http://schwehr.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160113/5144de54/attachment.html>


More information about the gdal-dev mailing list