On 10/9/11 6:38 AM, Filipe Pires Alvarenga Fernandes wrote:
> On Thu, Oct 6, 2011 at 14:50, Jeff Whitaker<jsw...@fastmail.fm>  wrote:
>> On 9/29/11 9:44 AM, Filipe Pires Alvarenga Fernandes wrote:
>>> Hi I noticed that Basemap 1.0.2 will replace the old pyshapelib with
>>> the pure python shapelib.py. However, that did break some of my
>>> scripts when I use custom shapefiles.
>>>
>>> Here is a picture from Basemap 1.0.1,
>>>
>>> http://imageshack.us/photo/my-images/69/basemap101.png/
>>>
>>> and here the same script under Basemap 1.0.2,
>>>
>>> http://imageshack.us/photo/my-images/854/basemap102.png/
>>>
>>> and here is the script:
>>> http://pastebin.com/WfePCFJi
>>>
>>> It probably has something to do with the way shapelib.py handle the
>>> lines, As soon as I have some time I'll take a better look into that,
>>> but I would like to ask if anyone has seen this before and/or if you
>>> have a suggestion/solution for it.
>>>
>>> Thanks, Filipe
>> Filipe:  Were you able to resolve this?  I just updated shapefile.py in the
>> git repository, so you might try again on the off chance a bug was fixed.
>>   If the problem still persists, please point me to a shapefile that triggers
>> the problem.
>>
>> -Jeff
> Thanks, but the problem persists. I haven't got time to look into it
> yet, as soon as I do I'll get back to you.
>
> Regarding the shapefile, I do not remember the official source
> anymore, but you can get a copy here:
> https://build.opensuse.org/package/files?package=python-basemap&project=home%3Aocefpaf
>
> Thanks again, Filipe
>

Filipe: I believe I've fixed it - your shapefile now displays correctly 
for me.  Please try updating from https://github.com/matplotlib/basemap.

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : jeffrey.s.whita...@noaa.gov
325 Broadway                Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to