<?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 select by location(intersection functionality) in java arcobjects in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-intersection-functionality-in/m-p/438715#M11884</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;&amp;nbsp;&amp;nbsp; I am trying to do the following arcmap functionality in java arcobjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcMap, I have a map in projected UTM nad27 17N. The map has two SDE layers: a point and polygon. The underlying datasets are both geographic Nad 27. I did a selection of a point and tried tried to get all the polygons that intersected that point + buffer 1000feet using the ArcMap select by location function. I got 10 selections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am trying to do a similar thing in ArcObjects on the GIS Server. I published the projected GIS Map on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using java arcobjects I called the method FeatureLayer.search on the polygon layer. The input geometry supplied was UTM 17n buffer around the point. But, I get only 8 results back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After debugging, the problem seems to be that intersection calculation in FeatureLayer.search are being done in the projection of the native dataset(Geogrpahic). So I only get 8. But, arcmap seems to be doing it in the projection of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help in this is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uday&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 May 2010 15:34:36 GMT</pubDate>
    <dc:creator>udaykirankatikaneni</dc:creator>
    <dc:date>2010-05-17T15:34:36Z</dc:date>
    <item>
      <title>select by location(intersection functionality) in java arcobjects</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-intersection-functionality-in/m-p/438715#M11884</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;&amp;nbsp;&amp;nbsp; I am trying to do the following arcmap functionality in java arcobjects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcMap, I have a map in projected UTM nad27 17N. The map has two SDE layers: a point and polygon. The underlying datasets are both geographic Nad 27. I did a selection of a point and tried tried to get all the polygons that intersected that point + buffer 1000feet using the ArcMap select by location function. I got 10 selections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am trying to do a similar thing in ArcObjects on the GIS Server. I published the projected GIS Map on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using java arcobjects I called the method FeatureLayer.search on the polygon layer. The input geometry supplied was UTM 17n buffer around the point. But, I get only 8 results back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After debugging, the problem seems to be that intersection calculation in FeatureLayer.search are being done in the projection of the native dataset(Geogrpahic). So I only get 8. But, arcmap seems to be doing it in the projection of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help in this is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uday&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 15:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-intersection-functionality-in/m-p/438715#M11884</guid>
      <dc:creator>udaykirankatikaneni</dc:creator>
      <dc:date>2010-05-17T15:34:36Z</dc:date>
    </item>
  </channel>
</rss>

