Another question about shapefiles

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Sun Nov 14 18:13:38 PST 2004


Joseph,

Check out perl modules:

Geo::ShapeFile
Geo::Shapelib
XBase

These are handy modules for working with shapefiles and the DBF
attributes file. I write scripts all the time for creating, reading and
manipulating shapefiles. When I need more performance I usually use the
shapelib library and C code.

-Steve

Joseph Norris wrote:
> I have a US zip file containing zip codes and associated lat/long
> information.  Can I convert this to points on a shapefile?
>
> #Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
> $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
> 68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
>



More information about the MapServer-users mailing list