Re: PIL Query
Chris Barker <[email protected]>
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <[email protected]> |
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<[email protected]>: > >> 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 - [email protected] >> http://mail.python.org/mailman/listinfo/image-sig >> >> >> > _______________________________________________ > Image-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/image-sig > _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig