<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.k
        {mso-style-name:k;}
span.s
        {mso-style-name:s;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>I may need to learn more about how OGR works&#8230; That said, I didn&#8217;t think we changed anything there from 5.4 =&gt; 5.6. &nbsp;So, for OGR (like shapefiles) the global index and relative query index are one and the same, and in that case if a non -1 tile index were encountered it would be treated as, well, a tile index (assuming the layer was using tiles). A driver has the ability to decide how it sets the shape/tile indexes and how it interprets them when asked for a feature.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Steve<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Yewondwossen Assefa [mailto:yassefa@dmsolutions.ca] <br><b>Sent:</b> Tuesday, November 23, 2010 4:23 PM<br><b>To:</b> Lime, Steve D (DNR)<br><b>Cc:</b> mapserver-dev@lists.osgeo.org<br><b>Subject:</b> Re: [mapserver-dev] RFC 65 - Single pass query handling for 6.0<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>So ogr&nbsp; layers would use return (after a query) shape-&gt;index as the global/unique index and shape-&gt;tileindex as a tileindex? Or would they stay as It is in 5.6 (use the shape-&gt;index as the relative index from the query)?<br><br>On 23/11/2010 4:43 PM, Lime, Steve D (DNR) wrote: <o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Drivers that support tile indexes would continue to work &#8220;as-is&#8221;. Those drivers aren&#8217;t database driven so they, like shapefiles, would continue to use shape and tile indexes to retrieve records for presentation. The only way adding an additional index would make sense to me is if we relied on a result set object and passed it to getShape() or getFeature() in mapscript.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Steve </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>&nbsp;</span><o:p></o:p></p><div><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:-moz-use-text-color -moz-use-text-color'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Yewondwossen Assefa [<a href="mailto:yassefa@dmsolutions.ca">mailto:yassefa@dmsolutions.ca</a>] <br><b>Sent:</b> Tuesday, November 23, 2010 2:28 PM<br><b>To:</b> Lime, Steve D (DNR)<br><b>Cc:</b> <a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br><b>Subject:</b> Re: [mapserver-dev] RFC 65 - Single pass query handling for 6.0</span><o:p></o:p></p></div></div><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Hi Steve,<br><br>Regarding the use of tileindex as the shape index relative to a query: would this work when users define <span class=k>TILEINDEX</span> in their map file (I think that is what its is used for?) Would it be better to have an additional new field?<br><br>I really think that additional MapScript save/load queries a la pre-5.6 are a welcome changes.<br><br>regards,<br><br>On 22/11/2010 12:42 PM, Lime, Steve D (DNR) wrote: <o:p></o:p></p><p class=MsoNormal>Hi all: I jotted down some thoughts on changes I&#8217;d like to see made for 6.0 that address shortcomings to the 5.6 single pass query<o:p></o:p></p><p class=MsoNormal>handling. &nbsp;I&#8217;m looking to simplify&#8230;&nbsp; We have to do something for this release on the topic. I don&#8217;t think the proposed changes will<o:p></o:p></p><p class=MsoNormal>take much effort.<o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>&nbsp; <a href="http://mapserver.org/development/rfc/ms-rfc-65.html">http://mapserver.org/development/rfc/ms-rfc-65.html</a><o:p></o:p></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal>Steve<o:p></o:p></p><pre>&nbsp;<o:p></o:p></pre><pre>&nbsp;<o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapserver-dev mailing list<o:p></o:p></pre><pre><a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><o:p></o:p></pre><pre><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><br></span><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>----------------------------------------------------------------<o:p></o:p></pre><pre>Assefa Yewondwossen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre><pre>Software Analyst&nbsp;&nbsp; <o:p></o:p></pre><pre>&nbsp;<o:p></o:p></pre><pre>Email: <a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre><pre><a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a><o:p></o:p></pre><pre>&nbsp;<o:p></o:p></pre><pre>Phone: (613) 565-5056 (ext 14)<o:p></o:p></pre><pre>Fax:&nbsp;&nbsp; (613) 565-0925<o:p></o:p></pre><pre>----------------------------------------------------------------<o:p></o:p></pre><pre>&nbsp;<o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>----------------------------------------------------------------<o:p></o:p></pre><pre>Assefa Yewondwossen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></pre><pre>Software Analyst&nbsp;&nbsp; <o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Email: <a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>&nbsp;&nbsp;&nbsp; <o:p></o:p></pre><pre><a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Phone: (613) 565-5056 (ext 14)<o:p></o:p></pre><pre>Fax:&nbsp;&nbsp; (613) 565-0925<o:p></o:p></pre><pre>----------------------------------------------------------------<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre></div></body></html>