Opened 21 years ago
Closed 18 years ago
#352 closed defect (fixed)
Query (click) on layer with overlapping polygons gives error message
Reported by: | Owned by: | refractions | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | PostGIS Interface | Version: | 4.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
I have a PostGIS layer with overlapping polygons. Querying by clicking returns the expected result (info about the polygon object and a map) when clicking on points where there is no overlap between polygons. When clicking on points where there is an overlap of polygons, only information about one polygon plus a strange error message is returned (no map, and no information about the rest of the polygon objects): "Content-type: text/html msSearchDiskTree(): Unable to access file. Unable to open spatial index for /home/www/mapserver/o-kart/../data/n5000/fylk-bal.qix. In most cases you can safely ignore this message, otherwise check file names and permissions." For point layers, everyting seems to be working correctly (multiple point objects are returned by the query when clicking close to many points. I checked an earlier 3.7 build, and it gives exactly the same error message.
Change History (4)
comment:2 by , 21 years ago
I exported the polygon data from PostGIS to shape (pgsql2shp). Substituting the resulting shape file for the PostGIS connection gives the expected (correct) nquery behaviour, so according to Steve Lime, this bug has probably something to do with the PostGIS interface.
comment:3 by , 21 years ago
Component: | MapServer CGI → PostGIS Interface |
---|---|
Owner: | changed from | to
Status: | assigned → new |
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This resulted from a change in PostgreSQL 7.4 that required cursors to be explicitly closed at the end of transactions. It was fixed in rev1.31.
Note:
See TracTickets
for help on using tickets.