Metadata-Version: 2.1
Name: geotile
Version: 0.2.3
Summary: Package for working with geographic raster tiles
Home-page: https://github.com/iamtekson/geotile
Author: Tek Kshetri
Author-email: iamtekson@gmail.com
License: MIT License
Keywords: geotile,geotiling,geoTiler,geospatial,geospatial data,geospatial raster tiles,raster tiles,raster,tiles,tile,tiling python,python
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

[![Downloads](https://pepy.tech/badge/geotile)](https://pepy.tech/project/geotile)
[![PyPI version](https://badge.fury.io/py/geotile.svg)](https://pypi.org/project/geotile/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/iamtekson/geotile/blob/master/LICENSE)

# 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](https://rasterio.readthedocs.io/en/latest/) and [geopandas](https://geopandas.org/en/stable/index.html)) are installed already, the library can be installed with pip as,

```shell
pip install geotile
```

## Some basic examples

Please check the complete documentation here: https://geotile.readthedocs.io/en/latest/

```shell
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 raster mask from shapefile
gt.mask('/path/to/shapefile.shp', '/path/to/output/file.tif')
```

### TO DO

- Vectorize raster data
