Re: [mapserver-users] Loadquery in MAPSERVER 5.6.1

2010-04-01 Thread Alexandre Trindade
2010/3/27 Daniel Morissette dmorisse...@mapgears.com MapServer 5.4 introduced a new test to require that query files use the .qy extension, for security reasons. Try changing your code to use the .qy query file extension. Daniel Alexandre Trindade wrote: Hi, After upgrade the MS4W

Re: [mapserver-users] Loadquery in MAPSERVER 5.6.1

2010-04-01 Thread Daniel Morissette
Alexandre Trindade wrote: Thanks for reply my question. You're right, using the file extension .qy solved this problem , really thanks. But appears a new problem, my routine accumulates results using successive queryByIndex() and saves in query file for read later ( works fine in MS 5.2.1

Re: [mapserver-users] Loadquery in MAPSERVER 5.6.1

2010-04-01 Thread Edmar Moretti
Hi, In the post http://n2.nabble.com/php-mapscript-loadQuery-problem-td4496775.html is shown the .qy file structure (by Steve Lime): Line - Contents 0 - magic string 1 - mode, type (single or multiple), Qlaya, slayer 2 - point x, y point, buffer, max results (queryByPoint) 3 - query

Re: [mapserver-users] Loadquery in MAPSERVER 5.6.1

2010-03-27 Thread Daniel Morissette
MapServer 5.4 introduced a new test to require that query files use the .qy extension, for security reasons. Try changing your code to use the .qy query file extension. Daniel Alexandre Trindade wrote: Hi, After upgrade the MS4W 2.3.1 ( Mapserver 5.2.1 ) to MS4W 3.0 ( MAPSERVER 5.6.1 )

[mapserver-users] Loadquery in MAPSERVER 5.6.1

2010-03-25 Thread Alexandre Trindade
Hi, After upgrade the MS4W 2.3.1 ( Mapserver 5.2.1 ) to MS4W 3.0 ( MAPSERVER 5.6.1 ) my aplication stop to run when try use the function LOADQUERY. Not have message error, but the map not render image with selection. I'm note that file (bin) generated by SAVEQUERY ( MS4W 2.3.1 ) is diferent to