Try reordering your use statements:
use Geo::ShapeFile::Point comp_includes_m => 0, comp_includes_z => 0; use Geo::ShapeFile;
From the "Important Note" in the documentation:
This module uses overloaded operators to allow you to use == or eq to compare two point objects. By default points are considered to be equal only if their X, Y, Z, and M attributes are equal. If you want to exclude the Z or M attributes when comparing, you should use comp_includes_z or comp_includes_m when importing the object. Note that you must do this before you load the Geo::ShapeFile module, or it will pass it's own arguments to import, and you will get the default behavior
In reply to Re: Geo::ShapeFile and Projection Conversion (floating point troubles?)
by GrandFather
in thread Geo::ShapeFile and Projection Conversion (floating point troubles?)
by ptum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |