Opened 14 years ago
Closed 13 years ago
#3467 closed defect (fixed)
resultsGetShape's tileindex argument is not optional in MS 5.6.3
Reported by: | cjauvin | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | 5.6.3 release |
Component: | MapScript | Version: | 5.6 |
Severity: | normal | Keywords: | |
Cc: | dmorissette, sdlime, nhermann, pramsey, jimk |
Description
With both the PHP and Python versions of MapScript 5.6.3, calling resultsGetShape on a queried PostGIS-connected layer hangs the server:
if pg_layer.queryByPoint(...) == MS_SUCCESS: res = pg_layer.getResult(0) shp = shapeObj(MS_SHAPE_NULL) pg_layer.resultsGetShape(shp, res.shapeindex) # hangs MS 5.6.3 pg_layer.resultsGetShape(shp, res.shapeindex, res.tileindex) # ok!
Change History (5)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Cc: | added |
---|
comment:3 by , 14 years ago
Cc: | added |
---|
comment:4 by , 14 years ago
I'm working in a sandbox on some significant enhancements in this area that I hope to write up in an RFC soon. That will include thoughts on this ticket...
Steve
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has been updated in the RFC 65: http://mapserver.org/development/rfc/ms-rfc-65.html and will be in 6.0.
Note:
See TracTickets
for help on using tickets.
adding paul and jim in CC to discuss about this. Steve, as discussed out list, should we check to remove the resultsGetShape in 6.0 ?