WOLFRAM

plots a smooth kernel histogram of the geo locations locs.

GeoSmoothHistogram[locs,espec]

plots a smooth kernel histogram with estimator specification espec.

GeoSmoothHistogram[locs,espec,dfun]

plots the distribution function dfun.

Details and Options

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Generate an intensity plot for a list of geographic points:

Out[2]=2

Use a smaller bandwidth to reduce the smoothing of the intensity:

Out[2]=2

Scope  (23)Survey of the scope of standard use cases

Data  (11)

Use a GeoPosition representing a list of locations:

Out[2]=2

Use a list of GeoPosition locations:

Out[2]=2

Use entities to represent locations:

Out[2]=2

Create an intensity plot from the EntityClass containing skyscrapers around the world:

Out[1]=1

Use an Association with locations for keys and values for counts:

Out[1]=1
Out[2]=2

Use WeightedData:

Out[1]=1

GeoRange is selected automatically:

Out[2]=2

Use GeoRange to focus on geographic areas of interest:

Out[3]=3

Nonreal data points are ignored:

Out[2]=2

Specify the number of points to use:

Out[2]=2

Plot an intensity plot of a list of locations:

Out[1]=1

Plot an intensity plot of locations with weights:

Out[3]=3

Bandwidth and Kernel  (7)

Specify a single bandwidth for bivariate data:

Out[2]=2

Allow bivariate bandwidths to vary adaptively with local density:

Use the local sensitivity from (small) to (large):

Out[2]=2

Use any of several automatic bandwidth selection methods:

Out[2]=2

Silverman's method is used by default for bandwidth selection:

The PDFs are equivalent:

Out[2]=2

Use different bandwidth specifications in each dimension:

Out[2]=2

Specify any one of several kernel functions:

Out[2]=2

Define the kernel function as a pure function:

Out[2]=2

Presentation  (5)

Add labels:

Out[2]=2

Color the surface by height:

Out[2]=2

Create an overlay mesh:

Out[2]=2

Style the overlay mesh:

Out[3]=3

Show a legend matching the colors to their values:

Out[2]=2

Show the plot on a relief map:

Out[2]=2

Use a satellite map:

Out[3]=3

Options  (31)Common values & functionality for each option

BoundaryStyle  (2)

Use a red boundary around the edges of the surface:

Out[4]=4

BoundaryStyle applies to regions cut by RegionFunction:

Out[1]=1
Out[2]=2

ColorFunction  (4)

By default, regions with a lower density of points are colored lighter:

Out[2]=2

Specify the color function from a coloring scheme:

Out[2]=2

Specify a specific color function:

Out[3]=3

Use ColorFunctionScaling->False to get unscaled height values:

Out[2]=2

Use opacity to show relative densities:

Out[2]=2

ColorFunctionScaling  (1)

Use ColorFunctionScaling->False to get unscaled height values:

Out[2]=2

GeoBackground  (3)

By default, geo intensity plots are shown on an unlabeled map:

Out[2]=2

Show the intensity plot on a labeled map:

Out[2]=2

Show the plot on a satellite map:

Out[2]=2

GeoCenter  (1)

Center the plot at specific entity coordinates:

Out[2]=2

Center the plot at specific coordinates:

Out[3]=3

GeoGridLines  (1)

Overlay a map with geo grid lines using the default styling:

Out[3]=3

Draw geo grid lines at specific lines of latitude and longitude:

Out[2]=2

Draw geo grid lines at specific lines of latitude:

Out[3]=3

Draw geo grid lines at specific lines of longitude:

Out[4]=4

Specify the target number of geo grid lines:

Out[5]=5

Specify different numbers of latitude and longitude geo grid lines:

Out[6]=6

Draw geo grid lines as multiples of a given angle:

Out[7]=7

GeoGridLinesStyle  (1)

Specify the overall geo grid line style:

Out[2]=2
Out[3]=3

GeoModel  (2)

Use the default (ellipsoidal) model of the Earth:

Out[2]=2

Use the Moon as reference model:

Out[2]=2

GeoProjection  (1)

Use GeoProjection to change the map projection:

Out[1]=1

GeoRange  (1)

The geographic region to show is automatically determined:

Out[2]=2

Specify the region to show:

Out[3]=3

Specify the corners of the geo range:

Out[4]=4

GeoRangePadding  (1)

Use GeoRangePadding->None to remove padding:

Out[2]=2

Use 250 kilometers of padding on each side of the map:

Out[3]=3

Specify padding for latitude only:

Out[4]=4

Specify different padding on each side of the map:

Out[5]=5

Pad inward on each side:

Out[6]=6

GeoScaleBar  (1)

Show the plot with a scale bar in metric units:

Out[2]=2

Show the plot with a scale bar in metric and imperial units:

Out[3]=3

