GeoDensityPlot

GeoDensityPlot[{loc1val1,loc2val2,}]

makes a geo density plot with colors at the location loci determined by the value vali.

GeoDensityPlot[locsvals]

uses a collection of locations locs with corresponding values vals.

Details and Options

Examples

open allclose all

Basic Examples  (4)

Plot data associated with geo locations:

Plot the temperature for cities near Austin, TX, with a legend:

Use a GeoPosition of locations with elevations around Crater Lake:

Plot gridded values over a specified range of coordinates:

Scope  (12)

Data  (7)

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

Use WeightedData:

Locations can be given as entities or geo positions:

GeoRange is selected automatically:

Use GeoRange to focus on geographic areas of interest:

Use MaxPlotPoints to limit the number of points used:

Use RegionFunction to restrict the density to a region:

Use discrete colors instead of smoothly shaded ones:

Presentation  (5)

Add labels and legends:

Color the density by hue:

Use a different geographical projection:

Show the plot on a street map:

Use a satellite map:

Use a theme with bright contours on a relief map:

Options  (55)

BoundaryStyle  (3)

No boundary is used by default:

Use a red boundary around the edges:

Outline the region being plotted:

ColorFunction  (2)

Color by scaled value:

Named color gradients color in the direction:

ColorFunctionScaling  (1)

Color values below 300 blue, and other values red:

DataRange  (1)

Specify latitude and longitude ranges for an array of values:

GeoBackground  (2)

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

Use a relief map of the world:

Use a satellite image instead:

GeoCenter  (2)

Maps are automatically centered based on the data:

Specify a specific location for the center of the map:

GeoGridLines  (2)

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

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

GeoGridLinesStyle  (1)

Specify the overall geo grid line style:

GeoModel  (2)

Use the default (ellipsoidal) model of the Earth:

Use the Moon as reference model:

GeoProjection  (2)

Use GeoProjection to view the map in the Robinson projection:

Use the Bonne projection instead:

GeoRange  (3)

The geographic region to show is automatically determined:

Specify the region to show:

Specify the corners of the geo range:

GeoRangePadding  (4)

Use GeoRangePadding->None to remove padding:

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

Specify padding for latitude only:

Specify different padding on each side of the map:

GeoScaleBar  (3)

Show the plot with a scale bar in metric units:

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

Place the scale bar in the top-right corner:

GeoServer  (2)

Use the Wolfram geo server to download map tiles:

Specify explicitly some of the parameters of the tile server:

GeoZoomLevel  (2)

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

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

InterpolationOrder  (2)

Contours are normally based on a linear interpolation of the data:

Use zero-order or piecewise constant interpolation:

MaxPlotPoints  (2)

GeoDensityPlot normally uses all of the points in the dataset:

Limit the number of points used in each direction:

Mesh  (1)

Use five mesh levels of val:

Use 25:

MeshFunctions  (2)

Use mesh lines in the and directions:

Use mesh lines in the val direction:

MeshStyle  (2)

Use red mesh lines:

Use red mesh lines in the direction and dashed mesh lines in the direction:

OpacityFunction  (4)

The opacity is automatically varied to highlight areas in the data:

Use fully opaque colors:

Use constant 60% opacity:

Use increasing opacity for the lowest quartile and full opacity for the rest:

PerformanceGoal  (2)

Generate a higher-quality plot:

Emphasize performance, possibly at the cost of quality:

PlotLegends  (4)

No legend is used by default:

Include a legend:

Legends automatically use the same colors as the density plot:

Use Placed to change legend placement:

PlotTheme  (1)

Use a theme with bright contours on a relief map:

Use a satellite map for the background:

RegionFunction  (3)

Plot only certain ranges of values:

Plot over a region in and :

Use an entity region:

Applications  (2)

Show gridded population density on a map:

Plot the strength of the Earth's geomagnetic field:

Properties & Relations  (10)

Draw contours on a map with GeoContourPlot:

Use ListDensityPlot for general data:

Use GeoBubbleChart to show values with scaled bubbles:

Use GeoRegionValuePlot to show values with colored regions:

Use GeoHistogram to aggregate locations into bins:

Use GeoSmoothHistogram to generate smooth densities from locations:

Use GeoListPlot for individual locations:

Use GeoVectorPlot and GeoStreamPlot for vector fields:

Use GeoGraphValuePlot to show the values on geographic networks:

Plot relationships between geographic locations on a map:

Wolfram Research (2020), GeoDensityPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoDensityPlot.html.

Text

Wolfram Research (2020), GeoDensityPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/GeoDensityPlot.html.

CMS

Wolfram Language. 2020. "GeoDensityPlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GeoDensityPlot.html.

APA

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

BibTeX

@misc{reference.wolfram_2024_geodensityplot, author="Wolfram Research", title="{GeoDensityPlot}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/GeoDensityPlot.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_geodensityplot, organization={Wolfram Research}, title={GeoDensityPlot}, year={2020}, url={https://reference.wolfram.com/language/ref/GeoDensityPlot.html}, note=[Accessed: 22-November-2024 ]}