Please sign in to comment.
gdal2tiles: prevent accidental copy of full GeoTIFF into temporary .v…
…rt file This line is used to write the temporary .vrt for the reprojected input. However, if the input was already in the correct projection, `self.warped_input_dataset` was the input GeoTIFF dataset directly due to the previous line, so `GetDriver` returned the GeoTIFF driver rather than VRT. It then created a .vrt file that was actually in GeoTIFF format and copied the entire input into it.
- Loading branch information...
Showing with 2 additions and 2 deletions.