Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Andre Joost
Am 17.09.2013 17:02, schrieb Even Rouault: Hi Jukka, This reminds me a lot the following ticket : http://trac.osgeo.org/gdal/ticket/5128 Could you confirm that the analysis done (i.e. the cause of the problem would be the ECW plugin) also applies to you ? I'm not sure if you must completely uni

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread lpinner
Yes, redirection and exit code setting works when the gdal_ECW_JP2ECW.dll is built against ECW/JP2 v.5.0 SDK (didn't test v.4x). Luke -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Gdalinfo-does-not-print-into-file-on-Windows-tp5078239p5078379.html Sent from the

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Even Rouault
Selon Andre Joost : > Am 17.09.2013 17:02, schrieb Even Rouault: > > Hi Jukka, > > > > This reminds me a lot the following ticket : > > http://trac.osgeo.org/gdal/ticket/5128 > > > > Could you confirm that the analysis done (i.e. the cause of the problem > would be > > the ECW plugin) also applies

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread lpinner
Disabling the ECW plugin also enables setting a non-zero exit code (http://trac.osgeo.org/gdal/ticket/4830) Luke -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Gdalinfo-does-not-print-into-file-on-Windows-tp5078239p5078377.html Sent from the GDAL - Dev mailing l

Re: [gdal-dev] Spatialite Insert Performance

2013-09-17 Thread Norman Vine
You can see how ogr2ogr uses this by looking at code starting http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/ogr2ogr.cpp#L3304 the -gt argument sets the nGroupTransactions value On Sep 17, 2013, at 4:22 PM, Bob Cave wrote: > Hello, > > I have written a program that uses GDAL 1.9.1 to inse

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Rahkonen Jukka
Hi, Yes, it is the same issue. After removing the plugin "gdal_ECW_JP2ECW" the output can be directed into file. Setting GDAL_SKIP=ECW did not help. -Jukka- Even Rouault wrote: > Hi Jukka, > This reminds me a lot the following ticket : > http://trac.osg

[gdal-dev] Spatialite Insert Performance

2013-09-17 Thread Bob Cave
Hello, I have written a program that uses GDAL 1.9.1 to insert data into a SQLite/Spatialite database, and I am running into performance problems with large amounts of data. The SQLite/Spatialite section of the OGR documentation says, "The -gt argument allows to explicitly set the number of rows

Re: [gdal-dev] Geo::GDAL for GDAL 1.10.1?

2013-09-17 Thread Even Rouault
> Still one more thing, if 1.10.1 is the very latest with Evan's multiple > geometries per feature, I suspect that it may have some implications in > the Perl bindings. There are quite a lot Perl stuff in the bindings > (maybe even too much) and some of them might assume only one geometry > per fe

Re: [gdal-dev] Geo::GDAL for GDAL 1.10.1?

2013-09-17 Thread Hernán De Angelis
Nevermind, I found it in /usr/local/lib/perl5/... Made it work adding it to my local Perl path (@INC) Thanks anyway H. 2013/9/17 Hernán De Angelis > Dear all, > > I cannot figure out how to get the Geo::GDAL module installed in my > system. I understand that the bindings are built when comp

Re: [gdal-dev] Geo::GDAL for GDAL 1.10.1?

2013-09-17 Thread Ari Jolma
On 09/17/2013 05:54 PM, Hernán De Angelis wrote: Nevermind, I found it in /usr/local/lib/perl5/... Made it work adding it to my local Perl path (@INC) I always compile the Perl bindings separately and leave the --with-perl away from configure. That's "cd swig/perl; make; make test; make ins

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Even Rouault
Hi Jukka, This reminds me a lot the following ticket : http://trac.osgeo.org/gdal/ticket/5128 Could you confirm that the analysis done (i.e. the cause of the problem would be the ECW plugin) also applies to you ? I'm not sure if you must completely uninstall (or rename) the gdal_ECW.dll, or if sp

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Kyle Shannon
On 09/17/2013 05:07 AM, Jukka Rahkonen wrote: Hi, I noticed that gdalinfo and gdallocationinfo tools do not print into file with command gdalinfo test.tif >report.txt The file report.txt is created but it remains empty. With ogrinfo printing into file goes well. I also had a try with some old F

Re: [gdal-dev] Geo::GDAL for GDAL 1.10.1?

2013-09-17 Thread Hernán De Angelis
Thanks for the answer Ari. The current behavior is possibly not optimal, but it is OK anyway. As you say, the paths are system dependent. I just did not know that it worked that way because I always installed Geo::GDAL from CPAN. Thanks again! Hernán 2013/9/17 Ari Jolma > On 09/17/2013 05:5

[gdal-dev] Geo::GDAL for GDAL 1.10.1?

2013-09-17 Thread Hernán De Angelis
Dear all, I cannot figure out how to get the Geo::GDAL module installed in my system. I understand that the bindings are built when compiling GDAL with the --with-perl option, but I cannot see where the Geo::GDAL modules are, so I can load them with "use Geo::GDAL". I will appreciate any hint on t

[gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Jukka Rahkonen
Hi, I noticed that gdalinfo and gdallocationinfo tools do not print into file with command gdalinfo test.tif >report.txt The file report.txt is created but it remains empty. With ogrinfo printing into file goes well. I also had a try with some old FWTools and with that I could redirect also gdali