Re: [gdal-dev] bigtiff support maybe not working

2012-07-16 Thread Margherita Di Leo
On Tue, Jul 17, 2012 at 8:40 AM, Margherita Di Leo wrote: > > > On Mon, Jul 16, 2012 at 6:01 PM, Margherita Di Leo wrote: > >> >> now I'm trying with: >> >> CACHE="--config GDAL_CACHEMAX 8000 -wm 2000" >> gdalwarp $CACHE -srcnodata - -dstnodata - -r bilinear -tr $RES >> $RES $LIST mosaik_$

Re: [gdal-dev] bigtiff support maybe not working

2012-07-16 Thread Margherita Di Leo
On Mon, Jul 16, 2012 at 6:01 PM, Margherita Di Leo wrote: > > now I'm trying with: > > CACHE="--config GDAL_CACHEMAX 8000 -wm 2000" > gdalwarp $CACHE -srcnodata - -dstnodata - -r bilinear -tr $RES > $RES $LIST mosaik_$RES.tif -co TILED=YES > > > It is taking long, of course, but somehow it

Re: [gdal-dev] bigtiff support maybe not working

2012-07-16 Thread Margherita Di Leo
Hi Even, > BigTIFF support likely works as expected. In that instance, the error > comes from > the huge value used for the -wm option of gdalwarp. Try to keep it below > 2000. > If I remember well, there must be a sanity check in the warping algorithm > to > prevent allocation of buffers above 2

Re: [gdal-dev] bigtiff support maybe not working

2012-07-16 Thread Even Rouault
Margherita, > # GDAL cache in megabytes > CACHE="--config GDAL_CACHEMAX 8000 -wm 8000" > BigTIFF support likely works as expected. In that instance, the error comes from the huge value used for the -wm option of gdalwarp. Try to keep it below 2000. If I remember well, there must be a sanity check

[gdal-dev] bigtiff support maybe not working

2012-07-16 Thread Margherita Di Leo
Hi, I need to make a mosaic with gdalwarp using a lot of large files (ASTER GDEM, Europe coverage). For this, I need the bigtiff support, but I'm not sure it is working properly. Here is my work flow: # RES=0:00:01 RES=0.000278 BIGTIFF="-co BIGTIFF=YES" # GDAL cache in megabytes CACHE="--config G

Re: [gdal-dev] Error reading from OGR: Unhandled Exception... Access violation reading location 0x00000000

2012-07-16 Thread Dmitry Baryshnikov
16.07.2012 14:42, taibc пишет: Yes, thank you. I have another question: When reading the files (.dgn, or .shp), why only have* one layer* (I used the function GetLayerCount()) ? I check these file on Microstation or ArcCatalog, they have many layers. Thanks and regards, Tai -- View this mess

Re: [gdal-dev] json-c 0.10 update status and json-c copy removal proposed

2012-07-16 Thread Even Rouault
> I have no idea what could be submitted and what couldn't. > So, if you care, submit a pull request > https://github.com/json-c/json-c > or just forward these functions to > https://groups.google.com/forum/#!forum/json-c I'll try to, but not before end of week. > I have patched json-c for Window

Re: [gdal-dev] Error reading from OGR: Unhandled Exception... Access violation reading location 0x00000000

2012-07-16 Thread taibc
Yes, thank you. I have another question: When reading the files (.dgn, or .shp), why only have* one layer* (I used the function GetLayerCount()) ? I check these file on Microstation or ArcCatalog, they have many layers. Thanks and regards, Tai -- View this message in context: http://osgeo-org

Re: [gdal-dev] Error reading from OGR: Unhandled Exception... Access violation reading location 0x00000000

2012-07-16 Thread Dmitry Baryshnikov
16.07.2012 13:10, taibc пишет: Hi friends, I am trying to use OGR classes on VS2010 to read and write from file as the link: http://gdal.org/ogr/ogr_apitut.html But I got an error, please see attached screenshot for details. http://osgeo-org.1560.n6.nabble.com/file/n4988534/error.png Do you k

Re: [gdal-dev] Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010

2012-07-16 Thread Mateusz Loskot
On 16 July 2012 07:37, taibc wrote: > I could build my project with Ogr files. But, when I ran (F5) the project, I > got an error: > > "/The program can't start because gdal18.dll is missing from your computer. > Try reinstalling the program to fix this problem/" (Please see attached > screenshot)

Re: [gdal-dev] Error reading from OGR: Unhandled Exception... Access violation reading location 0x00000000

2012-07-16 Thread Mateusz Loskot
On 16 July 2012 10:10, taibc wrote: > I am trying to use OGR classes on VS2010 to read and write from file as the > link: > http://gdal.org/ogr/ogr_apitut.html > > But I got an error, please see attached screenshot for details. > > http://osgeo-org.1560.n6.nabble.com/file/n4988534/error.png Your

[gdal-dev] Error reading from OGR: Unhandled Exception... Access violation reading location 0x00000000

2012-07-16 Thread taibc
Hi friends, I am trying to use OGR classes on VS2010 to read and write from file as the link: http://gdal.org/ogr/ogr_apitut.html But I got an error, please see attached screenshot for details. http://osgeo-org.1560.n6.nabble.com/file/n4988534/error.png Do you know this error ? Thanks and r

Re: [gdal-dev] Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010

2012-07-16 Thread taibc
Yes, that's right. I've just done. Thank you. Tai -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988503.html Sent from the GDAL - Dev mailing list archive at Nabble.com.

Re: [gdal-dev] Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010

2012-07-16 Thread Dmitry Baryshnikov
16.07.2012 10:37, taibc пишет: Hi Dmitry, thank you very much ! I think maybe it is problem, because I use files from many sources (on internet). I've just re-built GDAL sources by using Visual Studio Command Prompt. And, it is ok now. I could build my project with Ogr files. But, when I ran (