[Mapserver-users] QueryByRectangle problem (PostGIS layer, PHP/MapScript)
   
    Vojtech Honzik
     
    V.Honzik@sh.cvut.cz
       
    Mon, 16 Feb 2004 16:16:21 +0100 (CET)
    
    
  
I have following problem:
When I do a query by point, everything goes ok as well as query by
rectangle querying only one feature.
When querying multiple features, error
---
WARNING:  there is already a transaction in progress
ERROR:  cursor "mycursor" already exists
--
occurs.
I have been told that this is caused by that fact that MapsCript does not
close connections after itself. The solution should be adding
explicit "CLOSE cursor" to mappostgis.h
but - I am running the Mapserver on windows platform and I was not able to
compile PHP MapScript module with the fix (because I don't have VC++
compiler as suggested)
I'd like to ask:
1. What component "downgrade" could fix this error?
2. If you would prefer patch and recompilation, is there a way to produce
php_mapscript.dll using g++?
3. Does there exist another way how to solve this multiple query problem?
Truly yours,
Vojtech Honzik
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users