Re: [gdal-dev] RE: progressive rendering

2008-08-28 Thread Even Rouault
Hi Norman, My comments : - I'm wondering if we must really derive a new class GDALAsyncDataset from GDALDataset. We could as well add the new methods as new virtual methods in GDALDataset, and make a NULL-implementation of them in GDALDataset. The point of this remark is for the C API associat

Re: [gdal-dev] Topological Union?

2008-08-28 Thread Mateusz Loskot
Craig Miller wrote: Thanks Mateusz. That's exactly what I was thinking of doing if someone hasn't put it together already. Craig, BTW, you don't have to convert OGRGeometry (you play with it when reading Shapefile using OGR) to geos::geom::Geometry. You can union OGRGeometry using OGRGeome

Re: [gdal-dev] Topological Union?

2008-08-28 Thread Mateusz Loskot
Craig Miller wrote: Are there any gdal/geos based utility out there that do a topological union between two sets of geometry (shape files)? AFAIR, GEOSUnion is a topological union // C API g3 = GEOSUnion(g1, g2); GEOS does not provide any Shapefile I/O features, but you can use OGR [1] to re

[gdal-dev] Topological Union?

2008-08-28 Thread Craig Miller
Are there any gdal/geos based utility out there that do a topological union between two sets of geometry (shape files)? A topological union results in existing geometry being split into multiple pieces and each new resulting polygon having all of the attributes of both source polygongs. For ex

RE: [gdal-dev] RE: progressive rendering

2008-08-28 Thread Norman Barker
Hi Adam, Tamas, Even, all I have updated the RFC http://trac.osgeo.org/gdal/wiki/rfc24_progressive_data_support And completely changed the pattern used to reflect the general consensus to use an asynchronous queue for communication between threads. Can you comment on this, and let me know if i

Re: [gdal-dev] geotiff image problem

2008-08-28 Thread Mateusz Loskot
Silvia Marchesi wrote: Thanks a lot, now the problem is with libpng13-vc8, but I think I'll read the suggested instructions from gdal website.. Silvia, You need to make all GDAL DLL binaries and all GDAL DLL dependencies "visible" to dynamic linker. Each time your program is launched, dynami

Re: [gdal-dev] RE: progressive rendering

2008-08-28 Thread Adam Nowacki
Even Rouault wrote: I don't know JPIP, but I can image that the driver would start a thread when AsyncRasterIO() is called. It communicates with the server and receives the updates with a polling loop. When it has received an update,it put the received data as well as the parameters describing

RE: [gdal-dev] geotiff image problem

2008-08-28 Thread Martin Chapman
Silvia, The d in gdal15d-vc8 means debug version. Run your IDE in release mode and make sure the .dll file is in the same directory as your application .exe. If you want to use the dll in debug mode, my suggestion is to get the source code via SVN and compile it locally. It's really easy to d

Re: [gdal-dev] geotiff image problem

2008-08-28 Thread Silvia Marchesi
Thanks a lot, now the problem is with libpng13-vc8, but I think I'll read the suggested instructions from gdal website.. Silvia 2008/8/28 Martin Chapman <[EMAIL PROTECTED]> > Silvia, > > > > The d in gdal15d-vc8 means debug version. Run your IDE in release mode > and make sure the .dll file i

Re: [gdal-dev] geotiff image problem

2008-08-28 Thread Silvia Marchesi
Sorry for my last post.. I have made a bit of confusion! In the folder 'bin' I have found the missed .dll, however I can't understand why does it not find it. Silvia 2008/8/28 Silvia Marchesi <[EMAIL PROTECTED]> > Thanks a lot,! > Now I can compile, but when I try to run the program a message ap

Re: [gdal-dev] geotiff image problem

2008-08-28 Thread Silvia Marchesi
Thanks a lot,! Now I can compile, but when I try to run the program a message appears: "This application has failed to start because gdal15d-vc8 was not found. Re-installing the application may fix the problem" I have checked and in the folder I have downloaded (pre-installed gdal151-vc8) there ar

Re: [gdal-dev] geotiff image problem

2008-08-28 Thread mchapman
Silvia, In your project properties in vs under the "Link" tab you need to add the path to the file "gdal_i.lib". Martin Sent via BlackBerry by AT&T -Original Message- From: "Silvia Marchesi" <[EMAIL PROTECTED]> Date: Thu, 28 Aug 2008 16:30:25 To: Subject: [gdal-dev] geotiff image pr

[gdal-dev] geotiff image problem

2008-08-28 Thread Silvia Marchesi
Hi everybody! I'm a new user of GDAL; in particular I'm working with GDAL in Visual Studio 2005 in order to read Geotiff images; I'm following the GDAL API Tutorial, but I have some problems. I'm trying to open the file (a geotiff image); according to the tutorial I have written the following code: