Re: [gdal-dev] CMYK to PALETTE color converter

2017-10-10 Thread Paulo Pires
This is an example: *im.convert('RGB').convert("P", palette=Image.ADAPTIVE, colors=256)* But I have this error: * File "C:\Python27\lib\site-packages\PIL\Image.py", line 926, in convert im = self.im.quantize(colors) ValueError: quantization error* -- Sent from: http://osgeo-org.1560.x6.

Re: [gdal-dev] RADARSAT Constellation Mission (RCM) driver

2017-10-10 Thread Deschamps, Benjamin (EC)
Hi Shawn, As you probably know, there is one significant difference with regards to ScanSAR SLC products which are delivered in individual bursts on RCM. There are a few other more minor differences (calibration LUT file for each polarization, availability of 32-bit products, etc.). CSA has a

[gdal-dev] RADARSAT Constellation Mission (RCM) driver

2017-10-10 Thread Shawn Gong
Hi list, I have seen some simulated datasets for RADARSAT Constellation Mission (RCM). It is smilar to RSAT-2: GeoTiff + product.xml for metadata But the file structure is different. Is there a plan to develop a RCM driver, and if so, what is the timeline? Thanks, Shawn Gong ___

[gdal-dev] RADARSAT Constellation Mission (RCM) driver

2017-10-10 Thread Shawn Gong
Hi list, I have seen some simulated datasets for RADARSAT Constellation Mission (RCM). It is smilar to RSAT-2: GTiff + product.xml for metadata But the file structure is different. Is there a plan to develop a RCM driver, and if so, what is the timeline? Thanks, Shawn Gong ___

Re: [gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL

2017-10-10 Thread Even Rouault
On mardi 10 octobre 2017 11:38:31 CEST Langford, Robert wrote: > Hi Even, > > Thank you for looking at this and confirming. > > So would this fix be available in the next major release and if so does that > have a release date currently? Likely around May 2018 But if you build your own GDAL, yo

Re: [gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL

2017-10-10 Thread Langford, Robert
Hi Even, Thank you for looking at this and confirming. So would this fix be available in the next major release and if so does that have a release date currently? In the meantime any thoughts on how we could programmatically pick up this error? Many thanks, Rob From: Even Rouault [mailto:ev

Re: [gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL

2017-10-10 Thread Even Rouault
Hi Robert, > > Could anyone advise if this a bug, or if not how we can detect such errors? Yes, that can probably be considered as a bug. The HTTP 504 error here occurs not when opening the WFS datasource or retrieving the layer schema but when iterating over features, and ogr2ogr lacked propra

[gdal-dev] CMYK to PALETTE color converter

2017-10-10 Thread Paulo Pires
Hello, Is it possible to convert image directely from CMYK to PALETTE color? To do that I need to convert first to RGB... Thanks -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.

[gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL

2017-10-10 Thread Langford, Robert
Hi there, Currently we have a process that loads data from an external WFS into Postgres from a nightly scheduled batch file on a Windows box. Usually works fine and it reports on any errors that it encounters. But recently we've been getting an HTTP 504 error and no features are written but

[gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL

2017-10-10 Thread Langford, Robert
Hi there, Currently we have a process that loads data from an external WFS into Postgres from a nightly scheduled batch file on a Windows box. Usually works fine and it reports on any errors that it encounters. But recently we've been getting an HTTP 504 error and no features are written but

Re: [gdal-dev] vsicurl configuration design decisions

2017-10-10 Thread Even Rouault
Hi Sean, > > It's written in > http://gdal.org/gdal_virtual_file_systems.html#gdal_virtual_file_systems_vsi > curl > > Starting with GDAL 2.3, options can be passed in the filename with the > > following syntax: /vsicurl/option1=val1[,optionN=valN]*,url=http://... > > I'd like to discuss the de