<?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: Determine spatial reference from X,Y values in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633442#M17068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What are you trying to do?&amp;nbsp; There's no way to determine a spatial reference given a set of x,y coordinates because the range of x,y values are not unique to a particular spatial reference.&amp;nbsp; In other words, you can't say that because my point has coordinates 0, 0 that it is in the Nad 83 Utm Zone 18N spatial reference because a point whose coordinates are 0, 0 could be in any spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Setting the spatialreference property of the point does not change the x,y values. "&amp;nbsp; This is correct.&amp;nbsp; When you set the SpatialReference property on a point object you are specifying the spatial reference of the point, not performing any kind of transformation.&amp;nbsp; If you want to project the point from one spatial reference to another then you should be calling the Project method.&amp;nbsp; The point object will need to already have a spatial reference set on it before calling Project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2012 20:23:12 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2012-03-15T20:23:12Z</dc:date>
    <item>
      <title>Determine spatial reference from X,Y values</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633441#M17067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looking for a sample code that would assist me to determine the spatialreference of the point created using x,y values. Setting the spatialreference property of the point does not change the x,y values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 16:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633441#M17067</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-03-15T16:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Determine spatial reference from X,Y values</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633442#M17068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What are you trying to do?&amp;nbsp; There's no way to determine a spatial reference given a set of x,y coordinates because the range of x,y values are not unique to a particular spatial reference.&amp;nbsp; In other words, you can't say that because my point has coordinates 0, 0 that it is in the Nad 83 Utm Zone 18N spatial reference because a point whose coordinates are 0, 0 could be in any spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Setting the spatialreference property of the point does not change the x,y values. "&amp;nbsp; This is correct.&amp;nbsp; When you set the SpatialReference property on a point object you are specifying the spatial reference of the point, not performing any kind of transformation.&amp;nbsp; If you want to project the point from one spatial reference to another then you should be calling the Project method.&amp;nbsp; The point object will need to already have a spatial reference set on it before calling Project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 20:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633442#M17068</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-15T20:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Determine spatial reference from X,Y values</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633443#M17069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response Neil! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm implementing a utility that reads x,y values from a flat file create points, transform and add it to wgs_1984 shapefile. I believe the x,y values has to be restored to its original spatial reference inorder&amp;nbsp; to transform it to WGS_1984.&amp;nbsp; The flat file does not have any spatialreference, projection or coordinate&amp;nbsp; system details. hence I was curious if I can determine these properties from x,y values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 21:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633443#M17069</guid>
      <dc:creator>sapnas</dc:creator>
      <dc:date>2012-03-15T21:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Determine spatial reference from X,Y values</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633444#M17070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, in order to project the data into a specific spatial reference you have to know what spatial reference it's in to begin with.&amp;nbsp; That's something that will have to be provided for you, not something that you can determine based on just the coordinate values you have.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 12:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/determine-spatial-reference-from-x-y-values/m-p/633444#M17070</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-03-16T12:32:30Z</dc:date>
    </item>
  </channel>
</rss>

