https://github.com/banesullivan/localtileserver
đ dynamic tile server for visualizing rasters in Jupyter with ipyleaflet or folium
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
âCITATION.cff file
-
âcodemeta.json file
Found codemeta.json file -
â.zenodo.json file
Found .zenodo.json file -
âDOI references
-
âAcademic publication links
-
âCommitters with academic emails
-
âInstitutional organization owner
-
âJOSS paper metadata
-
âScientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
đ dynamic tile server for visualizing rasters in Jupyter with ipyleaflet or folium
Basic Info
- Host: GitHub
- Owner: banesullivan
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://localtileserver.banesullivan.com
- Size: 112 MB
Statistics
- Stars: 332
- Watchers: 11
- Forks: 29
- Open Issues: 16
- Releases: 14
Topics
Metadata Files
README.md

đ Local Tile Server for Geospatial Rasters
Need to visualize a rather large (gigabytes+) raster? This is for you.
A Python package for serving tiles from large raster files in
the Slippy Maps standard
(i.e., /zoom/x/y.png) for visualization in Jupyter with ipyleaflet or folium.
Launch a demo on MyBinder
Documentation: https://localtileserver.banesullivan.com/
Built on rio-tiler
đ Highlights
- Launch a tile server for large geospatial images
- View local or remote* raster files with
ipyleafletorfoliumin Jupyter - View rasters with CesiumJS with the built-in web application
*remote raster files should be pre-tiled Cloud Optimized GeoTiffs
đ Usage
Usage details and examples can be found in the documentation: https://localtileserver.banesullivan.com/
The following is a minimal example to visualize a local raster file with
ipyleaflet:
```py from localtileserver import getleaflettile_layer, TileClient from ipyleaflet import Map
First, create a tile server from local raster file
client = TileClient('path/to/geo.tif')
Create ipyleaflet tile layer from that server
t = getleaflettile_layer(client)
m = Map(center=client.center(), zoom=client.default_zoom) m.add(t) m ```

âšī¸ Overview
The TileClient class can be used to to launch a tile server in a background
thread which will serve raster imagery to a viewer (usually ipyleaflet or
folium in Jupyter notebooks).
This tile server can efficiently deliver varying resolutions of your raster imagery to your viewer; it helps to have pre-tiled, Cloud Optimized GeoTIFFs (COGs).
There is an included, standalone web viewer leveraging CesiumJS.
âŦī¸ Installation
Get started with localtileserver to view rasters in Jupyter or deploy as your
own Flask application.
đ Installing with conda
Conda makes managing localtileserver's dependencies across platforms quite
easy and this is the recommended method to install:
bash
conda install -c conda-forge localtileserver
đĄ Installing with pip
If you prefer pip, then you can install from PyPI: https://pypi.org/project/localtileserver/
pip install localtileserver
đ Feedback
Please share your thoughts and questions on the Discussions board. If you would like to report any bugs or make feature requests, please open an issue.
If filing a bug report, please share a scooby Report:
py
import localtileserver
print(localtileserver.Report())
Owner
- Name: Bane Sullivan
- Login: banesullivan
- Kind: user
- Location: United States
- Website: banesullivan.com
- Repositories: 75
- Profile: https://github.com/banesullivan
visualization geek & software engineer. co-created @pyvista.
GitHub Events
Total
- Issues event: 10
- Watch event: 33
- Delete event: 8
- Issue comment event: 50
- Push event: 24
- Pull request review event: 5
- Pull request review comment event: 4
- Pull request event: 20
- Fork event: 1
- Create event: 11
Last Year
- Issues event: 10
- Watch event: 33
- Delete event: 8
- Issue comment event: 50
- Push event: 24
- Pull request review event: 5
- Pull request review comment event: 4
- Pull request event: 20
- Fork event: 1
- Create event: 11
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| banesullivan | b****i@g****m | 292 |
| banesullivan | b****n@g****m | 228 |
| dependabot[bot] | 4****]@u****m | 50 |
| Qiusheng Wu | g****s@g****m | 2 |
| Oliver Lopez | l****r@g****m | 1 |
| Paolo Colombo | 8****l@u****m | 1 |
| Rambaud Pierrick | 1****u@u****m | 1 |
| RichardScottOZ | 7****Z@u****m | 1 |
| Thomas Logue, PE | 3****4@u****m | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 65
- Total pull requests: 128
- Average time to close issues: 4 months
- Average time to close pull requests: 26 days
- Total issue authors: 28
- Total pull request authors: 11
- Average comments per issue: 5.18
- Average comments per pull request: 1.3
- Merged pull requests: 88
- Bot issues: 0
- Bot pull requests: 83
Past Year
- Issues: 6
- Pull requests: 18
- Average time to close issues: 11 days
- Average time to close pull requests: about 1 month
- Issue authors: 5
- Pull request authors: 4
- Average comments per issue: 5.17
- Average comments per pull request: 1.56
- Merged pull requests: 12
- Bot issues: 0
- Bot pull requests: 12
Top Authors
Issue Authors
- banesullivan (19)
- giswqs (16)
- 12rambau (3)
- chpolste (1)
- avanetten (1)
- MATRIX4284 (1)
- jovanovski (1)
- nve-sak (1)
- niowniow (1)
- haseeb33 (1)
- Dodekaphonia (1)
- gtgrp-user (1)
- ryan-salo (1)
- mrpan (1)
- vincentsarago (1)
Pull Request Authors
- dependabot[bot] (107)
- banesullivan (43)
- giswqs (3)
- tjlogue4 (2)
- bane-bot (2)
- paolchol (2)
- manzt (2)
- lopezvoliver (2)
- snigdho-dutta (1)
- MATRIX4284 (1)
- 12rambau (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- pypi 41,843 last-month
- Total docker downloads: 225
-
Total dependent packages: 22
(may contain duplicates) -
Total dependent repositories: 139
(may contain duplicates) - Total versions: 89
- Total maintainers: 1
pypi.org: localtileserver
Locally serve geospatial raster tiles in the Slippy Map standard.
- Documentation: https://localtileserver.banesullivan.com
- License: MIT License
-
Latest release: 0.10.6
published about 1 year ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/banesullivan/localtileserver
- Documentation: https://pkg.go.dev/github.com/banesullivan/localtileserver#section-documentation
- License: mit
-
Latest release: v0.10.6
published about 1 year ago
Rankings
conda-forge.org: localtileserver
Need to visualize a rather large (gigabytes) raster you have locally? This is for you. Local tile server for viewing geospatial raster files with ipyleaflet or folium. A Flask application for serving tiles from large raster files in the Slippy Maps standard (i.e., `/zoom/x/y.png`).
- Homepage: https://github.com/banesullivan/localtileserver
- License: MIT
-
Latest release: 0.6.1
published over 3 years ago
Rankings
Dependencies
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- peaceiris/actions-gh-pages v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- docker/build-push-action v4 composite
- docker/login-action v2 composite
- docker/metadata-action v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- codecov/codecov-action v3 composite
- conda-incubator/setup-miniconda v2 composite
- python 3.11.1-slim build
- Flask-Caching *
- click *
- cmocean *
- flask >=2.0.0
- flask-cors *
- flask-restx >=0.5.0
- gunicorn *
- large-image >=1.14.1
- matplotlib *
- pytest *
- pytest-cov *
- requests *
- scooby *
- sentry-sdk *
- server-thread *
- werkzeug *
- bokeh *
- jupyter-sphinx *
- pydata-sphinx-theme ==0.12.0
- sphinx ==5.3.0
- sphinx-copybutton *
- sphinx-notfound-page *
- folium *
- ipyleaflet *
- jupyter-server-proxy *
- shapely *
- black *
- codespell *
- flake8 <7.0.0
- flake8-black *
- flake8-bugbear *
- flake8-isort *
- isort *
- pydocstyle *
- Flask-Caching *
- GDAL *
- click *
- flask >=2.0.0
- flask-cors *
- flask-restx >=0.5.0
- large-image *
- black
- click
- cmocean
- codespell
- flake8 <5.0.0
- flake8-black
- flake8-bugbear
- flake8-isort
- flask >=2.0.0
- flask-caching
- flask-cors
- flask-restx >=0.5.0
- folium
- gunicorn
- ipyleaflet
- isort
- jupyter-server-proxy
- jupyter-sphinx
- large-image-source-rasterio
- large-image-source-tiff
- matplotlib
- pip
- pydata-sphinx-theme
- pydocstyle
- pylibmc
- pytest
- pytest-cov
- python >=3.8
- requests
- scooby
- server-thread
- shapely
- sphinx
- sphinx-copybutton
- sphinx-notfound-page
- werkzeug <2.2