Message Boards Message Boards

Can GeoHistogram deal with large data sets?

GROUPS:

I have been trying to run GeoHistogram on a data set of around 1.3 million coordinate pairs, but I keep getting errors (different ones depending on the Mathematica version; tried 11.1 and 11.3 on Mac and Win). The "geos" data set consists of a list of pairs like this:

{37.4404,-121.87}

with some pairs repeated more or less often within the data set. The GeoHistogram call is simply this:

GeoHistogram[geos, PlotTheme -> "Scientific", ImageSize -> Full]

Has anybody else been having problems with this? Thanks, Johan

POSTED BY: Johan Lammens
Answer
19 days ago

Hi Johan,

unfortunately you did not post a working example, so I just can guess that the problem is that your geos data are not declared as GeoPosition. A minimal working code sample would be:

GeoHistogram[{GeoPosition[{37.4404, -121.87}]}, PlotTheme -> "Scientific", ImageSize -> Full]

Regards -- Henrik

POSTED BY: Henrik Schachner
Answer
18 days ago

Group Abstract Group Abstract