merging back the new pyshapelib

Bernhard Herzog bh at intevation.de
Fri Jan 4 12:40:55 CET 2008


On Friday 04 January 2008 12:07, Bram de Greve wrote:
> This is caused by a change in the handling of numerical fields in the
> shapelib C library.  Integer fields of more than 10 characters (as the
> third column in that file is), are returned as doubles to avoid an
> overflow.

Wouldn't it make more sense to return them as long int instead of double at 
the python level?

  Bernhard

-- 
Bernhard Herzog                              Intevation GmbH, Osnabrück
Amtsgericht Osnabrück, HR B 18998             http://www.intevation.de/
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20080104/9362498c/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)