[gdal-dev] [gdal-1.8.0] Get new Coordinates from Geotiff avoiding black area

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Jul 12 13:18:55 EDT 2011


Mett,

If I understand correctly, you need to remove the black borders of geotiff
and reset the corner coordinates. GDAL's nearblack utility[1] might be of
help to you.

[1]: http://www.gdal.org/nearblack.html

On Tue, Jul 12, 2011 at 9:37 PM, mett <mettbest at gmail.com> wrote:

> Hello Everybody!
> Does somebody know if there is a smart way to get the coordinates of a
> GeoTiff of the real data (avoinding the black background)? I mean, I have
> the geocoordinates of the image, but they are not referred to the "Real"
> data of the image but just to its corners. I know that I can use gdalwarp
> to
> set trasparency of black area, but I think it is not suitable to re-set the
> coordinates.
>
> Thank you for any help!
> Mett
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/gdal-1-8-0-Get-new-Coordinates-from-Geotiff-avoiding-black-area-tp6575681p6575681.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110712/82390ca8/attachment.html


More information about the gdal-dev mailing list