shp2mysql.pl problems

dylan dylan at IICI.NO-IP.ORG
Tue Aug 24 11:14:17 PDT 2004


on 04.8.24 9:19 AM, Matthew Holger at mholger at OPTERA.NET was reported to
have writen:

> 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.
>

Matt:

Thanks a lot!! i had a sneaking suspicion that it might be something like
that -- your email here allowed me to fix what i had previously spent all of
last night on!!

thanks!

Dylan



More information about the MapServer-users mailing list