shp2mysql.pl problems

Lowell Filak lfilak at MEDINACO.ORG
Mon Aug 23 13:44:17 EDT 2004


The following message was sent by Matthew Holger <mholger at OPTERA.NET> on
Tue, 24 Aug 2004 11:19:43 -0500.

> On Mon, Aug 23, 2004 at 10:21:14AM -0400, Lowell Filak wrote:
> > I think the documentation points to installing Geo-Shapelib vs.
> > Geo-ShapeFile .
> >
> > HTH
> >
> > Lowell
> >
>
> Even then, I had to make a couple cursory changes to shp2mysql.pl to
get it
> to work with Geo::Shapelib on my system (Debian 3.0 'sarge' on x86).
>
> Specifically:
> use Shape qw/:all/;
> becomes
> Use Geo::Shapelib qw/:all/;
>
> and
> $shape = new Shape $ARGV[0];
> becomes
> $shape = new Geo::Shapelib $ARGV[0];
>
> After I did that, all was well.
>
> Cheers!
> -Matt.

Thanks, that makes sense. The change in the module name would require it.
I added the note to the wiki.

Attila;
I think this needs to be changed in the distribution.

Lowell



More information about the mapserver-users mailing list