osgeonepal / geotile

GeoTile is the python library for tiling the geographic raster data (eg. Tiff etc)
https://geotile.readthedocs.io
MIT License
74 stars 9 forks source link

Write per tile affine transform and crs to disk to allow ML bounding boxes to be converted to geo space #14

Closed peanutbutter-memory closed 12 months ago

peanutbutter-memory commented 1 year ago

Fantastic library! Thanks for effort on it:)

While tile is GeoTiff, the coordinate information is present. Modifying the tile i.e. converting format to png for ML usage results in coordinate information being lost.

To retain spatial information regardless of image format, write an accompanying text file per tile generated capturing the geotransform and crs. Allows for manipulating bound boxes found in tile to represent geo coordinates for gis display and analysis.