<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1252"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
<span id="result_box" class="long_text"><span
 style="background-color: rgb(255, 255, 255);"
 title="No post 
http://n2.nabble.com/php-mapscript-loadQuery-problem-td4496775.html, é 
mostrada a estrutura do arquivo .qy (por Steve Lime):">In
the post
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/php-mapscript-loadQuery-problem-td4496775.html">http://n2.nabble.com/php-mapscript-loadQuery-problem-td4496775.html</a> is
shown the .qy file structure (by Steve Lime):<br>
<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="Line – Contents">Line - Contents<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="0 - magic string">0 - magic string<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="1 - mode, type 
(single or multiple), qlayer, slayer">1 - mode,
type (single or multiple), Qlaya, slayer<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="2 - point x, point y, buffer, max results 
(queryByPoint)">2 -
point x, y point, buffer, max results (queryByPoint)<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="3 - query rect 
(minx, miny, maxx, maxy) (queryByRect)">3 -
query rect (minx, miny, maxx, maxy) (queryByRect)<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="4 - shp index, tile index, clear cache flag 
(queryByIndex)">4
- shp index, tile index, clear cache flag (queryByIndex)<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="5 - qitem or NULL (queryByAttribute)">5 - qitem or NULL
(queryByAttribute)<br>
<br>
</span><span title="6 - qstring or NULL">6 - QString or NULL<br>
<br>
</span><span title="7 - operator (used by 
WFS)">7 - operator (used by
WFS)<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="8+ - query shape 
(queryByShape)">8 + - query shape
(queryByShape)<br>
<br>
</span><span style="background-color: rgb(255, 255, 255);"
 title="Minha dúvida é: 
como incluir mais de um elemento utilizando shp index?">My
question is: how to include more than one element using shp index?</span></span><br>
<br>
<br>
<br>
<br>
Daniel Morissette escreveu:
<blockquote cite="mid:4BB4BD1F.4000700@mapgears.com" type="cite">Alexandre
Trindade wrote:
  <br>
  <blockquote type="cite"><br>
 Thanks for reply my question. You're right, using the file extension
.qy solved this problem , really thanks.
    <br>
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 ). However in the Mapserver 5.6.1 her saved only
last queryindex result.
    <br>
    <br>
foreach ($shp as $indx)
    <br>
        {
@$this-&gt;mapa-&gt;querybyindex($indxlayer,-1,$indx,MS_TRUE); }
    <br>
$this-&gt;mapa-&gt;savequery($this-&gt;qyfile);
    <br>
    <br>
Is no longer possible using this method this way, or I'm not setting
right?
    <br>
    <br>
  </blockquote>
  <br>
  <br>
Alexandre,
  <br>
  <br>
Please do not bottom-post at the end of a very long email... just a
hint to increase your chances of getting a response. You're lucky that
I scrolled all the way down the very long email to read your
question... I usually don't.
  <br>
  <br>
Back to your question: I don't know if cumulative queries were expected
to be supported in the past, and should be now. Hopefully Steve will
read this and comment. If he doesn't then I suggest you post the
question again clearly in a new post.
  <br>
  <br>
Daniel
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 


<a class="moz-txt-link-abbreviated" href="mailto:edmar.moretti@terra.com.br">edmar.moretti@terra.com.br</a>

Skype/MSN:

edmar.moretti

Twitter:

@edmarmoretti

Blogs:

<a class="moz-txt-link-freetext" href="http://edmarmoretti.blogspot.com/">http://edmarmoretti.blogspot.com/</a>
<a class="moz-txt-link-freetext" href="http://mapasnaweb.blogspot.com/">http://mapasnaweb.blogspot.com/</a>

Ohloh:

<a class="moz-txt-link-freetext" href="https://www.ohloh.net/accounts/edmarmoretti">https://www.ohloh.net/accounts/edmarmoretti</a>

Geógrafos:

<a class="moz-txt-link-freetext" href="http://geografos.ning.com/profile/EdmarMoretti">http://geografos.ning.com/profile/EdmarMoretti</a></pre>
</body>
</html>