[GRASS-dev] display/drivers/HTMLMAP status
Moritz Lennert
mlennert at club.worldonline.be
Fri Feb 23 08:52:30 EST 2007
On 21/02/07 00:46, Glynn Clements wrote:
> Moritz Lennert wrote:
>
>>>>> The relative speed of various options in actual use would be
>>>>> interesting, although the actual results will vary substantially
>>>>> depending upon the data, the "screen" (window/image) size, the driver,
>>>>> etc.
>>>> Here's a first run on two data files, varying x-mon size and zoom. Tell
>>>> me if you need more info, and what other tests might be helpful.
>>> The main thing which I notice is that there really isn't that much
>>> difference. In most of the cases, the difference is <15% (there's one
>>> where render=c is 50% slower, but that's the outlier, and even that
>>> isn't that big a factor, given that there's some scope for
>>> optimisation in D_polygon_clip).
>>>
>>> Things which would make the results more useful:
>>>
>>> 1. Disable boundaries; I'm only interested in the polygon filling
>>> operation, and anything else just reduces the signal-to-noise ratio.
>>>
>>> 2. Use "g.region -e"; the region only matters insofar as it provides a
>>> (relative) measure of the number of vertices which need to be
>>> processed.
>>>
>>> 3. Figures for direct rendering (GRASS_RENDER_IMMEDIATE=TRUE).
>>>
>>> 4. Making the results more machine-readable; a CSV file (region size,
>>> screen size, rendering method, driver) would be ideal, but second best
>>> would be something which I can mechanically convert into that, e.g. if
>>> each set of tests was always preceded by the driver, screen size and
>>> region extent, so that I don't have to manually discern the context.
>> Here's another short test with different GRASS_WIDTH/HEIGHT and two
>> different regions all with GRASS_RENDER_IMMEDIATE=TRUE.
>
> Can you provide some statistics (number of vertices, edges, polygons)
> regarding the map being rendered? Also, what is the total extent of
> the map?
Sorry, had forgotten about this. It is the spearfish60 landcover map:
GRASS 6.3.cvs (spearfish60):~ > v.build landcover
Building topology ...
31758 primitives registered
Building areas: 100%
10219 areas built
2369 isles built
Attaching islands: 100%
Attaching centroids: 100%
Topology was built.
Number of nodes : 23908
Number of primitives: 31758
Number of points : 0
Number of lines : 0
Number of boundaries: 21539
Number of centroids : 10219
Number of areas : 10219
Number of isles : 2369
Is this enough info ? If you need more, could you tell me what exactly,
and maybe how to get it ?
Moritz
More information about the grass-dev
mailing list