<?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: Level DEM: Spatial reference does not have z unit in Water Resources Questions</title>
    <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465297#M2311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One way of doing this is to edit the projection file associated to the input grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Open the prj file associated to the grid (prj.adf) in a text editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Set the parameters Units to the desired value (e.g. FEET, METERS) for the ground unit if not set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Set the parameters Zunits to the desired value for the z-unit. This parameter is set to NO if the z-unit is not explicitly defined: in that case the z-unit is assumed to be the same as the ground unit. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The zunits parameter may be set using a unit name (e.g. METERS, FEET) or a number in the projection file: this number represents the number of zunits that are needed to equal one meter (&lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;not one ground unit&lt;/SPAN&gt;&lt;SPAN&gt;). For example, for a ground unit in meters, a z-unit in centimeter is defined as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Units&amp;nbsp; METERS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zunits 100 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as there are 100 cm in 1m.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a ground unit in feet, a z-unit in centimeter is defined as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Units&amp;nbsp; FEET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zunits 100 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as there are 100 cm in 1m.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Christine Dartiguenave&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Water Resources Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 20:47:07 GMT</pubDate>
    <dc:creator>ChristineDartiguenave</dc:creator>
    <dc:date>2013-02-26T20:47:07Z</dc:date>
    <item>
      <title>Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465296#M2310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcHydro tool for ArcGIS 10. When I was doing the function "Level DEM", it always pops out this error saying "Level DEM: Spatial reference does not have z unit". Does anyone have the same problem? Could anyone please help me solve this problem? Is there a way to add z unit to the input raster data? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 03:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465296#M2310</guid>
      <dc:creator>xiaoliDong</dc:creator>
      <dc:date>2011-07-13T03:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465297#M2311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One way of doing this is to edit the projection file associated to the input grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Open the prj file associated to the grid (prj.adf) in a text editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Set the parameters Units to the desired value (e.g. FEET, METERS) for the ground unit if not set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Set the parameters Zunits to the desired value for the z-unit. This parameter is set to NO if the z-unit is not explicitly defined: in that case the z-unit is assumed to be the same as the ground unit. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The zunits parameter may be set using a unit name (e.g. METERS, FEET) or a number in the projection file: this number represents the number of zunits that are needed to equal one meter (&lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;not one ground unit&lt;/SPAN&gt;&lt;SPAN&gt;). For example, for a ground unit in meters, a z-unit in centimeter is defined as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Units&amp;nbsp; METERS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zunits 100 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as there are 100 cm in 1m.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a ground unit in feet, a z-unit in centimeter is defined as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Units&amp;nbsp; FEET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zunits 100 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as there are 100 cm in 1m.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Christine Dartiguenave&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Water Resources Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 20:47:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465297#M2311</guid>
      <dc:creator>ChristineDartiguenave</dc:creator>
      <dc:date>2013-02-26T20:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465298#M2312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The WTK describes these parameters. Looks they are not exposed in arcpy.SpatialReference, at least as of 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to get at them with setZFalseOriginAndUnits (false_z, z_units) using values [0, 100]&amp;nbsp; but that doesn't seem to change the WTK text when exported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;PROJCS['NAD_1983_Albers',
