perl-Geo-Shapelib - Perl extension for reading and writing shapefiles as defined by ESRI(r)

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Geo-Shapelib-0.22-alt1.x86_64.rpm
Package name perl-Geo-Shapelib
Package version 0.22
Package release alt1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 302.10 KB
Installed size 302.10 KB
This is a library for reading, creating, and writing shapefiles as
defined by ESRI(r) using Perl.  The Perl code uses Frank Warmerdam's
Shapefile C Library ( The library
is included in this distribution.
Currently no methods exist for populating an empty Shape. You need
to do it in your own code. This is how:
First you include the module into your code. If you want to define the
shape type using its name, import all:
use Geo::Shapelib qw/:all/;
Create the shapefile object and specify its name and type:
$shapefile = new Geo::Shapelib {
Name => <filename>,
Shapetype => <type from the list>,
FieldNames => <field name list>,
FieldTypes => <field type list>
The name (filename, may include path) of the shapefile, the extension
is not used (it is stripped in the save method).
The shape type is an integer. This module defines shape type names as
constants (see below).
The field name list is an array reference of the names of the data
items assigned to each shape.
The field type list is an array reference of the types of the data
items. Field type is either 'Integer', 'Double', or 'String'.
The types may have optional 'width' and 'decimals' fields defined,
like this:
'Integer[:width]' defaults: width = 10
'Double[:width[:decimals]]' defaults: width = 10, decimals = 4
'String[:width]' defaults: width = 255
There are some other attributes which can be defined in the
constructor (see below), they are rarely needed. The shape object will
need or get a couple of other attributes as well. They should be
treated as private:
$shapefile->{NShapes} is the number of shapes in your
object. Shapefile is a collection of shapes. This is usually
automatically deduced from the Shapes array when needed.
$shapefile->{MinBounds} is set by shapelib C functions.
$shapefile->{MaxBounds} is set by shapelib C functions.
Create the shapes and respective shape records and put them into the
for many times...


Package Version Architecture Repository
perl-Geo-Shapelib-0.22-alt1.i586.rpm 0.22 i586 Autoimports
perl-Geo-Shapelib - - -


Name Value
/usr/lib64/perl5 - - - - - - -
perl( -
perl( -
perl(File/ -
perl(Tree/ >= 0.010
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Geo/ = 0.220
perl-Geo-Shapelib = 0.22-alt1


Type URL
Binary Package perl-Geo-Shapelib-0.22-alt1.x86_64.rpm
Source Package perl-Geo-Shapelib-0.22-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] x86_64 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Geo-Shapelib rpm package:
    # sudo apt-get install perl-Geo-Shapelib



See Also

Package Description
perl-Git-Raw-0.84-alt1.x86_64.rpm Perl bindings to the Git linkable library (libgit2)
perl-Git-XS-0.02-alt10.x86_64.rpm Perl XS binding to libgit2
perl-Glib-Event-0.2-alt4.1.x86_64.rpm perl module Glib-Event
perl-Gnome2-Vte-0.11-alt4.1.x86_64.rpm Perl interface to the Virtual Terminal Emulation library
perl-Goto-Cached-0.22-alt4.1.x86_64.rpm a fast drop-in replacement for Perl's O(n) goto
perl-Graph-NewmanGirvan-0.3-alt4.1.x86_64.rpm Newman-Girvan Graph node clustering
perl-Graphics-Framebuffer-6.36-alt1.x86_64.rpm A Simple Framebuffer Graphics Library
perl-Graphics-Potrace-0.76-alt3.1.x86_64.rpm bindings to the potrace library
perl-Graphics-TIFF-6-alt2.1.x86_64.rpm Perl extension for the libtiff library
perl-Grid-Transform-0.09-alt4.1.x86_64.rpm fast grid transformations
perl-Gtk2-AppIndicator-0.15-alt3_21.x86_64.rpm Perl extension for libappindicator
perl-Gtk2-Deprecated-0.05-alt8_29.x86_64.rpm Perl module for deprecated gtk+-2.x widgets
perl-Gtk2-Ex-Geo-0.66-alt4.1.x86_64.rpm The main module to use for geospatial applications
perl-Gtk2-Ex-WidgetBits-48-alt4.1.x86_64.rpm Helpers for Gtk2 widgets
perl-Gtk2-Ex-WidgetCursor-15-alt4.1.x86_64.rpm Mouse pointer cursor management for Gtk widgets