[gdal-dev] driver.GetMetadataItem in Java

2012-09-25 Thread Ivan Lucena
Hi there, Is there any particular reason why that this code in Java results nulls Driver driver = gdal.GetDriver(1); String a = driver.GetMetadataItem(gdalconstConstants.DCAP_CREATE); String b = driver.GetMetadataItem(gdalconstConstants.DCAP_CREATECOPY); System.out.println(a + " - " + b); null -

Re: [gdal-dev] GDAL Python bindings disables setting a non-zero exit code

2012-09-25 Thread Luke Pinner
Importing the gdal bindings in python seems to disable setting a non-zero exit code. Running the following batch file demonstrates the issue: Running the following batch file demonstrates the issue: @echo off set pycmd=python -c "from osgeo import gdal;import sys;sys.exit(1)" echo %pycmd% %pycmd

Re: [gdal-dev] gdal_rasterize in parallel processing

2012-09-25 Thread Even Rouault
Selon Giuseppe Amatulli : > Hi all, > I solved the down reported issues. I change -ot Float32 to -ot > Float64 and it works. > Anyway Float32 should be enough to store the max value of > 560459513003129 < 3.4E38 > but probably during the multi-core several values are stored in the > same array an

Re: [gdal-dev] gdal_rasterize in parallel processing

2012-09-25 Thread Giuseppe Amatulli
Hi all, I solved the down reported issues. I change -ot Float32 to -ot Float64 and it works. Anyway Float32 should be enough to store the max value of 560459513003129 < 3.4E38 but probably during the multi-core several values are stored in the same array and it needs Float64. ciao ciao Giuseppe

Re: [gdal-dev] gdalwarp_multithreading

2012-09-25 Thread Even Rouault
Selon DmitriyS : > Excuse me for the question, I am a beginner at GDAL development and have a > problem. I develop GUI (c++) application for a reprojection, using > "gdalwarp" (special class is written based on this utility). I wish to > perform warp operation for each input images in separate thr

[gdal-dev] gdalwarp_multithreading

2012-09-25 Thread DmitriyS
Excuse me for the question, I am a beginner at GDAL development and have a problem. I develop GUI (c++) application for a reprojection, using "gdalwarp" (special class is written based on this utility). I wish to perform warp operation for each input images in separate threads (...beginthreadex(...

Re: [gdal-dev] geometry overlap

2012-09-25 Thread Even Rouault
Selon Neelima Emmani : > Hi All, > I am trying to check, if there is an overlap between two area > featuretypes.Ex: LNDARE and OBSTRN. Actually in my dataset I have an overlap > but my code pasted below is returning false value for overlap. Can anyone > help me out. Here we are trying to code with