Package for working with geographic raster tiles
Project description
GeoTile
GeoTile is an open-source python library for creating and manipulating the tiles of the raster dataset. The package will be very useful for managing the raster tiles which can be used for deep learning traing dataset.
Full documentation
The complete documentation of this package is available here: https://geotile.readthedocs.io/en/latest/
Installation
If all of the dependencies (rasterio and geopandas) are installed already, the library can be installed with pip as,
pip install geotile
Some basic examples
Please check the complete documentation here: https://geotile.readthedocs.io/en/latest/
from geotile import GeoTile
gt = GeoTile(r"path/to/raster/data.tif")
# to generate the tiles of raster
gt.generate_raster_tiles(r'/path/to/output/folder', tile_x=512, tile_y=512, stride_x=0, stride_y=0)
# to generate the raster mask from shapefile
gt.generate_raster_mask_from_shapefile('/path/to/shapefile.shp', '/path/to/output/file.tif')
TO DO
- Vectorize raster data
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geotile-0.2.0.tar.gz
.
File metadata
- Download URL: geotile-0.2.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073a9ab05130db050a464ee2d499c6fc563613521bcd57da0a1a6ae1f7f296d5 |
|
MD5 | 79ac411b3f511bf6d15d8dbb37bb7f63 |
|
BLAKE2b-256 | 1282e207937df7572268f8e1c6fb4c8ad47720a885934aa854c1c04863dd3577 |
Provenance
File details
Details for the file geotile-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: geotile-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69f7b4e8d3155d2be62158c7b27d4eb5d6b312af01c91241023782eaab075316 |
|
MD5 | 662ca7d49a38ecc437207933f89efe3f |
|
BLAKE2b-256 | 00004a3c8b78505ab9a4a7790f8e667363505606b43974908dc7b9357a44c104 |