Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Geo-ShapeFile CPAN distribution.

Report information
The Basics
Id: 19452
Status: resolved
Priority: 0/
Queue: Geo-ShapeFile

People
Owner: SLAFFAN [...] cpan.org
Requestors: tyler [...] allisonhouse.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.51
Fixed in: 2.52



Subject: Divide by zero errors
When processing a US county outline shapefile I received multiple divide by zero errors. Asking the script to reprocess the same file causing the divide by zero errors to go away sometimes..and sometimes happen in different counties. Illegal division by zero at /usr/lib/perl5/site_perl/5.8.6/Math/Geometry/Planar.pm line 3468. Also get "add segment: error". I see this isn't suppose to happen in the comment for this particular line in the code. Also get infinate hangs. These three usually trade off when working particular counties. Sometimes I get lucky though and it goes clean. I can provide sample code and URL to shapefile for testing if desired.
This module no longer uses Math::Geometry, so I am assuming this issue no longer applies (and the issue is 8 years old). Could you please try with the latest version and report if it still occurs? Otherwise I will close this ticket in two weeks. The latest version can be accessed via (and pull requests sent to) https://github.com/shawnlaffan/Geo-ShapeFile Regards, Shawn. On Tue May 23 16:47:11 2006, guest wrote: Show quoted text
> When processing a US county outline shapefile I received multiple divide > by zero errors. Asking the script to reprocess the same file causing > the divide by zero errors to go away sometimes..and sometimes happen in > different counties. > > Illegal division by zero at > /usr/lib/perl5/site_perl/5.8.6/Math/Geometry/Planar.pm line 3468. > > Also get "add segment: error". I see this isn't suppose to happen in the > comment for this particular line in the code. > > Also get infinate hangs. > > These three usually trade off when working particular counties. > Sometimes I get lucky though and it goes clean. > > I can provide sample code and URL to shapefile for testing if desired.
Closing as per schedule. Shawn. On Sun Feb 09 03:22:21 2014, SLAFFAN wrote: Show quoted text
> This module no longer uses Math::Geometry, so I am assuming this issue > no longer applies (and the issue is 8 years old). > > Could you please try with the latest version and report if it still > occurs? Otherwise I will close this ticket in two weeks. > > The latest version can be accessed via (and pull requests sent to) > https://github.com/shawnlaffan/Geo-ShapeFile > > Regards, > Shawn. > > > > On Tue May 23 16:47:11 2006, guest wrote:
> > When processing a US county outline shapefile I received multiple > > divide > > by zero errors. Asking the script to reprocess the same file causing > > the divide by zero errors to go away sometimes..and sometimes happen > > in > > different counties. > > > > Illegal division by zero at > > /usr/lib/perl5/site_perl/5.8.6/Math/Geometry/Planar.pm line 3468. > > > > Also get "add segment: error". I see this isn't suppose to happen in > > the > > comment for this particular line in the code. > > > > Also get infinate hangs. > > > > These three usually trade off when working particular counties. > > Sometimes I get lucky though and it goes clean. > > > > I can provide sample code and URL to shapefile for testing if > > desired.