Georeferencing question
Frank Warmerdam
warmerdam at POBOX.COM
Thu Jan 5 07:29:48 PST 2006
On 1/5/06, Gambin Dejan <Dejan.Gambin at pula.hr> wrote:
> Thanks Frank,
>
> I have tried using four corner points, just for testing (I know I have
> to find more gcp-s):
>
> gdal_translate -gcp 0 0 5409006.4226 4970689.5864 -gcp 0 5931
> 5409006.4226 4970064.7150 -gcp 7590 0 5409806.0064 4970689.5864 -gcp
> 7590 5931 5409806.0064 4970064.7150 025-k.jpg 025-k-translated.tif
>
> gdalinfo on 025-k-translated says:
>
>
> Then I tried:
>
> gdalwarp -tps -co "TFW=YES" 025-k-translated.tif 025-k-warped.tif
>
> but I get
>
> "Creating output file that is 1417111232P x 0L.
> ERROR 1: Attempt to create 1417111232x0x3 TIFF file, but width, height
> and bands must be positive.
Gambin,
I did:
gdal_translate 080003dv_gauss.tif -gcp 0 0 5409006.4226 4970689.5864
-gcp 0 5931 5409006.4226 4970064.7150 -gcp 7590 0 5409806.0064
4970689.5864 -gcp 7590 5931 5409806.0064 4970064.7150 gcps.tif
gdalwarp -tps gcps.tif warped.tif
After this process, the warped.tif overlays the gcps.tif properly in OpenEV.
Egads, I think I have mixed up your bug report, and the data
from another fellow! Ignore what I said before about having
already downloaded your file.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list