<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: editing multipoint in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426609#M10997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I'm not editing points but I am trying to union point selections when the user chooses "add to selection" in my application.&amp;nbsp; The union operation doesn't seem to work for multipoint features which sounds kind of like what you were talking about here. But like I said, im not editing points. Can you verify that points cannot be "unioned" to multi point features?&amp;nbsp; When the user chooses "New Selection" and selects several points, all the individual point features seem to union into one multipoint feature fine.&amp;nbsp; It's just this "Add to Selection" and the operation of merging point(s) with multipoints that doesn't work for me. Your help is appreciated.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 19:50:40 GMT</pubDate>
    <dc:creator>GaryBushek</dc:creator>
    <dc:date>2012-06-28T19:50:40Z</dc:date>
    <item>
      <title>editing multipoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426605#M10993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a editable feature layer in my map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So far I have encountered three problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I add a new feature using the add tool. When hitting save I get error "Unable to complete operation".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In fiddler I can se that geometry is sent as a point, not multipoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error message in fiddler: {"error":{"code":400,"message":"Unable to complete operation.","details":["Invalid graphic features","Invalid parameters"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can add multipoints using REST. So I guesss the service is OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When trying to use the vertex editing tool, I get a crash. See attatched screen dump.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The union tool is disabled. I works for point, polygon and polyline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tools from XAML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button x:Name="AddButton" Margin="2" ToolTipService.ToolTip="Rita ny" Command="{Binding Add}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Image Source="/images/pencil_add.png" Stretch="UniformToFill" Height="16" Width="16" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Button&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button x:Name="EditVerticesButton" Margin="2" ToolTipService.ToolTip="Brytpunktsredigera" Command="{Binding EditVertices}" IsEnabled="False" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Image Source="/images/shape_handles.png" Stretch="UniformToFill" Height="16" Width="16" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Button&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Button x:Name="UnionButton" Margin="2" ToolTipService.ToolTip="Slå ihop markerade till en geometri" Command="{Binding Union}" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Image Source="/images/shape_union.png" Stretch="UniformToFill" Height="16" Width="16" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Button&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer from XAML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:FeatureLayer ID="PolytaxHänsynPunktTest" DisableClientCaching="True" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; AutoSave="False"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://ags1int/ArcGIS/rest/services/msdedit/editVisaPolytaxTest/FeatureServer/0" rel="nofollow" target="_blank"&gt;http://ags1int/ArcGIS/rest/services/msdedit/editVisaPolytaxTest/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; OutFields="*"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Mode="OnDemand" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'am using api 2.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any Ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 05:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426605#M10993</guid>
      <dc:creator>ArneDahlman</dc:creator>
      <dc:date>2011-09-08T05:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: editing multipoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426606#M10994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The API does not support editing MultiPoint geometries. What you can do is subscribe to Editor.EditCompleted event and update the graphic.Geometry before it is saved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void Editor_EditCompleted(object sender, ESRI.ArcGIS.Client.Editor.EditEventArgs e)
{
 foreach (var edit in e.Edits)
 {
&amp;nbsp; if (edit.Graphic != null &amp;amp;&amp;amp; edit.Graphic.Geometry is MapPoint)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; var multiPointGeom = new MultiPoint();
&amp;nbsp;&amp;nbsp; multiPointGeom.Points.Add(edit.Graphic.Geometry as MapPoint);
&amp;nbsp;&amp;nbsp; edit.Graphic.Geometry = multiPointGeom;
&amp;nbsp; }
 }
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also want to try this sample for Union: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Union" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Union&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426606#M10994</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T19:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: editing multipoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426607#M10995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, this may be a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any future plans for supporting multipoints?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that this is some basic functionality that one would expect to find in a GIS application.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 05:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426607#M10995</guid>
      <dc:creator>ArneDahlman</dc:creator>
      <dc:date>2011-09-09T05:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: editing multipoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426608#M10996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your feedback, I forwarded your request to the team for consideration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 21:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426608#M10996</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-09-12T21:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: editing multipoint</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426609#M10997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I'm not editing points but I am trying to union point selections when the user chooses "add to selection" in my application.&amp;nbsp; The union operation doesn't seem to work for multipoint features which sounds kind of like what you were talking about here. But like I said, im not editing points. Can you verify that points cannot be "unioned" to multi point features?&amp;nbsp; When the user chooses "New Selection" and selects several points, all the individual point features seem to union into one multipoint feature fine.&amp;nbsp; It's just this "Add to Selection" and the operation of merging point(s) with multipoints that doesn't work for me. Your help is appreciated.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 19:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editing-multipoint/m-p/426609#M10997</guid>
      <dc:creator>GaryBushek</dc:creator>
      <dc:date>2012-06-28T19:50:40Z</dc:date>
    </item>
  </channel>
</rss>

