[GRASS-user] i.rectify (or gdalwarp -off topic)

2014-07-30 Thread Milton Ribeiro
Dear all,

sorry to post this issue here, but maybe some of you can help me.

Following Markus Neteler (and other) suggestioins, I was able to
automatically generate a ground control point file for a large set of
images.

Now I have (at least) two directions.
1. rectify the image using i.rectify
2. use gdalwarp out of grass

In both ways I face the same issues: a) how can I input my text file for a
certain image and b) what is the proper format that I need to follow when
preparing the file (for both i.rectify and gdalwarp)?

Detail: the images are JPG fotos taken using a fixed camera in the top of a
tower, so the images are nearly the same scene.

Thanks a million
-- 
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação - LEEC
Depto de Ecologia - UNESP - Rio Claro
Av. 24A, 1515- Bela Vista
13506-900 Rio Claro, SP, Brasil

Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
Cel: 19 9853-3220 / 19 9853-5430

Depto Ecologia http://ib.rc.unesp.br/#!/departamentos/ecologia/
PG ECO  BIODIV
http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/

CV
http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

Google citations http://scholar.google.com/citations?user=OWX_2eAJ
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] i.rectify (or gdalwarp -off topic)

2014-07-30 Thread Hamish
Milton wrote:
 Following Markus Neteler (and other) suggestioins, I was able to
 automatically generate a ground control point file for a large set of
 images.
 
 Now I have (at least) two directions.
 1. rectify the image using i.rectify
 2. use gdalwarp out of grass
 
 In both ways I face the same issues: a) how can I input my text file
 for a certain image and b) what is the proper format that I need to
 follow when preparing the file (for both i.rectify and gdalwarp)?
 
 Detail: the images are JPG fotos taken using a fixed camera in the
 top of a tower, so the images are nearly the same scene.

Hi,

If are familair with Bourne shell scripting, you might have a look in the 
grass6 addons SVN for i.warp and i.points.reproj scripts.

(i.warp is a bit of a mess, but uses gdalwarp with grass's POINTS gcp file)

the grass POINTS gcp file is pretty easy format, 

#   image  target   status
#east   northeast   north   (1=ok)
#
 2.537267   10.230953  1393516.34  4902494.781
 8.038078   10.219225  1419326.28  4903305.401
13.531500   10.212226  1445136.43  4904007.831
 8.0297182.291376  1420414.87  4866269.911
 2.5310902.302488  1394760.64  4865459.671
19.005416   10.198488  1470946.75  4904602.121
18.9879682.271928  1471724.12  4867566.031
13.5192342.281374  1446060.02  4867342.381
 6.186646   14.579820  1410021.804000  4923820.6670001
 5.233682   14.892164  1403912.826000  4925688.7450000
 4.728343   14.134303  1403217.899000  4921427.9140001
 8.716253   13.454576  1421998.543000  4918833.2690001



regards,
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user