[mapserver-users] Shapefiles

Vinko Vrsalovic B. v at w.cl
Tue Aug 14 13:42:30 EDT 2001


> 
> > > EXTENT 388107.634400379 5203120.88405952 500896.339019834
> 5310243.30613897
> >
> > Is this extent correct?, you can use the perl script showextent.pl on
> > the shape file to see if it is.
> >
> > (ie, perl showextent.pl shapefile on the directory where the shapefile is)
> 
> *************************************************************************
> [root at localhost risk_data]# perl showextent.pl disslv1.shp
> Can't locate mapscript.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl .) at showextent.pl line 3.
> BEGIN failed--compilation aborted at showextent.pl line 3.
> **************************************************************************
> 
> I take it, I need to install Map script?  I am using Mapserver 3.3.011

yes, you need the perl version of mapscript installed for the script to
work. It's very easy to compile and install.

-- 
V. <v at w.cl>



More information about the mapserver-users mailing list