<?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 Points Attribute Editing in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479181#M3295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to implement attribute editing for point features. There is a nice sample "&lt;/SPAN&gt;&lt;STRONG&gt;AttributeEditor&lt;/STRONG&gt;&lt;SPAN&gt;" for editing attributes but &lt;/SPAN&gt;&lt;STRONG&gt;polygon layer&lt;/STRONG&gt;&lt;SPAN&gt; is used in it. There is no problem by selecting a polygon feature on the map. But, what about point layer? I've changed the feature layer with &lt;/SPAN&gt;&lt;STRONG&gt;point layer&lt;/STRONG&gt;&lt;SPAN&gt; but I cannot select a point on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I must do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have any of you solved this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 02:05:41 GMT</pubDate>
    <dc:creator>DaniSetiawan</dc:creator>
    <dc:date>2013-04-02T02:05:41Z</dc:date>
    <item>
      <title>Points Attribute Editing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479181#M3295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to implement attribute editing for point features. There is a nice sample "&lt;/SPAN&gt;&lt;STRONG&gt;AttributeEditor&lt;/STRONG&gt;&lt;SPAN&gt;" for editing attributes but &lt;/SPAN&gt;&lt;STRONG&gt;polygon layer&lt;/STRONG&gt;&lt;SPAN&gt; is used in it. There is no problem by selecting a polygon feature on the map. But, what about point layer? I've changed the feature layer with &lt;/SPAN&gt;&lt;STRONG&gt;point layer&lt;/STRONG&gt;&lt;SPAN&gt; but I cannot select a point on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I must do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have any of you solved this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 02:05:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479181#M3295</guid>
      <dc:creator>DaniSetiawan</dc:creator>
      <dc:date>2013-04-02T02:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Points Attribute Editing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479182#M3296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the point feature is too small hence the query does not fire properly on the layer. I had faced the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The solution? Since this sample works best for polygon layers, I decided to put the point i click in a polygon itself. So using geometric engine i create a small buffer(0.1) round the point. Now this buffer returns a polygon which is the same geometry type of the sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when you click your point you should see your attributes pop up in no time &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: Since the buffer distance is (0.1) for better accuracy, you might have to zoom a bit and then click the point to view your attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; pointClicked = mapControl.toMapPoint(x, y);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Polygon poly = (Polygon) GeometryEngine.buffer(pointClicked, mapControl.getSpatialReference(),0.1,mapControl.getSpatialReference().getUnit());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nigel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 04:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479182#M3296</guid>
      <dc:creator>NigelDsouza</dc:creator>
      <dc:date>2013-05-03T04:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Points Attribute Editing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479183#M3297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree, technically you can use point layer, but it is just not accurate, since point is too small. Sometime it looks like you are tapping on the point, but it actually doesn't&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is to increase the tolerance of the radius around the tapped point for which graphic ids will be returned, which is the DP value.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 14:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479183#M3297</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2013-12-20T14:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Points Attribute Editing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479184#M3298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another workaround, please use buffer for the geometry, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=============&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Query query = new Query();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.setOutFields(new String[] { "*" });&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.setSpatialRelationship(SpatialRelationship.INTERSECTS);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry geom=(GeometryEngine.buffer(pointClicked,mapView.getSpatialReference(),100,null));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.setGeometry(geom);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.setInSpatialReference(mapView.getSpatialReference());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=============&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that the buffer number can be adjusted, I purposely make it big to make sure that we can get the query result back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 14:24:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/points-attribute-editing/m-p/479184#M3298</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2014-01-03T14:24:18Z</dc:date>
    </item>
  </channel>
</rss>

