[gdal-dev] CSV to GeoRSS: problem with pubDate field

2017-07-31 Thread aborruso
Hi, I'm using GDAL 2.3.0dev to convert a CSV to GeoRSS, but I'm not able to set properly pubDate field. My test input CSV is (tab separated): title description guidlinkpubDate titolo des http://www.tin.it/1 http://www.tin.it/1 Wed, 11 Jul 2007 15:39:21 GMT I run: ogr

Re: [gdal-dev] Rasterize Inmem vector

2017-07-31 Thread Even Rouault
On lundi 31 juillet 2017 07:31:05 CEST Johan de Braak wrote: > Hi all, > > How would I rasterize an in memory vector? I have tried this: > > assert isinstance(inmemds, ogr.DataSource), 'inmemds is not a ogr > DataSource' #assert not triggered > > rastoptions = gdal.RasterizeOptions(outpu

[gdal-dev] Rasterize Inmem vector

2017-07-31 Thread Johan de Braak
Hi all, How would I rasterize an in memory vector? I have tried this: assert isinstance(inmemds, ogr.DataSource), 'inmemds is not a ogr DataSource' #assert not triggered rastoptions = gdal.RasterizeOptions(outputType=gdal.GDT_Byte, burnValues=1, xRes=100, yRes=100) ds =