perl-Geo-Shapelib-0.22-alt1.i586.rpm


Advertisement

Description

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

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Geo-Shapelib-0.22-alt1.i586.rpm
Package name perl-Geo-Shapelib
Package version 0.22
Package release alt1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 309.23 KB
Installed size 309.23 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 (http://shapelib.maptools.org/). 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
shape:
for many times...

Alternatives

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

Requires

Name Value
/usr/lib/perl5 -
libc.so.6(GLIBC_2.0) -
libc.so.6(GLIBC_2.1) -
libc.so.6(GLIBC_2.1.3) -
libc.so.6(GLIBC_2.3.4) -
libc.so.6(GLIBC_2.4) -
libperl-5.28.so -
libpthread.so.0(GLIBC_2.0) -
libshp.so.2 -
perl(AutoLoader.pm) -
perl(DynaLoader.pm) -
perl(File/Basename.pm) -
perl(Tree/R.pm) >= 0.010
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

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

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Geo-Shapelib-0.22-alt1.i586.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] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

Files

Path
/usr/lib/perl5/Geo/Shapelib.pm
/usr/lib/perl5/auto/Geo/
/usr/lib/perl5/auto/Geo/Shapelib/Shapelib.so
/usr/lib/perl5/auto/Geo/Shapelib/autosplit.ix
/usr/share/doc/perl-Geo-Shapelib-0.22/Changes
/usr/share/doc/perl-Geo-Shapelib-0.22/LICENSE
/usr/share/doc/perl-Geo-Shapelib-0.22/README.md
/usr/share/doc/perl-Geo-Shapelib-0.22/example/xyz.dbf
/usr/share/doc/perl-Geo-Shapelib-0.22/example/xyz.sbn
/usr/share/doc/perl-Geo-Shapelib-0.22/example/xyz.sbx
/usr/share/doc/perl-Geo-Shapelib-0.22/example/xyz.shp
/usr/share/doc/perl-Geo-Shapelib-0.22/example/xyz.shx

See Also

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