By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,985 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,985 IT Pros & Developers. It's quick & easy.

PIL and GeoTIFF

P: n/a
Hi all--

I've succeeded in using the PIL (Python Imaging Library) to read a
simple GeoTIFF file and to extract data from the file's GeoTIFF key--
but I'd also like to write GeoTIFFs, and there doesn't appear to be a
one-step way of doing that.

I suspect, first, that -writing- a GeoTIFF file with PIL means poking
around in the PIL TIFF plugin file which I'm a little wary of doing.
Also, I don't see any clear description in the PIL documentation on
how to add specified TIFF keys to a saved file. Any words of wisdom
about either of these questions would be much appreciated.
Matt Feinstein

--
There is no virtue in believing something that can be proved to be true.
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Matt Feinstein wrote:
Hi all--

I've succeeded in using the PIL (Python Imaging Library) to read a
simple GeoTIFF file and to extract data from the file's GeoTIFF key--
but I'd also like to write GeoTIFFs, and there doesn't appear to be a
one-step way of doing that.


If you are willing to go in a bit of a different direction, GDAL
supports GeoTIFF and includes python bindings:

http://www.remotesensing.org/gdal/

- kz

Jul 19 '05 #2

P: n/a
On Thu, 09 Jun 2005 14:19:21 -0400, Khalid Zuberi <kk******@yahoo.com>
wrote:
If you are willing to go in a bit of a different direction, GDAL
supports GeoTIFF and includes python bindings:

http://www.remotesensing.org/gdal/


Looks interesting, but kinda heavy-duty for my purposes. If a couple
of lines of Python added to what I've already got will do the job, I'd
rather do that then compile and learn yet another API.

Matt Feinstein

--
There is no virtue in believing something that can be proved to be true.
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.