Place the scale bar in the top-right corner:

Out[4]=4

GeoServer  (1)

Use the Wolfram geo server to download map tiles:

Out[3]=3

Use an alternative geo server:

Out[0]=0

Specify explicitly some of the parameters of the tile server:

Out[1]=1

GeoZoomLevel  (1)

Explicitly specify GeoZoomLevel to obtain a lower-resolution map rendering:

Out[2]=2

Explicitly specify GeoZoomLevel to obtain a higher-resolution map rendering:

Out[7]=7

LightingAngle  (1)

By default, the simulated lighting is placed at , or the top-left corner, with altitude :

Out[2]=2

Place the light source at , or the left of the map:

Out[3]=3

Place the light source at , or the right side of the map, with altitude:

Out[4]=4

Mesh  (1)

GeoSmoothHistogram does not show a mesh by default:

Out[2]=2

Use 5 mesh lines in the direction:

Out[3]=3

Use 3 mesh lines in the direction and 6 mesh lines in the direction:

Out[4]=4

Show the complete sampling mesh:

Out[5]=5

MeshFunctions  (1)

Use the value as the mesh function:

Out[1]=1
Out[2]=2

Use mesh lines in the and directions:

Out[3]=3

Use mesh lines corresponding to fixed distances from the mean:

Out[4]=4

MeshStyle  (1)

Use red mesh lines:

Out[2]=2

OpacityFunction  (1)

The Automatic setting creates a custom transparency in the smooth histogram over the map:

Out[2]=2

Use None to get a fully opaque visualization:

Out[3]=3

Set opacity as a function of the scaled function value f:

Out[3]=3

Show the opacity at the plot legends:

Out[4]=4

PlotLegends  (1)

Show a legend matching the colors to their values:

Out[2]=2

Position the legend below the map:

Out[3]=3

PlotPoints  (1)

Use more initial points to get a smoother plot:

Out[3]=3

PlotTheme  (1)

Use a theme with simple ticks and grid lines in a bright color scheme:

Out[2]=2

Change the color scheme:

Out[3]=3

RegionFunction  (2)

Limit the histogram to a region corresponding to an entity:

Out[1]=1

Use a function to limit the histogram according to the latitude:

Out[1]=1

Applications  (4)Sample problems that can be solved with this function

Generate an intensity plot of the heights of notable buildings in New York City:

Out[2]=2

Show the intensity of the distribution of breweries in the United States:

Out[2]=2

Map the distribution of trees in Champaign, IL:

Out[2]=2

Map a smooth histogram of the last 1000 registered meteorite landings in the world:

Out[1]=1
Out[2]=2

Properties & Relations  (9)Properties of the function, and connections to other functions

Use SmoothDensityHistogram and SmoothHistogram3D for general data:

Out[2]=2

Use GeoListPlot for individual locations:

Out[1]=1

Use GeoBubbleChart to show values with scaled bubbles:

Out[2]=2

Use GeoRegionValuePlot to show values with colored regions:

Out[2]=2

Use GeoHistogram to aggregate locations into bins:

Out[2]=2

Use GeoVectorPlot and GeoStreamPlot for vector fields:

Out[2]=2

Draw contours on a map with GeoContourPlot:

Out[1]=1

Smoothly shade a map using color with GeoDensityPlot:

Out[1]=1

Plot relationships between geographic locations on a map:

Out[1]=1
Wolfram Research (2018), GeoSmoothHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html (updated 2019).
Wolfram Research (2018), GeoSmoothHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html (updated 2019).

Text

Wolfram Research (2018), GeoSmoothHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html (updated 2019).

Wolfram Research (2018), GeoSmoothHistogram, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html (updated 2019).

CMS

Wolfram Language. 2018. "GeoSmoothHistogram." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html.

Wolfram Language. 2018. "GeoSmoothHistogram." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html.

APA

Wolfram Language. (2018). GeoSmoothHistogram. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html

Wolfram Language. (2018). GeoSmoothHistogram. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html

BibTeX

@misc{reference.wolfram_2025_geosmoothhistogram, author="Wolfram Research", title="{GeoSmoothHistogram}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}", note=[Accessed: 08-June-2025 ]}

@misc{reference.wolfram_2025_geosmoothhistogram, author="Wolfram Research", title="{GeoSmoothHistogram}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}", note=[Accessed: 08-June-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_geosmoothhistogram, organization={Wolfram Research}, title={GeoSmoothHistogram}, year={2019}, url={https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}, note=[Accessed: 08-June-2025 ]}

@online{reference.wolfram_2025_geosmoothhistogram, organization={Wolfram Research}, title={GeoSmoothHistogram}, year={2019}, url={https://reference.wolfram.com/language/ref/GeoSmoothHistogram.html}, note=[Accessed: 08-June-2025 ]}