[GRASS-dev] [GRASS GIS] #2403: cairo driver fails to create surface
GRASS GIS
trac at osgeo.org
Sat Dec 20 02:33:44 PST 2014
#2403: cairo driver fails to create surface
----------------------+-----------------------------------------------------
Reporter: martinl | Owner: martinl
Type: defect | Status: closed
Priority: major | Milestone: 7.0.0
Component: Display | Version: unspecified
Resolution: fixed | Keywords: cairo, resolution, surface
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment(by glynn):
Replying to [comment:11 neteler]:
>
{{{
GRASS 7.0.0svn (eu_laea):~ > time -p d.rast lst_2014_03_minimum
##### comparison to see how long data reading itself takes:
GRASS 7.0.0svn (eu_laea):~ > time -p r.stats lst_2014_03_minimum
}}}
FWIW, the comparison isn't particularly meaningful, as d.rast now only
needs to read the rows which are actually rendered, while r.stats needs to
read the entire map.
Beyond the need to uncompress entire rows, the rendering time should be
dictated by the output width, not the input width. However, d.rast's
values= feature adds overhead proportional to the input width.
Can you try commenting out the mask_raster_array() call at line 71 of
display/d.rast/display.c? If that has a significant impact, we should try
to skip that call altogether when values= isn't being used.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2403#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list