[gdal-dev] Re: gdal-dev Digest, Vol 96, Issue 55

jdmorgan jdmorgan at unca.edu
Fri May 25 07:09:08 PDT 2012


This is a great listserv!

Chaitanya using a vrt worked so thank for that tip. Also, it must be the 
case as Jukka says that img isn't holding the control points. But as 
suggested a GeoTiff (and VRT) work fine.

Thanks so much for your help.

Cheers,
Derek

On 5/25/2012 7:25 AM, gdal-dev-request at lists.osgeo.org wrote:
> Send gdal-dev mailing list submissions to
> 	gdal-dev at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.osgeo.org/mailman/listinfo/gdal-dev
> or, via email, send a message with subject or body 'help' to
> 	gdal-dev-request at lists.osgeo.org
>
> You can reach the person managing the list at
> 	gdal-dev-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gdal-dev digest..."
>
>
> Today's Topics:
>
>     1. Re: georeference and project a jpeg (Chaitanya kumar CH)
>     2. Re: georeference and project a jpeg (Jukka Rahkonen)
>     3. Re: ogr2ogr shapefile to mapinfo tab: no SRS.
>        (Frans Knibbe | Geodan)
>     4. Re: ogr2ogr shapefile to mapinfo tab: no SRS.
>        (Luca Sigfrido Percich)
>     5. Re: ogr2ogr shapefile to mapinfo tab: no SRS.
>        (Frans Knibbe | Geodan)
>     6. Re: ogr2ogr shapefile to mapinfo tab: no SRS.
>        (Frans Knibbe | Geodan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 25 May 2012 12:30:56 +0530
> From: Chaitanya kumar CH<chaitanya.ch at gmail.com>
> Subject: Re: [gdal-dev] georeference and project a jpeg
> To: jdmorgan<jdmorgan at unca.edu>
> Cc: gdal-dev at lists.osgeo.org
> Message-ID:
> 	<CAMKgpObbfjDbRUQCdq=nARfp8L8vRniY9G13K4t0m8K2Ldgw6A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Derek,
>
> Please provide the gdalinfo output of the img file.
>
> Also, try this:
> Create a vrt file instead of a HFA using the same gdal_translate command.
> See if gdalwarp works with the vrt file.
>
> On Fri, May 25, 2012 at 7:17 AM, jdmorgan<jdmorgan at unca.edu>  wrote:
>
>>   Hello,
>>
>> I am attempting to georeference and project a jpeg image using only gdal
>> tool.  I have georeferenced the jpeg using the following command:
>>
>> gdal_translate -a_srs EPSG:102719 -of HFA -gcp 0.0 0.0 -82.5586187839508
>> 35.59414007259327 -gcp 0.0 410.0 -82.55858659744263 35.5937998255945 -gcp
>> 520.0 0.0 -82.55741715431213 35.594340730401775 -gcp 520.0 410.0
>> -82.55728840827942 35.5940266570877 NCDCLogo.jpg NCDCLogo.img  ****
>>
>> ** **
>>
>> The command run fine and produces a img file however it does not line up
>> with similarly project layer per the gcp’s.  When I check the projection
>> information the file shows to be unprojected. Further, when I attempt to
>> project the resulting raster with gdalwarp I get the following errors:
>>
>> “There is no affine transformation and no GCPs.”
>>
>> Any pointers here would be greatly appreciated.
>>
>> Thanks,
>>
>> Derek
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>


-- 
Derek @ NEMAC
http://nemac.unca.edu



More information about the gdal-dev mailing list