[gdal-dev] [gdal-1.8.0] Get new Coordinates from Geotiff avoiding
black area
Luiz Motta
motta.luiz at gmail.com
Tue Jul 12 16:14:20 EDT 2011
Sorry Folk,
I forgot the source of code.
I have two type of version(python source), one for QGIS and other for terminal.
1) QGIS/Plugin: http://spatialserver.net/pyqgis_1.0/contributed/imgboundary.zip
2) Teminal: http://dl.dropbox.com/u/14847115/imgtruecorner_py.zip
Thank Brian for remember the source.
Regards,
Luiz Motta
2011/7/12 Brian Case <rush at winkey.org>:
> Luiz,
>
> do you have a url handy for the source code of that plugin?
>
> Brian
>
> On Tue, 2011-07-12 at 14:53 -0300, Luiz Motta wrote:
>> Met,
>>
>> I made a QGIS's plugin where calculate the 4 corners of polygon with
>> the real pixels inside. Maybe is useful for you.
>> The name of plugin is "Image Boundary", The source is Python and use
>> only GDAL library for process.
>>
>> Best regards,
>> Luiz Motta
>>
>> 2011/7/12 Chaitanya kumar CH <chaitanya.ch at gmail.com>:
>> > 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
>> >
>> > _______________________________________________
>> > gdal-dev mailing list
>> > gdal-dev at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>> >
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
More information about the gdal-dev
mailing list