Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. gdalwarp -te tilexmin tileymin tilexmax tileymax
  2. -t_srs targetproj.wkt
  3. -of GTiff
  4. bigmosaic.tiff smalltile.tif
  5.  
  6. #!/usr/bin/env python
  7. import rsgislib
  8. from rsgislib import imageutils
  9. inputImage = './Rasters/injune_p142_casi_sub_utm.kea'
  10. outBase = './TestOutputs/Tiles/injune_p142_casi_sub_utm'
  11. width = 100
  12. height = width
  13. overlap = 5
  14. offsettiling = 0
  15. format = 'KEA'
  16. dataType = rsgislib.TYPE_32INT
  17. ext='kea'
  18. imageutils.createTiles(inputImage, outBase, width, height, overlap, offsettiling, gdalformat, dataType, ext)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement