[Image-SIG] PIL Query

Chris Barker Chris.Barker at noaa.gov
Sun Jul 18 21:56:56 CEST 2010


On 7/18/10 12:41 PM, Fredrik Lundh wrote:
> PIL is a image manipulation/graphics library for Python, and it
> doesn't provide any standard functions for e.g. plotting data on maps
> or serving them from a web server.  From your description, it sounds
> like you're using some application that uses PIL, so you might want to
> contact the authors of that application instead.
>    
Or, if you really do want a library for working with geo-refrenced 
raster images in Python:

www.gdal.org/

GDAL comes with very powerful command line tools, and bindings for use 
with Python.

-Chris


> </F>
>
> 2010/7/10 Ankit Jhalaria<ankit at callfire.com>:
>    
>> Hi
>> I was using the PIL. I found it pretty useful.
>> I was wondering if you could please let me know, whether I could change the
>> image size. What I mean is if suppose I have 100 points having the same
>> latitude and longitude, the point on the map appears (for instance as a red
>> circle). My question to you is, can I change the radius of this circle?
>> I was also trying to figure out where in the code I can change the location
>> where the url is served from.
>> So instead of serving the images form http://localhost/classic/4/4,5.png
>> how do I change it to
>> http://localhost/username/classic/4/4,5.png
>> where username is taken from the database.
>> &  my last question is, is it possible that I just give the PIL the
>> latitude,longitude and the no. of points having the same latitude and
>> longitude[i.e. intensity], instead of repeating the lat&  long coordinates.
>> Your help will be greatly appreciated
>> Thanks
>> Ankit
>> _______________________________________________
>> Image-SIG maillist  -  Image-SIG at python.org
>> http://mail.python.org/mailman/listinfo/image-sig
>>
>>
>>      
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20100718/28ce2a76/attachment.html>


More information about the Image-SIG mailing list