<div class="gmail_quote"><div class="gmail_quote">Hi, there.<br><br>I'm experiencing some troubles with the new release of MapServer. I got the following while debugging that (Visual Studio IDE):<br><br><div style="margin-left: 40px;">
<span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">results.</span>getResult(0)</span><br>{OSGeo.MapServer.resultCacheMemberObj}<br> classindex: 0<br> <span style="color: rgb(255, 0, 0);">shapeindex: 1</span><br>
tileindex: -1<br>results.<span style="color: rgb(255, 0, 0);">getResult(1)</span><br>{OSGeo.MapServer.resultCacheMemberObj}<br> classindex: 1<br> <span style="color: rgb(255, 0, 0);">shapeindex: 1</span><br> tileindex: -1<br>
results.<span style="color: rgb(255, 0, 0);">getResult(2)</span><br>{OSGeo.MapServer.resultCacheMemberObj}<br> classindex: 0<br> <span style="color: rgb(255, 0, 0);">shapeindex: 1</span><br> tileindex: -1<br></div>
<br>The new version of MapServer auto-increments the index property of a feature as soon as it's added to a layer (unlike older releases). I know there's a couple of shape.setValue() and shape.getValue() functions one may use to store and recover values, but I'm not able to get the actual index value (unlike this, my classindex values are correct).<br>
<br>am I missing or doing something wrong? It used to work fine before the last release (namely, the auto-incremented shape.index property).<br><br>I've posted a little bit more detailed investigations of the above <a href="http://cubicpurunga.blogspot.com/2009/07/shapeobjindex-round-two-fight.html" target="_blank">here</a> and <a href="http://cubicpurunga.blogspot.com/2009/07/shapeobjindex-in-ms-5x.html" target="_blank">here</a> in my blog.<br>
<br>I'd really appreciate if anyone could spend some time to help me with that. If you need more details, just let me know.<br><br>(I've tried to include some piece of code to give you more details, but my message have been blocked.)<br>
<br>Thank you very much. Best regards,<br><br>Vagner Sousa<br><a href="http://www.agx.com.br" target="_blank">AGX Tecnologia</a><br></div>
</div>