import error with Basemap

Timmie: It's possible that the windows installer is missing the httplib2
module - I don't have access to windows right now to check. Could you
try installing httplib2 and let me know if that fixes it?

Installing httplib2 solved the issue.

Has this dependancy on httplib2 been introduced in the last update?
What are the merits of this dependency?
Could it be made option?
Like that I would only need to have httplib2 if I use functions that load maps
from the web?

Kind regards and thanks for your efforts in developing basemap!

Timmie

Tim Michelsen wrote:

Timmie: It's possible that the windows installer is missing the httplib2 module - I don't have access to windows right now to check. Could you try installing httplib2 and let me know if that fixes it?
    

Installing httplib2 solved the issue.

Has this dependancy on httplib2 been introduced in the last update?
  

Timmie: No, it has been there for a few releases, but for some reason did not get included in the windows installer this time.

What are the merits of this dependency?
Could it be made option?
  

If you install from source, it only installs httplib2 if you don't have it already.

Like that I would only need to have httplib2 if I use functions that load maps
from the web?

I could do this, but it's only a single python file, so what's the big deal?

Kind regards and thanks for your efforts in developing basemap!

Timmie
  

You're welcome.

-Jeff

ยทยทยท

--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328

All: I'm using the text() function to place city labels on a map with Basemap. However, many of these cities are so close together that the labels overlap when they're placed on the map.

Is there some way to determine the bounding box for a given text object _before_ placing it on the map, so that I can write an algorithm to detect overlaps?

Alternately, if someone else has some clever way of placing non-conflicting labels on maps, I'd love to hear about it!

Thanks,

Mike