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
The easy installation of geotile is by using conda environment,
conda install -c conda-forge geotile
If you want to install it for pip, check the documentation here: https://geotile.readthedocs.io/en/latest/pages/install.html
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_tiles(r'/path/to/output/folder', tile_x=256, tile_y=256, stride_x=256, stride_y=256)
# to generate the tiles of selected bands only
gt.generate_tiles(r'/path/to/output/folder', bands=[4, 3, 2], tile_x=256, tile_y=256, stride_x=256, stride_y=256)
# to merge the tiles
from geotile import mosaic
mosaic('/path/to/input/folder/tiles', output_file='path/to/output/file.tif')
# to generate the raster mask from shapefile
gt.mask('/path/to/shapefile.shp', '/path/to/output/file.tif')
# to rasterize the shapefile based on column value,
gt.rasterization(input_vector='path/to/shp.shp', out_path='path/to/output.tif' value_col="value_col")
# to close the file
gt.close()
Metadata
Release files for geotile 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geotile-1.1.0.tar.gz | 12.3 kB | Without provenance | Details for geotile-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geotile-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for geotile-1.1.0-py3-none-any.whl |
Total release size: 24.4 kB
Release files / geotile-1.1.0.tar.gz
| Download URL | geotile-1.1.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98d08dbda7011a624fa93ea43e97001c801985dccf04f495b98e1a7c7f144979
|
|
BLAKE2b-256 checksum How to use checksums |
d4f952a217111df73cc9ad34081692b221d4d67c24bd15532bd124833f323b50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / geotile-1.1.0-py3-none-any.whl
| Download URL | geotile-1.1.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f920b2cda5a5086a02364edf2a0aab9689800d76f0dd2d3fc08e8aeba6d92e5
|
|
BLAKE2b-256 checksum How to use checksums |
34832b9ea813fa27a8e2ce0351b53b16c185a28fd58bbfd50a83cee554a1962f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for geotile 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.