Actually I flipped the args to be more sensible since most folks don't use tiles. The signature is:
int resultsGetShape( shapeObj shape, int shapeindex, int tileindex=-1) I'm hoping getShape() won't see much use with 5.6 and we can flip the args in getShape too. (Dan, perhaps I should add a resultsGetFeature() as well to match the getFeature() method? Steve >>> On 11/10/2009 at 4:13 PM, in message <4af9e5a6.7030...@mapgears.com>, Daniel Morissette <dmorisse...@mapgears.com> wrote: > Christian Jauvin wrote: >> >> Now I really tried to figure how to upgrade my < 5.6 code with the new >> query mechanism that you added in 5.6, but (1) I couldn't find enough >> documentation/example about the issue (I understand it is pretty new) >> and (2) couldn't make enough sense of what I read in the MS 5.6 C >> source that I downloaded. I cannot even figure out the exact arguments >> to the method (as they are not explictly stated in the SWIG generated >> code). >> > > I do not have an example just now, but the arguments to > resultsGetShape() should be the same as for the older getShape() method. > In the SWIG versions of MapScript: > > int resultsGetShape( shapeObj shape, int tileindex, int shapeindex ) > > (See also http://mapserver.org/mapscript/mapscript.html#mapscript-classes) > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users