[Geotiff] listgeo/geotifcp and gdal
Conrad Bielski
conrad_bielski at yahoo.com
Thu Mar 3 10:58:20 EST 2011
Thanks Dave,
but yes... ossim would be to heavy for what I'm doing. I did find a workaround though with gdal which I will share here.
What I was doing with listgeo/geotifcp was injecting projection information into a tiff file. What this means is that I had a country that had their own 'special' TM based projection that was not being correctly saved by proprietary software.
My initial solution was to use listgeo to extract the image information, insert the projection information and together use geotifcp to insert the new information into the tif.
My new solution is similar, but I use:
gdalwarp -s_srs WKT-file.txt -t_srs EPSG:4326 inputFile.tif outputFile
and it worked!
Thanks again for your help,
Conrad :)
--- On Thu, 3/3/11, David Burken <dburken at comcast.net> wrote:
> From: David Burken <dburken at comcast.net>
> Subject: Re: [Geotiff] listgeo/geotifcp and gdal
> To: "Conrad Bielski" <conrad_bielski at yahoo.com>
> Cc: geotiff at lists.maptools.org
> Date: Thursday, March 3, 2011, 3:43 AM
> Hi Conrad,
>
> Your ldd looks good. I'm not sure what
> your goal is but you could look
> at ossim also. It might be overkill for what you're
> doing...
>
> http://trac.osgeo.org/ossim/wiki/icp
> http://trac.osgeo.org/ossim/wiki/orthoigen
>
> Take care,
> Dave
>
>
> On 03/03/2011 02:24 AM, Conrad Bielski wrote:
> > Hi David,
> > my ldd output is below. Before turning to gdal though
> I will try to see what else I can find with geotifcp (it is
> the perfect tool for what I'm doing!).
> > If there are any other suggestions out there, please
> write!
> > Thanks and have a great day,
> > Conrad :)
> >
> > [conrad at DMAPCTESLA bin]$ ldd geotifcp
> > libgeotiff.so.2
> => /home/conrad/PRJ-DIR/PACKAGE/lib/libgeotiff.so.2
> (0x00002aae63a32000)
> > libproj.so.0
> => /home/conrad/PRJ-DIR/PACKAGE/lib/libproj.so.0
> (0x00002aae63c63000)
> > libtiff.so.5
> => /home/conrad/PRJ-DIR/PACKAGE/lib/libtiff.so.5
> (0x00002aae63ea5000)
> > libjpeg.so.62
> => /usr/lib64/libjpeg.so.62 (0x0000003e48800000)
> > libz.so.1
> => /usr/lib64/libz.so.1 (0x0000003e44800000)
> > libc.so.6
> => /lib64/libc.so.6 (0x0000003e43800000)
> > libm.so.6
> => /lib64/libm.so.6 (0x0000003e43c00000)
> >
> /lib64/ld-linux-x86-64.so.2 (0x0000003e43400000)
> >
> >
> >
> >
> >
> >
> >
> >
>
More information about the Geotiff
mailing list