<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I don't know which version of QGIS you're using - I have 3.34.9 up and running.
</p>
<p>
</p>
<p>In my case I have a DEM (named dem) and my raster calculator expression is:
</p>
<p>
</p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'monospace'; font-size:11pt;">"dem@1" * 3.28081</span></p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'monospace'; font-size:11pt;">
</span></p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'monospace'; font-size:11pt;">I also have the output layer specified although I could create a temporary layer. </span></p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'monospace'; font-size:11pt;">
</span></p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'monospace'; font-size:11pt;">Randy
</span></p>
<p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'monospace'; font-size:11pt;">
</span></p>
<p><style type="text/css">p, li { white-space: pre-wrap; }</style></p>
<p>
</p>
<p>
</p>
<div class="moz-cite-prefix">On 8/25/24 18:34, Cristoforo Montanari
via Qgis-us-user wrote:<br>
</div>
<blockquote type="cite"
cite="mid:EA2P223MB09084E691EDFAA8728199D06B58A2@EA2P223MB0908.NAMP223.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have an elevation DEM in the form of a GeoTIFF file
downloaded from USGS for a southern California area near
Chatsworth CA. I noticed so far the the default co-ordinate
system seems to be <a class="moz-txt-link-freetext" href="EPSG:4326">EPSG:4326</a> WGS84 with the elevations in
meters. <br>
<br>
I tried many ways to convert the CRS to NAD83 California
Zone 5 along with the elevations and so far only the X and Y
axis and not the elevation data are converted. I also tried to
convert the elevation data over to feet with gdalwarp however I
was not yet successful at doing so. When I checked my elevations
they were still in meters.</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I tried to convert the elevations over to feet by applying a
scale factor:</div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: var(--cib-type-body1-font-weight);"><br>
</span></div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: var(--cib-type-body1-font-weight);"><code>
"your_raster_layer" * 3.28084</code></span></div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: var(--cib-type-body1-font-weight);"><br>
</span></div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: var(--cib-type-body1-font-weight);">
So far I couldn't get the raster calculator to accept the
input. There was a dialog box that came up stating that
something about my input was incorrect. Could I get some
assistance please, how to use the raster calculator with this
type of DEM from USGS in GeoTIFF format to apply the
conversion factors to the elevations after I converted to
NAD83?<br>
<br>
P.S.</span></div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: var(--cib-type-body1-font-weight);"><br>
</span></div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-weight: var(--cib-type-body1-font-weight);">
I seem to remember using QGIS a while ago and finding
California Zone 5 in my basket of CRS's however this time
around I am only finding NAD83 UTM 11. Is there a way to get
back or download CRS for California Zone 5 of NAD83?</span></div>
<div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
Qgis-us-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-us-user@lists.osgeo.org">Qgis-us-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-us-user">https://lists.osgeo.org/mailman/listinfo/qgis-us-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
------------------
Randal Hale
North Rivergeographic Systems, Inc
<a class="moz-txt-link-freetext" href="https://www.northrivergeographic.com">https://www.northrivergeographic.com</a>
<a class="moz-txt-link-freetext" href="https://www.qgis-us.org">https://www.qgis-us.org</a>
I hope this email finds you in the mountains, and as sun peeps through the trees the squirrels begin foraging.</pre>
</body>
</html>