[Shapelib] is shapelib build complete?

shapelib-admin at lists.maptools.org shapelib-admin at lists.maptools.org
Wed Mar 10 07:25:36 PST 2004


shapelib-admin at lists.maptools.org wrote:
> make shputils returns:
> 
> cc -g shputils.c shpopen.o dbfopen.o -o shputils
> shputils.c: In function `main':
> shputils.c:277: error: too few arguments to function `exit'
> make: ** [shputils] Erro 1
> 
> I changed the line 277 to "exit(1)" ... - was "exit()"
> and it works!

Eduardo,

This is fixed in CVS already, and will be in the next release.

> regarding shpdump and dbfdump they're fine. all built.

> and about shptree/treedump I have used them on windows machines.
> I had a built copy of shptree.exe and was using it to build .QIX files 
> for increase MapServer seaches.
> Or this is not necessary on Linux boxes?

The shptree stuff in shapelib is not compatible with what is used in
mapserver.  The mapserver spatial indexing tree stuff was derived from
what was in Shapelib, but what is in shapelib is not complete.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Shapelib mailing list