<?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 Retrieving Spatial reference of a layer in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/retrieving-spatial-reference-of-a-layer/m-p/741391#M57320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried the following for retrieving spatial reference of a layer but can't make it work! Please help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; fc = "C:/GIS222(Python)/Lab4/NYState.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; sr = arcpy.Describe(fc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the 3rd line above nothing is showing up in auto completion after arcpy.Describe(fc). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was expecting Spatial Reference after the period&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing anything wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 14:43:44 GMT</pubDate>
    <dc:creator>abubadruddin</dc:creator>
    <dc:date>2011-01-07T14:43:44Z</dc:date>
    <item>
      <title>Retrieving Spatial reference of a layer</title>
      <link>https://community.esri.com/t5/python-questions/retrieving-spatial-reference-of-a-layer/m-p/741391#M57320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried the following for retrieving spatial reference of a layer but can't make it work! Please help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; fc = "C:/GIS222(Python)/Lab4/NYState.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; sr = arcpy.Describe(fc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the 3rd line above nothing is showing up in auto completion after arcpy.Describe(fc). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was expecting Spatial Reference after the period&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing anything wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 14:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retrieving-spatial-reference-of-a-layer/m-p/741391#M57320</guid>
      <dc:creator>abubadruddin</dc:creator>
      <dc:date>2011-01-07T14:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Spatial reference of a layer</title>
      <link>https://community.esri.com/t5/python-questions/retrieving-spatial-reference-of-a-layer/m-p/741392#M57321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try, where inFC is the path to disk of a featureclass, &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
desc = arcpy.Describe
SR = desc(inFC).spatialReference&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retrieving-spatial-reference-of-a-layer/m-p/741392#M57321</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T07:33:51Z</dc:date>
    </item>
  </channel>
</rss>

