Administrative Levels#

Country#

geocode_countries()

Example of geocoding with all countries

World countries

Example of geocoding of countries: Canada

Canada

Example of geocoding of countries: India

India

State#

geocode_states()

Example of geocoding of states: United States

US states

Example of geocoding of states: Australia

Australia states

Example of geocoding of states: Russia

Russia states

County#

geocode_counties()

Example of geocoding of counties: United States

US counties

Example of geocoding of counties: Italy

Italy counties

Example of geocoding of counties: Poland

Poland counties

City#

geocode_cities()

Geometries#

Polygons#

geom_map(), geom_polygon()

Example of geocoding with map geometry: Brazil

Brazil

Example of geocoding with map geometry: Nigeria

Nigeria states

Example of geocoding with map geometry: Greece

Greece counties

Points#

geom_point()

Example of geocoding with point geometry: Kazakhstan

Kazakhstan state centroids

Example of geocoding with point geometry: Georgia

Georgia county centroids

Example of geocoding with point geometry: Greenland

Greenland cities

Rectangles#

geom_rect()

Example of geocoding with rectangle geometry: Japan

Japan bounding box with states

Example of geocoding with rectangle geometry: Ireland

Ireland county bounding boxes

Example of geocoding with rectangle geometry: Cuba

Cuba bounding box with cities

Guides to Geocoding#

Documentation: The Geocoding Reference Guide.

An example covering various geocoding use-cases: geocoding_reference.ipynb.

Key Features#

../../_images/geospatial-visualization-light.svg ../../_images/geospatial-visualization-dark.svg

Geospatial Visualization

Find spatial objects with the help of our powerful and easy to use Geocoding module. In case you already have GeoDataFrame on hand - plot it straight away.

../../_images/interactive-maps.svg

Interactive Maps

Interactive maps allow zooming and panning around your geospatial data with customizable vector or raster basemaps as a backdrop. Learn more.

../../_images/bistro-light.svg ../../_images/bistro-dark.svg

‘bistro’ Plots

Ready-to-use compound plots - correlation matrices, Q-Q plots, joint plots, residual plots - that combine multiple geoms, scales, and settings into one call. Learn more.

../../_images/zoom-pan-light.svg ../../_images/zoom-pan-dark.svg

Panning and Zooming

Enable an interactive toolbar with ggtb() to pan and zoom any chart - rubber-band zoom, center-point zoom, and pan tools. Learn more.

../../_images/tooltips-light.svg ../../_images/tooltips-dark.svg

Customizable Tooltips and Annotations

You can customize the content, values formatting and appearance of tooltip and annotation for layers of your plot.

../../_images/formatting-light.svg ../../_images/formatting-dark.svg

Formatting

Lets-Plot supports formatting of numeric and date-time values in tooltips, annotations, legends, on the axes and text geometry layer. Learn more.

../../_images/show-ext-light.png ../../_images/show-ext-dark.png

Option to Display Plots in External Browser

With the “show externally” mode enabled, you can easily display a plot in an external browser by invoking its show() method. Learn more.

../../_images/sampling-light.svg ../../_images/sampling-dark.svg

Sampling

Sampling is a special technique of data transformation, which helps to deal with large datasets and overplotting. Learn more.

../../_images/offline-mode-light.svg ../../_images/offline-mode-dark.svg

‘No Javascript’ and Offline Mode

In the ‘no javascript’ mode Lets-Plot generates plots as bare-bones SVG images. Plots in the notebook with option offline=True will be working without an Internet connection. Learn more.