Re: [gdal-dev] having problem with polygonize

2014-06-28 Thread devendra dahal
That's it. I was not closing dst_ds, I was closing only newArray. Thank you Even. You are wonderful. On Sat, Jun 28, 2014 at 3:14 PM, Even Rouault wrote: > Le samedi 28 juin 2014 22:05:54, devendra dahal a écrit : > > Thank you David and Even. > > > > I really apreciate your suggestions. > >

Re: [gdal-dev] having problem with polygonize

2014-06-28 Thread Even Rouault
Le samedi 28 juin 2014 22:05:54, devendra dahal a écrit : > Thank you David and Even. > > I really apreciate your suggestions. > > Even's suggestion of including quotation did help running the script > without problem. As you suggested I replaced the os.system with > subprocess.call. But still th

Re: [gdal-dev] having problem with polygonize

2014-06-28 Thread devendra dahal
Thank you David and Even. I really apreciate your suggestions. Even's suggestion of including quotation did help running the script without problem. As you suggested I replaced the os.system with subprocess.call. But still the shapefile has just one polygon with zero value and it does not have th

Re: [gdal-dev] gdaltranslate and gdalwarp rotating and resizing image without being asked to, why?

2014-06-28 Thread Even Rouault
Jesse, I'm not completely sure to really understand the axis swapping issue without reproducing what you do. The PDF driver should take into account the PDF rotation parameter when rasterizing it (so that it outputs something that is visually identical with what other PDF viewers do). To answe