[postgis-users] PostGIS 0.7.5 returning '0' for shape indexes

David Blasby dblasby at refractions.net
Fri Jun 13 11:03:13 PDT 2003


Mike Leahy wrote:
> I don't think the issue is that the features have no attributes - I know
> full well that they do, and the exact same tables have no problems if I
> use the PostGIS binaries (Multera's build) from Tyler Mitchell.
> 
> There is a post at
> http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0207/msg00537.h
> tml that indicates this problem can be solved by commenting out a line
> in mapquery.c - and the example in the buglist is pretty much the same
> problem I have...but considering the trouble I've gone through just to
> compile postgis, I don't think would be very successful at compiling
> mapserver w MapScript/PostGIS support.

I've never encountered the problem, so I cannot comment on it.

The message you refer to says to comment the closeLayer() function call 
- you probably dont want to do this on a windows machine since it will 
keep the connection to the database alive forever.  Linux will 
automatically close the connection to the database when the process dies.

Anyone else found this problem?

dave




More information about the postgis-users mailing list