Re: [gdal-dev] GDAL Speed Optimization

2010-06-17 Thread Stefano Moratto
Frank, I have increased the cache as you suggested using GDALSetCacheMax and it produced a performance gain. Thanks. I think I can improve more acting on the virtual datataset that I use to adapt the image to the paper size. I have to look into the tms driver in order to understand how it

Re: [gdal-dev] GDAL Speed Optimization

2010-06-11 Thread Iván Sánchez Ortega
El 11/06/2010 11:04, Stefano Moratto escribió: I evaluated the use of mapnik but I develop on Windows and [...] The deployment term in near so I have no time to try the direct use of mapnik. OK, if you evaluated using Mapnik, then I said nothing :-) Have you experience of mapnik on windows?

Re: [gdal-dev] GDAL Speed Optimization

2010-06-11 Thread Stefano Moratto
Frank, The source images are a sequence of tiles from openstreetmaps. Every tiles has a fixed size (256 x 256) and the area they covers depends from the zoom level. It is explained very well in http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection. I use interpolation (vi

Re: [gdal-dev] GDAL Speed Optimization

2010-06-11 Thread Stefano Moratto
Iván, I evaluated the use of mapnik but I develop on Windows and setup it on that platform is not easy as on Unix/Linux. Also I develop in delphi, so I have do create the bindings by myself I would like to use mapnik in my project as a replacement of my custom render but I have to transform th

Re: [gdal-dev] GDAL Speed Optimization

2010-06-10 Thread Iván Sánchez Ortega
El día Thursday 10 June 2010 09:49:01, Stefano Moratto dijo: > I use GDAL to download tiles (jpeg) from OpenstreetMap and to compose a > bitmap of the area that is being viewed. The resulting bitmap (not > compressed) is warped and displayed. Hhhhmmm. Personally, I think you're doing it wrong. I

Re: [gdal-dev] GDAL Speed Optimization

2010-06-10 Thread Frank Warmerdam
Stefano Moratto wrote: The performances are quite acceptable but when I try to print they are not. The drawing to be printed has a resolution larger of the screen (Screen : 1024x1024, Printer 4096 x 4094 in A4 and 9000 x 9000 in A3 approximately). I think tha the bottleneck could be found in:

Re: [gdal-dev] GDAL Speed Optimization

2010-06-10 Thread Seth Price
I'm on a Mac, so I normally use Shark for profiling. It's included with Apple's developer tools. I would definitely try running outside of a virtual machine environment. That might be your problem, but you won't know until you try. ~Seth On Jun 10, 2010, at 2:46 AM, stefano.mora...@gmail

Re: Re: [gdal-dev] GDAL Speed Optimization

2010-06-10 Thread stefano . moratto
I'm working on a VirtualMachine running on an usb hdd and my customer use iMac laptop so I can't change disk. The primary dataset is composed by a lot of jpeg download from internet and then cached to disk. I think the performance slowdown is caused after the creation of the virtual dataset

Re: [gdal-dev] GDAL Speed Optimization

2010-06-10 Thread Seth Price
>1) hw accelerated functions as IPP or GPU (e.g CUDA) This is my (ongoing) Google Summer of Code project, except I'm using OpenCL. :D What resampling algorithm are you using? ~Seth On Thu, June 10, 2010 1:49 am, Stefano Moratto wrote: > I use GDAL in my traffic optimization CAD program. > It is

[gdal-dev] GDAL Speed Optimization

2010-06-10 Thread Stefano Moratto
I use GDAL in my traffic optimization CAD program. It is a Win32 application written in DELPHI that uses GDAL "C" API - the binding was autogenerated by my SWIG module for object pascal. I use GDAL to download tiles (jpeg) from OpenstreetMap and to compose a bitmap of the area that is being viewed