## Parameter use_crs¶

The use_crs parameter is supported by all geometry layers which have the map parameter, i.e. by layers which can be used for visualization of Geopandas GeoDataFrame.

Those layers are: point, path, polygon, text, label and map.

By default, Lets-Plot converts all coordinates in every GeoDataFrame to degrees of longitude and latitude and later projects these map coordinates to screen coordinates using Mercator projection.

Sometimes it might be necessary to use some other coordinate reference system (CRS) instead of the default WGS84 / Mercator.

If this is the case, you can use the use_crs parameter to specify EPSG code of CRS to project GeoDataFrame coordinates to.

In [1]:
import numpy as np
from lets_plot import *
LetsPlot.setup_html()