kevind7 / shapelib-1

Shapefile C Library

Home Page:http://shapelib.maptools.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#shapelib

Shapefile C Library (origin at http://shapelib.maptools.org)


Building on Unix

  1. Edit Makefile, and set CFLAGS, and CC macros as required for the target system. Often the defaults will work fine.

  2. type "make"

The result should be:

Core shapelib support.
shpopen.o dbfopen.o safileio.o shptree.o libshp.a

Utility/demonstration programs: shpcreate, shpdump, shpadd, dbfcreate, dbfdump, dbfadd, shptreedump

  1. To test type: make test

  2. To libshp.a and the test binaries in /usr/local: make install


Building on Windows

If you have run the VC++ VCVARS32.BAT, you should be able to type the following in a command window to build the code and executables:

C:> nmake /f makefile.vc

Otherwise create your own VC++ project. There aren't many files to deal with here!

About

Shapefile C Library

http://shapelib.maptools.org

License:Other


Languages

Language:C 46.7%Language:Shell 33.2%Language:Makefile 11.6%Language:HTML 5.5%Language:Pascal 1.0%Language:C++ 0.6%Language:CMake 0.6%Language:CSS 0.6%Language:M4 0.2%