Re: [gdal-dev] gdal translate/warp goes16

2018-03-20 Thread Zachary Flamig
Hi Steven, So the issue here is that gdal_translate doesn’t properly store the +sweep=x in the geotiff. See http://geotiff.maptools.narkive.com/3CqwNeMd/geos-projection-sweep-parameter for some relevant discussion.

[gdal-dev] GeoPackage Open() Performance

2018-03-20 Thread Kevin Bentley
I've been working on some large GeoPackage files that have a lot of layers. One in particular has over 5000 layers. It was taking a good 5+ minutes just to open, so I did some analysis. Here's what I found: By far the biggest hit is in a query to sqlite_master (called from OGRGeoPackageTableLayer:

[gdal-dev] gdal translate/warp goes16

2018-03-20 Thread Steven Beale
Hi gdalers, I'm a little out of my field here, usually I work with weather/climate data, but I need to warp some goes16 satellite data. (source is aws s3: https://noaa-goes16.s3.amazonaws.com/ABI-L2-CMIPF/2018/079/12/OR_ABI-L2-CMIPF-M3C01_G16_s20180791200447_e20180791211214_c20180791211280.nc - t

Re: [gdal-dev] GeoPDF with a KML layer and a rotated GeoTIFF layer

2018-03-20 Thread Bugbuster
Dear Even and Andreas, thanks for your answers. I did try with a VRT file, with the following : * LayerSRS tag, * use of OGRVRTWarpedLayer layer type with no success. In fact I was trying to avoid Even's advice : warp the original image to make it "north up". But if I understand it correctly, I

[gdal-dev] failing to open a PGeo database

2018-03-20 Thread Helmut Kudrnovsky
Hi, I'm here on Debian GNU/Linux 9 (stretch) 64 Bit with bugs@nada:~/gisdata/bik_pgeo$ ogrinfo --version GDAL 2.2.3, released 2017/11/20 bugs@nada:~/gisdata/bik_pgeo$ ogrinfo --formats | grep PGeo PGeo -vector- (ro): ESRI Personal GeoDatabase installed unixODBC and mdbtools unixodbc 2.3.4-1

Re: [gdal-dev] GeoPDF with a KML layer and a rotated GeoTIFF layer

2018-03-20 Thread Even Rouault
Philippe, the zip attachment didn't make its way to us but from what you're telling and a look at the code, I can indeed see that when writing a raster with rotational terms in the geotransform matrix, and vectors, the vector writing part will not work correctly taking into account those rotati

Re: [gdal-dev] GeoPDF with a KML layer and a rotated GeoTIFF layer

2018-03-20 Thread Andreas Oxenstierna
Have you tested to include the OGR datasource in a VRT file instead, with the LayerSRS tag defined? Oups sorry for my uncomplete message : "raw" tags are not well handled. Below is the GDAL command I used to create my GeoPDF image: gdal_translate.exe -of PDF --config LIBKML_RESOLVE_STYLE YES \

Re: [gdal-dev] GeoPDF with a KML layer and a rotated GeoTIFF layer

2018-03-20 Thread Bugbuster
Oups sorry for my uncomplete message : "raw" tags are not well handled. Below is the GDAL command I used to create my GeoPDF image: gdal_translate.exe -of PDF --config LIBKML_RESOLVE_STYLE YES \ -co OGR_DATASOURCE=rectangle.kml \ -co LAYER_NAME=lena lena_rot.ti