[Qgis-user] qgis extremly slow on grass data. More info

Tim Sutton tim at linfiniti.com
Sat Nov 15 05:37:17 PST 2008


Hi

On Sat, 2008-11-15 at 13:02 +0100, Jarek Jasiewicz wrote:
> Hi
> I tried to gather more information about the problem to create ticket, 
> and it seems a different problem. Map was created with Bovrey 
> sharpening. It is Uint16 and its color table has 2050 entities.
> 
> First I trim the size of the map to 853x943 (it is not large data set), 
> but the problem still exist.
> 
> I tried to export that map to UInt16 GtIff to attach it, and I cannot, I 
> recive empty (null bitmap) file. I can it still export to Int16Gtiff as 
> gray without the problem
> 
> the warnings I recive on console from qgis:
> 
> Warning: QPainter::end: Painter not active, aborted
> Warning: QPainter::begin: Cannot paint on a null pixmap
> Warning: QPainter::end: Painter not active, aborted
> Warning: QPixmap::scaled: Pixmap is a null pixmap
> 
> So It looks rather like gdal problem with that particular map (Uint16 
> with full color table)
> 
> If I remove that color table to more simple (for example grey) 
> everything works fine. So If I send the sample dataset problem may not 
> be reproducable.
> 
> To reproduce this problem I did as following:
> 
> In grass I used region as before: 853x943
> 
> 
> r.surf.random output=random min=0 max=32100
> r.mapcalc int_random = int(random)
> g.copy rast=int_random,int_random_col
> r.colors map=int_random_col color=random
> 
> 
> And next I add data to qgis. With map named "random" there were no 
> problems. With map with "random_col" where I assigned random pallete 
> time of reading was over 5 minut (after that I kill qgis)
> 
> So if someone more experienced can reproduce that problem as I described 
> and distinguish it is gdal or qgis problem.
> 
> 
> greetings
> 
> Jarek
> 
> configuration:
> Ubuntu 8.04 i386, grass 6.4.svn, gdal 1.5.3 with grass plugin
> Qt 4.3.4
> RAM 2GB, CPU AMD4800+
> last svn up compilation of qgis and grass: 12.11.2008
> gdal ins't svn

Ok it would be interesting to see what happens if you try to open the
dataset in Grass (native gui not via QGIS). And what are access times if
you use gdal command line tools?

Regards

Tim

8<----------snip----------------

-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Visit http://linfiniti.com to find out about:
 * QGIS programming services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting & Support Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
==============================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20081115/cbf1f770/attachment.sig>


More information about the Qgis-user mailing list