Hopefully fix compilation problem with MSVC 2010

git-svn-id: https://svn.osgeo.org/gdal/trunk@27363 f0d54148-0727-0410-94bb-9a71ac55c965
GPKG: test sql layers with test_ogrsf

git-svn-id: https://svn.osgeo.org/gdal/trunk@27364 f0d54148-0727-0410-94bb-9a71ac55c965
ENVI: when writing, consider that LOCAL_CS SRS is like ungeoreferenced (#5467)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27365 f0d54148-0727-0410-94bb-9a71ac55c965
Merge branch 'trunk' into trunk_with_coverage