<?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 Set Vertical Datum using Arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/set-vertical-datum-using-arcpy/m-p/530986#M41585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello , &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to set Z coordinate System using python ? I am creating the Spatial Reference object like below &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sp = arcpy.CreateSpatialReference_management("GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],VERTCS['NAVD_1988',VDATUM['North_American_Vertical_Datum_1988'],PARAMETER['Vertical_Shift',0.0],PARAMETER['Direction',1.0],UNIT['Meter',1.0]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPrecision","#","#","#","#","#","0")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see I have set the vertical datum . I have useed this spatial Reference object for creating the feature class . I have also enabled M and Z Values for the feature class .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After creating the feature class , When I use the describe object on the feature class like below &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;test = arcpy.Describe("test123")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;test.SpatialReference.exporttostring()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;u"GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPrecision"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see it is not returning the Z Cooridnate System .. Has the Z Coorindate System been set to feature class or not ? If yes , How to confirm it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please help me in clearing this doubt &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 19:37:51 GMT</pubDate>
    <dc:creator>VikramS</dc:creator>
    <dc:date>2013-01-21T19:37:51Z</dc:date>
    <item>
      <title>Set Vertical Datum using Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/set-vertical-datum-using-arcpy/m-p/530986#M41585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello , &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to set Z coordinate System using python ? I am creating the Spatial Reference object like below &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sp = arcpy.CreateSpatialReference_management("GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],VERTCS['NAVD_1988',VDATUM['North_American_Vertical_Datum_1988'],PARAMETER['Vertical_Shift',0.0],PARAMETER['Direction',1.0],UNIT['Meter',1.0]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPrecision","#","#","#","#","#","0")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see I have set the vertical datum . I have useed this spatial Reference object for creating the feature class . I have also enabled M and Z Values for the feature class .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After creating the feature class , When I use the describe object on the feature class like below &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;test = arcpy.Describe("test123")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;test.SpatialReference.exporttostring()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;u"GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPrecision"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see it is not returning the Z Cooridnate System .. Has the Z Coorindate System been set to feature class or not ? If yes , How to confirm it &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please help me in clearing this doubt &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 19:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-vertical-datum-using-arcpy/m-p/530986#M41585</guid>
      <dc:creator>VikramS</dc:creator>
      <dc:date>2013-01-21T19:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Vertical Datum using Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/set-vertical-datum-using-arcpy/m-p/530987#M41586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tested on my end and it is applied, it doesn't seem to be exposed through the describe object. However if you open the feature class properties you will see a Z Coordinate System tab.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 22:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-vertical-datum-using-arcpy/m-p/530987#M41586</guid>
      <dc:creator>ChrisFox3</dc:creator>
      <dc:date>2013-01-31T22:36:08Z</dc:date>
    </item>
  </channel>
</rss>

