Re: [gdal-dev] Unable to link gdal : CPLCreateOrAcquireMutex reference not found

2012-01-07 Thread Even Rouault
Le jeudi 08 décembre 2011 10:57:38, Alexandre Herbreteau a écrit : > Hi, > > I've downloaded the latest GDAL source code by i'm unable to produce a > library. It is due to a link error : "undefined reference to > `CPLCreateOrAcquireMutex" > > I'm using Mingw with gcc 4.5.2. Here is what I do : >

[gdal-dev] problems with gdal2tiles and querysize when tiling a raster

2012-01-07 Thread G. Allegri
I'm trying to use gdal2tiles to tile a not-georeferenced image (an old map). The image is a 5816x3961 color jpeg. Running the following command: > gdal2tiles -p raster -z "0-3" myimage.jpg myimage_tiles I obtain 256x256 tile images but the content is wrongly rescaled. I noticed that the problem h

Re: [gdal-dev] Re: GDAL Java Binding meomory problem under intensive method calls

2012-01-07 Thread Even Rouault
Le samedi 07 janvier 2012 14:18:12, easyl a écrit : > Ja, I am re-writing now the ogrtindex.cpp from > http://svn.osgeo.org/gdal/trunk/gdal/apps/ogrtindex.cpp in Java. > > It seems be rather easier than ogr2ogr or ogrinfo. > > I found a Clone call in cpp code > >poFeatureDefn = poLayer->GetL

[gdal-dev] Re: GDAL Java Binding meomory problem under intensive method calls

2012-01-07 Thread easyl
Ja, I am re-writing now the ogrtindex.cpp from http://svn.osgeo.org/gdal/trunk/gdal/apps/ogrtindex.cpp in Java. It seems be rather easier than ogr2ogr or ogrinfo. I found a Clone call in cpp code poFeatureDefn = poLayer->GetLayerDefn()->Clone(); But in Java binding (1.8.1) there is no Clone(

[gdal-dev] Can MEM-dataset be serialized as binary stream?

2012-01-07 Thread 吴磊
Hi, guys, I want to transfer some small datasets among compute nodes in a distribute system. Actually, they are not necessary to be persistence, they are only existed in memory. Is there any approach I can use to serialize GDALDataset. MEM-dataset seems to be only used in local node, am I right?