[gdal-dev] about rotated geotransfmrm supporting of gpkg

Even Rouault even.rouault at spatialys.com
Tue Aug 30 07:22:35 PDT 2016


Le mardi 30 août 2016 16:09:23, Evan Zhou a écrit :
> Hi, brothers,
> 
> 	I am in a project that try to support geopackage files by using GDAL and
> when we were testing found GDAL don’t support rotated map. the code at:
> 
> 	see: 
> https://github.com/OSGeo/gdal/blob/trunk/gdal/ogr/ogrsf_frmts/gpkg/ogrgeop
> ackagedatasource.cpp
> <https://github.com/OSGeo/gdal/blob/trunk/gdal/ogr/ogrsf_frmts/gpkg/ogrgeo
> packagedatasource.cpp>
> 
> 
> 
> 	my question is how to support rotated map. I don’t want to rotate all
> raster tiles to north-up :(, this too sad.

Evan,

I'm afraid you'll have to rotate your tiles north-up (or come with a custom 
extension to have non north-up spatial registration). This is a limitation of 
the GeoPackage standard itself, not one of the GDAL implementation.

Even.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list