Visokio website     Downloads     Video tutorials     KnowledgeBase  
Heat maps - Visokio Forums
Heat maps
  • Andrew January 4, 2011 10:24AM
    Hello,

    I would like to be able to do a heat map, where each of the squares is a different colour depending on the volume inside the square. So for example, in the image below, where there is a high volume (say above 1000) then the square is red, between 750 and 1000, then it is blue etc etc. The "volume" figure in the picture below is the "sum of sum of" column.

    As you can see in the picture, visokio has given me a key with 3 different colours, but these don't seem to appear anywhere on the map and are just the min, average and max values (I think)

    Thanks for any help

    Andy

    Is this possible? If so, could you tell me how to do it?

    Thanks
    Attachments
    visokiopic2.gif 41K
  • 4 Comments
  •     steve January 5, 2011 1:54PM
    When colouring by a field in the graph/map, you see the colour for the mean value, not the sum. This applies whether using heat map or clustering.

    I have attempted to work around this by creating a normal (i.e. not heat map) map view, using aggregation (with sum) and formulae to cluster the markers onto a fixed grid. I've only got a few sample data points. See if you can adapt your file to use this method. However the grid is created on the lat/lon values, so is non-linear when shown in the map (due to the mercator projection).

    Please post a new forum entry under "Ideas" to allow you to pick Mean vs Sum when colouring, if you need this, so others can see and comment for it (and soon, vote).
  •     steve January 5, 2011 1:58PM
    I'm having problems attaching the file. Here's what I did:

    - add a variable "grid size", value approx. 20
    - add two formula fields: "gridx" as "INTROUND(longitude / gridsize)" and "gridy" as "INTROUND(latitude / gridsize)"
    - add two formula fields: "xrounded" as "gridx * gridsize" and "yrounded" as "gridy * gridsize"
    - aggregate by both gridx and gridy, with your weight field set to sum
    - change coordinate fields (in Map menu) to xrounded and yrounded.
  •     TomW June 25, 2012 7:10AM
    Hi Steve,

    I was wondering whether the option to colour a map by the sum of values rather than by the mean values has been looked at since this post?

    Thanks
  •     steve June 25, 2012 11:25AM
    No. We'll be looking at major updates to the map/graph views, most likely in 2.9. Until then use the Aggregate approach above, which should do exactly what you want.

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership