Hi - perhaps you do not have enough geospatial data in your index to generate a larger image? Try setting the facet.heatpmap.gridLevel to something higher like 4.
I've run queries like:
q=insert whatever here&wt=json&indent=true&facet=true&facet.heatmap=geo&facet.heatmap.gridLevel=4&facet.heatmap.format=ints2D&rows=0&facet.heatmap.maxCells=35554432

I'm not familiar with the notation you have facet.heatmap=store_geohash. What is that?

I'm very interested in working with heatmaps and have tried integrating the results from Solr with GeoTools. I have access to a very sizable index with geospatial content in it, and I've been able to generate images like this:
http://lovehorsepower.com/images/Solr/AllDataSinceJan01_2015_Map.jpg
The above is a 1024x1024 raster.

Doing a geospatial filter query around the UK results in an image like this:
http://lovehorsepower.com/images/Solr/TwitterDataOneDayUKGeoSearchMap.jpg

I would love to be able to apply some heatmap visualization to this. Anyone have any ideas on what tools to use?

Thank you.

-Joe


On 6/13/2015 4:29 PM, William Bell wrote:
OK. I was able to get a PNG - but it looks tiny and a blob. Not sure how to
use it.

echo iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA0UlEQVR42mNg
YGD4P8B41AEwBuNAOoD7PwMbP5BmGygHyP9nENf5z8C45D8Dk+ZAp4FNA+
wA5pn/GZfz/GeQzv3PkL3hP4Pw+f8MLGuBctl0cgCv1n+Gton/GSUs/jPGL/jP+
uvCf467IAdMoFcUyPxnaS78zzCN6T+TKMt/5g+T/jNJraZzOXBc6T/D9bv/
mfp//2f8GDqABZFCzX/GQh86OED1338Grm34FVrMoEcITKdDt
msZrYxGHTDqAFIdwDgaBaMOGHXAqANGHTC8HQAAQf8YdbR5KkIAAAAASUVORK5CYII= |
base64 --decode > test.png

Very strange.

Maybe I need to zoom in?



On Sat, Jun 13, 2015 at 2:18 PM, William Bell <billnb...@gmail.com> wrote:

How do you use the heatmaps feature to show the PNG or use the int2D to
show the heatmap easily just for testing?


http://localhost:8983/solr/select?q=*%3A*&wt=json&rows=0&indent=true&facet=true&facet.heatmap=store_geohash&facet.heatmap.format=png

{

    - responseHeader:
    {
       - status: 0,
       - QTime: 163,
       - params:
       {
          - facet.heatmap.format: "png",
          - q: "*:*",
          - facet.heatmap: "store_geohash",
          - indent: "true",
          - rows: "0",
          - wt: "json",
          - facet: "true"
          }
       },
    - response:
    {
       - numFound: 2664396,
       - start: 0,
       - docs: [ ]
       },
    - facet_counts:
    {
       - facet_queries: { },
       - facet_fields: { },
       - facet_dates: { },
       - facet_ranges: { },
       - facet_intervals: { },
       - facet_heatmaps:
       {
          - store_geohash:
          [
             - "gridLevel",
             - 2,
             - "columns",
             - 32,
             - "rows",
             - 32,
             - "minX",
             - -180,
             - "maxX",
             - 180,
             - "minY",
             - -90,
             - "maxY",
             - 90,
             - "counts_png",
             -
             
"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA0UlEQVR42mNgYGD4P8B41AEwBuNAOoD7PwMbP5BmGygHyP9nENf5z8C45D8Dk+ZAp4FNA+wA5pn/GZfz/GeQzv3PkL3hP4Pw+f8MLGuBctl0cgCv1n+Gton/GSUs/jPGL/jP+uvCf467IAdMoFcUyPxnaS78zzCN6T+TKMt/5g+T/jNJraZzOXBc6T/D9bv/mfp//2f8GDqABZFCzX/GQh86OED1338Grm34FVrMoEcITKdDtmsZrYxGHTDqAFIdwDgaBaMOGHXAqANGHTC8HQAAQf8YdbR5KkIAAAAASUVORK5CYII="
             ]
          }
       }

}

--
Bill Bell
billnb...@gmail.com
cell 720-256-8076




Reply via email to