<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV>Hi all, <BR><BR>A quick question from a mapserver newbie <BR><BR>Using java 
mapscript I am creating annonations on a new map layer by creating polygon 
features in a new layer, <BR><BR>when I do a query on that layer&nbsp;<SPAN 
class=437053714-31082006>to retreive the features I have created </SPAN>I am 
unable to get at the shape objects as the following line of code fails 
<BR><BR>shapeObj shape2 = m_Layer.getFeature(resultMember.getShapeindex(), 
resultMember.getTileindex()); <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<BR>, I noticed the tile index and shape index properties in the 
resultCacheMemberObj object are both -1. Can someone tell me how to get hold of 
the shape objects, as I need provide some sort of delete annotation 
functionality, and I dont want to simply drop the entire 
layer</DIV><p><font face="Arial" size="2"><a href="http://www.altman.co.uk/emailsystems">Email has been scanned for viruses and spam by Altman Technologies' email management service</a></font></p></BODY></HTML>