Re: [gdal-dev] Removing layers from GeoSpatial PDF with ogr2ogr?

2018-04-26 Thread David Strip
On 4/26/2018 3:33 PM, Tobias Wendorff wrote: > Am Mi, 25.04.2018, 21:02 schrieb Even Rouault: >> This is expected. When doing ogr2ogr you run into limitations >> of the read side and write side of the PDF driver, and running >> through OGR abstraction in the middle, so loss is expected in >> the ca

Re: [gdal-dev] Removing layers from GeoSpatial PDF with ogr2ogr?

2018-04-26 Thread Tobias Wendorff
Am Mi, 25.04.2018, 21:02 schrieb Even Rouault: > > This is expected. When doing ogr2ogr you run into limitations > of the read side and write side of the PDF driver, and running > through OGR abstraction in the middle, so loss is expected in > the case of PDF. Even experienced PDF-orientated appli

Re: [gdal-dev] VRT pixel functions on tiled vrt

2018-04-26 Thread William Kyngesburye
So, if the gdal library queries for a region of the vrt (ie processing it in chunks), the numpy array will be just that region? I'll give it a try. What about something like viewing the whole vrt in QGIS - will it be read in chunks as well? IOW, is it the GDAL library that breaks it into chunk

Re: [gdal-dev] VRT pixel functions on tiled vrt

2018-04-26 Thread Even Rouault
On jeudi 26 avril 2018 12:56:10 CEST William Kyngesburye wrote: > So, a vrt of a vrt? Yes > > I wanted to avoid that, because as I understand the source, it reads each > raster in the derived band as a single numpy array, which would be all the > tiled rasters together. No, if you use gdal_tr

Re: [gdal-dev] VRT pixel functions on tiled vrt

2018-04-26 Thread William Kyngesburye
So, a vrt of a vrt? I wanted to avoid that, because as I understand the source, it reads each raster in the derived band as a single numpy array, which would be all the tiled rasters together. Most of the vrts that I want to process this way are huge, GBs. I guess I can make a derived band vr

Re: [gdal-dev] VRT pixel functions on tiled vrt

2018-04-26 Thread Even Rouault
On jeudi 26 avril 2018 08:22:05 CEST William Kyngesburye wrote: > I'm trying to add a pixel function (Python) to a vrt where there are > multiple rasters (ComplexSource) tiled together (that is, not stacked like > an RGB image). When I translate the vrt to a tif, only the first > ComplexSource is

[gdal-dev] VRT pixel functions on tiled vrt

2018-04-26 Thread William Kyngesburye
I'm trying to add a pixel function (Python) to a vrt where there are multiple rasters (ComplexSource) tiled together (that is, not stacked like an RGB image). When I translate the vrt to a tif, only the first ComplexSource is processed, the rest on the raster is set to 0. I got the basics of t

Re: [gdal-dev] Warping EUMetsat MSG-4 MPE dataset to webmercator projection

2018-04-26 Thread Menno van Scheers - HUSS
Potential fix seems to be merged with master of proj4. Can now successfully warp the dataset. Thanks ! Menno van Scheers From: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Even Rouault Sent: woensdag 25 april 2018 22:12 To: gdal-dev@lists.osgeo.org Cc: Andre Joost Subject: R