[GRASS-user] Raster with bounding box

Hi all,

I have a bunch of png format images to import. I also have a csv of the images' bounding boxes.

Rather than working by hand, which would be slow - is there any quick way to turn the bounding boxes into a POINTS file for each image, to automate the georectification?

Cheers,
Richard

Hi,

I would say you have at least 3 way to do that:

  • use your bounding box points to make a vrt raster for each of your png files
  • use gdalwarp to georectify your png files
  • “manually” write the POINTS files to use with i.rectify (try first to georectify 1 file by hand with the “georectify tool”, and then go to the group/subgroup directories to study the files structure)

for each of those solutions you will need to write a small script to automate the process for all of your files :wink:

cheers,
Sylvain

2012/8/13 Richard Chirgwin <rchirgwin@ozemail.com.au>

Hi all,

I have a bunch of png format images to import. I also have a csv of the images’ bounding boxes.

Rather than working by hand, which would be slow - is there any quick way to turn the bounding boxes into a POINTS file for each image, to automate the georectification?

Cheers,
Richard


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user