If filing a bug report, please share a scooby Report: import localtileserver print ( localtileserver. If you would like to report any bugs or make feature requests, please open an issue. Please share your thoughts and questions on the Discussions board. If on linux, I highly recommend using the large_image_wheels from Kitware. GDAL can be a pain in the □ to install, so you may want to handle GDALīefore installing localtileserver when using pip. Install from PyPI: pip install localtileserver If you prefer pip, and know how to install GDAL on your system, then you can □ Installing with condaĬonda makes managing localtileserver's dependencies across platforms quiteĮasy and this is the recommended method to install: conda install -c conda-forge localtileserver Get started with localtileserver to view rasters in Jupyter or deploy as your You can use the web viewer to select and extract regions of interest from rasters. There is an included, standalone web viewer leveraging Will tile and cache for you when opening the raster. Raster imagery to your viewer it helps to have pre-tiled,Ĭloud Optimized GeoTIFFs (COGs), but no wories if This tile server can efficiently deliver varying resolutions of your Thread which will serve raster imagery to a viewer (usually ipyleaflet or The TileClient class can be used to to launch a tile server in a background Ipyleaflet: from localtileserver import get_leaflet_tile_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 = get_leaflet_tile_layer ( client ) m = Map ( center = client. The following is a minimal example to visualize a local raster file with Usage details and examples can be found in the documentation: * remote raster files should be pre-tiled Cloud Optimized GeoTiffs □ Usage Use the example datasets to generate Digital Elevation Models.Extract regions of interest (ROIs) interactively.View rasters with CesiumJS with the built-in Flask web application.View local or remote* raster files with ipyleaflet or folium in Jupyter.Launch a tile server for large geospatial images.Standalone web app or in your own web deployments needing dynamic tile serving. Under the hood, this is also a Flask blueprint/application for use as a (i.e., /zoom/x/y.png) for visualization in Jupyter with ipyleaflet or folium. Need to visualize a rather large (gigabytes+) raster? This is for you.Ī Python package for serving tiles from large raster files in □ Local Tile Server for Geospatial Rasters
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |