<?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 check geometry before editor gets called in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/check-geometry-before-editor-gets-called/m-p/24099#M580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I check the user's geometry before it gets passes to the editor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using editor in rectangle mode (I use rectangle because it accepts points which is great) but if the user draws a perfectly straight line nothing gets selected. I need to intercept it somewhere before the editor actually gets called, to check the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be clear, the code returns fine with an empty selection, no errors at all, until I check my Server Logs. In Server Manager I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Geodatabase error: The number of points is less than required for feature"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to me this means the SL code lets the line pass, but the .MapServer doesn't know how to handle it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 21:00:12 GMT</pubDate>
    <dc:creator>DaveOrlando</dc:creator>
    <dc:date>2014-07-16T21:00:12Z</dc:date>
    <item>
      <title>check geometry before editor gets called</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/check-geometry-before-editor-gets-called/m-p/24099#M580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I check the user's geometry before it gets passes to the editor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using editor in rectangle mode (I use rectangle because it accepts points which is great) but if the user draws a perfectly straight line nothing gets selected. I need to intercept it somewhere before the editor actually gets called, to check the geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to be clear, the code returns fine with an empty selection, no errors at all, until I check my Server Logs. In Server Manager I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Geodatabase error: The number of points is less than required for feature"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to me this means the SL code lets the line pass, but the .MapServer doesn't know how to handle it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 21:00:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/check-geometry-before-editor-gets-called/m-p/24099#M580</guid>
      <dc:creator>DaveOrlando</dc:creator>
      <dc:date>2014-07-16T21:00:12Z</dc:date>
    </item>
  </channel>
</rss>

