<?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 IProximityOperator.ReturnDistance in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502574#M13488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am writing code with VBA for distance between 150 points to 2 source points, which are vector data and on two layers. How can I define the source points? how to use IProximityOperator.ReturnDistance for the calculation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 04:37:24 GMT</pubDate>
    <dc:creator>Lizhang1</dc:creator>
    <dc:date>2013-04-09T04:37:24Z</dc:date>
    <item>
      <title>distance between different points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502571#M13485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a question for calculation of different points in a layer and need to export the results of distance matrix in a *.csv document with VBA &amp;amp; ArcObjects. (I Have the map layer of points (vector data) and the attribute table of the points.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some one has ever suggested me the interface, but I am still lost, since I am a real beginner and only have some unclear conception. Could anyone help me to write the code that I can copy and use it? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 12:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502571#M13485</guid>
      <dc:creator>Lizhang1</dc:creator>
      <dc:date>2013-04-08T12:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: distance between different points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502572#M13486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you have an arcinfo license you can use Point Distance &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/0008/00080000001r000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/0008/00080000001r000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use same fc class for in_features and near_features. You also can supply a radious if you need matrix of points with distance &amp;lt; radius. Remember that if you have 1,000 points, then the output table can contain one million records. If you set a radius you could have many fewer records.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 14:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502572#M13486</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-04-08T14:51:36Z</dc:date>
    </item>
    <item>
      <title>IProximityOperator.ReturnDistance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502573#M13487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am writing code for distance between 150 points to 2 source points, which are vector data and on two layers. How can I define the source points? how to use IProximityOperator.ReturnDistance for the calculation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 04:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502573#M13487</guid>
      <dc:creator>Lizhang1</dc:creator>
      <dc:date>2013-04-09T04:36:53Z</dc:date>
    </item>
    <item>
      <title>IProximityOperator.ReturnDistance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502574#M13488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am writing code with VBA for distance between 150 points to 2 source points, which are vector data and on two layers. How can I define the source points? how to use IProximityOperator.ReturnDistance for the calculation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 04:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502574#M13488</guid>
      <dc:creator>Lizhang1</dc:creator>
      <dc:date>2013-04-09T04:37:24Z</dc:date>
    </item>
    <item>
      <title>to store calculation result in attribute table</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502575#M13489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using VBA for the code and need to store the calculation result in the existing attribute table or in a new table. I am seeking for help for the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 04:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502575#M13489</guid>
      <dc:creator>Lizhang1</dc:creator>
      <dc:date>2013-04-09T04:40:38Z</dc:date>
    </item>
    <item>
      <title>array for points distance calculation</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502576#M13490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am writing code in VBA to calculate distances between 150 points and 2 source points which are in different layers, but I am unclear how to use the array. Could anyone give me a hand? Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 04:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502576#M13490</guid>
      <dc:creator>Lizhang1</dc:creator>
      <dc:date>2013-04-09T04:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: distance between different points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502577#M13491</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;If you want euclidean distances of each point to all other points in a Featureclass then same can be done by OD Matrix which is available in Network Analyst. The same can be called programatically too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check this link : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00470000004r000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00470000004r000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Hope this helps, Best Luck&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sameer Puppal&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Developer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mahindra Satyam, India&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 08:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502577#M13491</guid>
      <dc:creator>sameerpuppal</dc:creator>
      <dc:date>2013-04-17T08:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: IProximityOperator.ReturnDistance</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502578#M13492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am writing code with VBA for distance between 150 points to 2 source points, which are vector data and on two layers. How can I define the source points? how to use IProximityOperator.ReturnDistance for the calculation?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also instead of using IproximityOperator, you can directly use a ILine to get distance between two points, you can set from point and to point for a ILine Object and get Length from its property directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sameer Puppal&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Developer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mahindra Satyam, India&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/distance-between-different-points/m-p/502578#M13492</guid>
      <dc:creator>sameerpuppal</dc:creator>
      <dc:date>2013-04-17T09:03:03Z</dc:date>
    </item>
  </channel>
</rss>

