# Simple editor question

**URL:** <https://community.thinkgeo.com/t/simple-editor-question/327>\
**Category:** WinForms\
**Created:** [April 3, 2009, 1:38am UTC](https://community.thinkgeo.com/t/simple-editor-question/327 "2009-04-03T01:38:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [April 3, 2009, 1:38am UTC](https://community.thinkgeo.com/t/simple-editor-question/327/1 "2009-04-03T01:38:02Z")

</div>

Hi&nbsp;Guys,

At&nbsp;the&nbsp;risk&nbsp;of&nbsp;embarassing&nbsp;myself&nbsp;again...

&nbsp;&nbsp;

I&nbsp;have&nbsp;a&nbsp;shp&nbsp;file&nbsp;with&nbsp;4&nbsp;rectangles&nbsp;in&nbsp;it&nbsp;(Id&nbsp;“1”,&nbsp;Id&nbsp;“2”,&nbsp;Id&nbsp;“3”&nbsp;and&nbsp;Id&nbsp;”4”).&nbsp;&nbsp;I&nbsp;load&nbsp;the&nbsp;shp&nbsp;file,&nbsp;load&nbsp;the&nbsp;editlayer&nbsp;by&nbsp;adding&nbsp;each&nbsp;of&nbsp;the&nbsp;4&nbsp;features.&nbsp;&nbsp;Use&nbsp;the&nbsp;editor&nbsp;to&nbsp;move&nbsp;the&nbsp;last&nbsp;two&nbsp;rectangles&nbsp;and&nbsp;adjust&nbsp;their&nbsp;size.&nbsp;&nbsp;When&nbsp;the&nbsp;editing&nbsp;is&nbsp;finished&nbsp;I&nbsp;now&nbsp;want&nbsp;to&nbsp;update&nbsp;the&nbsp;original&nbsp;shapes&nbsp;in&nbsp;the&nbsp;source&nbsp;layer&nbsp;if&nbsp;the&nbsp;geometry&nbsp;was&nbsp;changed&nbsp;in&nbsp;the&nbsp;editor.

The&nbsp;Id’s&nbsp;of&nbsp;the&nbsp;last&nbsp;two&nbsp;features(the&nbsp;ones&nbsp;that&nbsp;have&nbsp;been&nbsp;modified)&nbsp;have,&nbsp;in&nbsp;the&nbsp;editlayer,&nbsp;been&nbsp;replaced&nbsp;with&nbsp;GUIDS.

So&nbsp;how&nbsp;do&nbsp;you&nbsp;know&nbsp;that&nbsp;what&nbsp;was&nbsp;Id&nbsp;“3”&nbsp;in&nbsp;the&nbsp;shape&nbsp;file&nbsp;is&nbsp;now&nbsp;“114f86da-4eeb-43a0-b76a-fb55eaecb888”&nbsp;in&nbsp;the&nbsp;editor?

Regards

John

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [April 5, 2009, 6:19am UTC](https://community.thinkgeo.com/t/simple-editor-question/327/2 "2009-04-05T06:19:31Z")

</div>

Hi&nbsp;Guys&nbsp;  
&nbsp;&nbsp;  
&nbsp;One&nbsp;additional&nbsp;question:-&nbsp;  
&nbsp;&nbsp;  
&nbsp;When&nbsp;‘editing’&nbsp;an&nbsp;existing&nbsp;object&nbsp;how&nbsp;do&nbsp;you&nbsp;delete&nbsp;a&nbsp;new&nbsp;vertex?&nbsp;&nbsp;i.e.&nbsp;You&nbsp;insert&nbsp;several&nbsp;new&nbsp;vertices&nbsp;in&nbsp;a&nbsp;line&nbsp;and&nbsp;then&nbsp;wish&nbsp;to&nbsp;delete&nbsp;one&nbsp;of&nbsp;these&nbsp;newly&nbsp;inserted&nbsp;vertices.&nbsp;  
&nbsp;&nbsp;  
&nbsp;John

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [April 8, 2009, 2:35am UTC](https://community.thinkgeo.com/t/simple-editor-question/327/3 "2009-04-08T02:35:59Z")

</div>

John,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;recreated&nbsp;this&nbsp;problem&nbsp;and&nbsp;confirmed&nbsp;it’s&nbsp;a&nbsp;bug&nbsp;that&nbsp;feature’s&nbsp;ID&nbsp;didn’t&nbsp;always&nbsp;keep&nbsp;the&nbsp;same&nbsp;after&nbsp;edited&nbsp;in&nbsp;Edit&nbsp;Overlay.&nbsp;I&nbsp;tried&nbsp;to&nbsp;work&nbsp;it&nbsp;around&nbsp;by&nbsp;using&nbsp;keys&nbsp;but&nbsp;failed.&nbsp;So&nbsp;I’m&nbsp;afraid&nbsp;we&nbsp;don’t&nbsp;have&nbsp;good&nbsp;ways&nbsp;to&nbsp;handle&nbsp;&nbsp;  
&nbsp;this&nbsp;for&nbsp;now,&nbsp;&nbsp;I&nbsp;will&nbsp;put&nbsp;it&nbsp;as&nbsp;a&nbsp;show&nbsp;stopper&nbsp;bug&nbsp;and&nbsp;I&nbsp;think&nbsp;it&nbsp;will&nbsp;be&nbsp;solved&nbsp;in&nbsp;the&nbsp;upcoming&nbsp;version.&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience.&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;cannot&nbsp;delete&nbsp;a&nbsp;vertex&nbsp;while&nbsp;editing,&nbsp;that’s&nbsp;an&nbsp;interesting&nbsp;request&nbsp;though&nbsp;and&nbsp;I&nbsp;will&nbsp;report&nbsp;it&nbsp;to&nbsp;the&nbsp;design&nbsp;team.&nbsp;Thanks&nbsp;for&nbsp;pointing&nbsp;it&nbsp;out.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben&nbsp;

---

<div class="post-metadata">

**Author:** ![Ted](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/db5fbb/32.png) [@Ted](https://community.thinkgeo.com/u/Ted)\
**Post date:** [April 8, 2009, 2:39am UTC](https://community.thinkgeo.com/t/simple-editor-question/327/4 "2009-04-08T02:39:33Z")

</div>

Please&nbsp;add&nbsp;my&nbsp;vote&nbsp;for&nbsp;removing&nbsp;a&nbsp;vertex.&nbsp;&nbsp;&nbsp;This&nbsp;is&nbsp;a&nbsp;very&nbsp;important&nbsp;feature&nbsp;for&nbsp;our&nbsp;users.&nbsp;&nbsp;&nbsp;In&nbsp;our&nbsp;current&nbsp;application,&nbsp;they&nbsp;are&nbsp;used&nbsp;to&nbsp;right&nbsp;clicking&nbsp;on&nbsp;a&nbsp;vertex&nbsp;to&nbsp;delete&nbsp;it,&nbsp;if&nbsp;that&nbsp;is&nbsp;worth&nbsp;anything.

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [April 8, 2009, 2:48am UTC](https://community.thinkgeo.com/t/simple-editor-question/327/5 "2009-04-08T02:48:28Z")

</div>

Hi&nbsp;Ben,

Thanks&nbsp;for&nbsp;the&nbsp;update&nbsp;about&nbsp;the&nbsp;ID.

I&nbsp;must&nbsp;say&nbsp;I&nbsp;am&nbsp;surprised&nbsp;about&nbsp;deleting&nbsp;a&nbsp;vertex,&nbsp;you&nbsp;can't&nbsp;really&nbsp;call&nbsp;this&nbsp;an&nbsp;editor&nbsp;unless&nbsp;you&nbsp;can&nbsp;'edit'&nbsp;things&nbsp;and&nbsp;'editing'&nbsp;kind&nbsp;of&nbsp;means&nbsp;inserting&nbsp;and&nbsp;deleting.&nbsp;&nbsp;People&nbsp;make&nbsp;mistakes,&nbsp;we&nbsp;have&nbsp;to&nbsp;cope&nbsp;with&nbsp;that,&nbsp;telling&nbsp;them&nbsp;to&nbsp;redo&nbsp;the&nbsp;whole&nbsp;thing&nbsp;is&nbsp;going&nbsp;to&nbsp;be&nbsp;unpopular.

Regards

John

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [April 9, 2009, 5:11am UTC](https://community.thinkgeo.com/t/simple-editor-question/327/6 "2009-04-09T05:11:19Z")

</div>

I&nbsp;totally&nbsp;agree,&nbsp;that&nbsp;will&nbsp;be&nbsp;like&nbsp;writing&nbsp;code&nbsp;without&nbsp;Ctrl-Z.&nbsp;In&nbsp;Web&nbsp;Edition&nbsp;we&nbsp;support&nbsp;it&nbsp;already&nbsp;(select&nbsp;the&nbsp;vertex&nbsp;and&nbsp;hit&nbsp;delete),&nbsp;we&nbsp;will&nbsp;support&nbsp;that&nbsp;on&nbsp;desktop&nbsp;too&nbsp;I’m&nbsp;sure.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben
