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: 92790
Status: resolved
Priority: 0/
Queue: Geo-ShapeFile

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

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



Subject: Feature request - add method to get dbf field names in file order
There is currently no method to get the list of fields in the dbf file, in file order. Accessing any of the records will give a hash with the field names, but in whatever order the hash algorithm dictates. $self->{dbf_field_names} appears to hold these values, so it would be a simple process to add an accessor method. If you are interested in adding the feature then I will submit a patch or a pull request. Thanks, Shawn.
For the interested reader, I now have primary maintainer privileges for this module. Thanks to Jason for assigning them. This issue has been addressed in the github repo and will be in the next release. https://github.com/shawnlaffan/Geo-ShapeFile Shawn. On Thu Feb 06 17:20:20 2014, SLAFFAN wrote: Show quoted text
> There is currently no method to get the list of fields in the dbf > file, in file order. > > Accessing any of the records will give a hash with the field names, > but in whatever order the hash algorithm dictates. > > $self->{dbf_field_names} appears to hold these values, so it would be > a simple process to add an accessor method. > > If you are interested in adding the feature then I will submit a patch > or a pull request. > > Thanks, > Shawn.
Fixed in 2.54. On Sun Feb 09 03:12:26 2014, SLAFFAN wrote: Show quoted text
> For the interested reader, I now have primary maintainer privileges > for this module. Thanks to Jason for assigning them. > > This issue has been addressed in the github repo and will be in the > next release. > > https://github.com/shawnlaffan/Geo-ShapeFile > > Shawn. > > > > On Thu Feb 06 17:20:20 2014, SLAFFAN wrote:
> > There is currently no method to get the list of fields in the dbf > > file, in file order. > > > > Accessing any of the records will give a hash with the field names, > > but in whatever order the hash algorithm dictates. > > > > $self->{dbf_field_names} appears to hold these values, so it would be > > a simple process to add an accessor method. > > > > If you are interested in adding the feature then I will submit a > > patch > > or a pull request. > > > > Thanks, > > Shawn.