[ Originally posted to: comp.infosystems.gis ]
[ Anyone want to write v.in.shapefile? -jdm ]
In article <3n4n4r$d73@mozo.cc.purdue.edu> you write:
As I promised earlier to GIS-L, I've obtained a copy of the
ArcView Shape File format specs and written some library
functions for programmers wanting to write conversion
programs:ftp://pasture.ecn.purdue.edu/pub/mccauley/shapelib0.1a.tar.gz
Included is documentation, sample data, and a simple
example program which converts shape file data into a
pseudo-GRASS ASCII vector format. If you use these
functions to write your own conversion programs, I would
appreciate hearing from you.Disclaimer: these functions only work on machines with big endian
byte ordering, which means THEY WON'T WORK ON A PC!
(For some unknown reason, ESRI mixes big and little endian byte
ordering in shape files.)
--
James Darrell McCauley, PhD http://soils.ecn.purdue.edu/~mccauley/
Dept of Agricultural Engineering mccauley@ecn.purdue.edu
Purdue University tel: 317.494.1198 fax: 317.496.1115