⬇️ Installation#

Get started with localtileserver to view rasters locally in Jupyter or deploy in your own Flask application.

🐍 Installing with conda#

conda-forge

Conda makes managing localtileserver’s dependencies across platforms quite easy and this is the recommended method to install:

conda install -c conda-forge localtileserver ipyleaflet

🎡 Installing with pip#

PyPI

If you prefer pip, and know how to install GDAL on your system, then you can install from PyPI: https://pypi.org/project/localtileserver/

pip install localtileserver ipyleaflet

📝 A Brief Note on Installing GDAL#

GDAL can be a pain in the 🍑 to install, so you may want to handle GDAL before installing localtileserver when using pip.

If on linux, I highly recommend using the large_image_wheels from Kitware.

pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL

Otherwise, one does not simply pip install GDAL. You will want to either use conda or install GDAL using your system package manager (e.g.: apt, Homebrew, etc.)

One does not simply pip install GDAL