MapTools.org

[Shapelib] is shapelib build complete?

shapelib@lists.maptools.org shapelib@lists.maptools.org
Wed, 10 Mar 2004 10:25:36 -0500
shapelib-admin@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@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



This archive was generated by Pipermail.