ThinkGeo.com    |     Documentation    |     Premium Support

Possible Bug in Edit Overlay and Editing Lines

Hi, I'm using the Desktop Edition RC1 and I think I might have come across a bug with the EditOverlay.  Here is what I'm doing.


1. I have several line features in a shapefile that I'm displaying.  Sha


2. When a user clicks on one of  these lines, I do a spatial query using the Map_Click event and add the closest line feature to the EditOverly.EditShapeLayer.InternalFeatures collection.  The feature that I add has several columns of Attribute Data data associated with them via ColumnValue that are important to me.


3.  Once I add the feature to the EditOverlay.EditShapeLayer, I can look at the feature in the Watch window and still see the column values.


4.  Then I double click on a vertex control point in edit mode to remove the vertex from the line.


5. I then hit a save button so I can update my shapefile with the new edited line from the EditOverlay.EditShapeLayer.  However when I look at the edited feature on the EditOverlay.EditShapeLayer in the Watch window the ColumnValues are now gone.


Does removing a vertex create a brand new line or therefore removing all the column values?  


I would have expected it to keep the column values on the feature after I remove the vertex (by double clicking it) from the line in edit mode, am I doing something wrong is this a bug?


 



Clint, 
  
 Thanks very much for your report! 
  
 This is a bug we ignored when ONLY delete the vertex. We have fixed this bug and it will be available in next version. 
  
 Any more questions just let me know. 
  
 Thanks. 
  
 Yale