GEOGCS['GCS_North_American_1983',
DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],
PRIMEM['Greenwich',0.0], 
UNIT['Degree',0.0174532925199433]],
PROJECTION['Albers'],
PARAMETER['False_Easting',0.0],
PARAMETER['False_Northing',0.0],
PARAMETER['central_meridian',-96.0],
PARAMETER['Standard_Parallel_1',29.5],
PARAMETER['Standard_Parallel_2',45.5],
PARAMETER['latitude_of_origin',23.0],
UNIT['Meter',1.0]],
&lt;STRONG style="color: #e23d39;"&gt;VERTCS['Unknown VCS',VDATUM['Unknown'],&lt;/STRONG&gt;
PARAMETER['Vertical_Shift',0.0],
PARAMETER['Direction',1.0],
&lt;STRONG style="color: #e23d39;"&gt;UNIT['User_Defined_Unit',0.01]];&lt;/STRONG&gt;
-16901100 -6972200 266467840.990852;-100000 100;-100000 10000;0.001;0.1;0.001;IsHighPrecision&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465298#M2312</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T20:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465299#M2313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The spatial reference is now read from the auxiliary file (*.aux.xml) associated to the raster. This file contains information on the raster that cannot be stored in the raster itself (e.g. spatial reference in the SRS section).&lt;/P&gt;&lt;P&gt;The old projection file is overwritten based on the content of the auxiliary file – this is why ArcMap will not recognize the changes to the projection file.&lt;/P&gt;&lt;P&gt;You can modify the spatial reference properties and set the z unit in the Z Coordinate System tab in the Spatial Reference Properties window.&lt;/P&gt;&lt;P&gt;You can select an existing Z Coordinate System or create a custom one by right-clicking and existing one and selecting Copy and Modify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christine Dartiguenave&lt;/P&gt;&lt;P&gt;Esri Water Resources Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 22:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465299#M2313</guid>
      <dc:creator>ChristineDartiguenave</dc:creator>
      <dc:date>2015-03-24T22:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465300#M2314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christine,&lt;/P&gt;&lt;P&gt;I am having the same trouble: any modifications in the adf.prj-file are not recognized by ArcHydro. My raster coordinate system is a national reference system without a Z coordinate system. Consequently the Spatial Reference Properties window does only show a XY Coordinate System tab - there are no existing Z-coordinate systems to modify according to your post. How do I add a new one?&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/101710_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 09:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465300#M2314</guid>
      <dc:creator>AxelThomas</dc:creator>
      <dc:date>2015-05-20T09:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465301#M2315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christine, is there a way to do this from Python? This is why I was dismayed it apparently isn't supported in the SpatialReference object even though it seemed like it should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 03:34:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465301#M2315</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2015-05-21T03:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465302#M2316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any way to modify the Z-coordinate system values would be ok for me: manually, Python, ArcObjects - we only need the information how to do it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Axel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 08:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465302#M2316</guid>
      <dc:creator>AxelThomas</dc:creator>
      <dc:date>2015-05-26T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465303#M2317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got a question about this today and looked into it again. The Define Projection tool does the trick. That tool exposes the Z coordinate tab so you can set the values. When I set the Z values to NAVD88 and units to centimeters, it runs successfully and it seems to "take" - at least when i describe it I can see it has been set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="356516" alt="Define Projection with Z" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/356516_capture.png" style="width: 620px; height: 587px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check of results in Python window:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt;&amp;gt;&amp;gt; &lt;STRONG&gt;arcpy.Describe("elev_cm.tif").spatialReference.exportToString()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;u"PROJCS['USA_Contiguous_Albers_Equal_Area_Conic_USGS_version',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Albers'],PARAMETER['false_easting',0.0],PARAMETER['false_northing',0.0],PARAMETER['central_meridian',-96.0],PARAMETER['standard_parallel_1',29.5],PARAMETER['standard_parallel_2',45.5],PARAMETER['latitude_of_origin',23.0],UNIT['Meter',1.0]],&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;VERTCS['NAVD_1988',VDATUM['North_American_Vertical_Datum_1988'],PARAMETER['Vertical_Shift',0.0],PARAMETER['Direction',1.0],UNIT['Centimeter',0.01]];&lt;/STRONG&gt;&lt;/SPAN&gt;-16901100 -6972200 266467840.990852;-100000 100;-100000 10000;0.001;0.1;0.001;IsHighPrecision"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 19:34:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465303#M2317</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2016-04-29T19:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Level DEM: Spatial reference does not have z unit</title>
      <link>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465304#M2318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an update on this, 10.5 has improved Z support on the SpatialReference object, which now has a &lt;STRONG&gt;vcs&lt;/STRONG&gt; property.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still don't see an easy way to change the Z units, but you can define canned xy and z systems with codes:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;102039&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5703&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/spatialreference.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/spatialreference.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;SpatialReference—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/vcs.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/vcs.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;VCS—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/water-resources-questions/level-dem-spatial-reference-does-not-have-z-unit/m-p/465304#M2318</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T20:39:04Z</dc:date>
    </item>
  </channel>
</rss>

