<div dir="ltr">QGIS Expression builder has a to_dms function available.<div><br></div><div>For example, you could use the field calculator to update a text field like so:</div><div><br></div><div><span style="font-family:monospace">to_dms( "x_field" ,'x', 3) || ', ' || to_dms( "y_field" ,'y', 3)</span></div><div><br></div><div>Should yield results such as the following:</div><div><span style="font-family:monospace">x_field: 23.3978700906344<br>y_field : -30.810918277945603<br></span></div><div><span style="font-family:monospace">dms_field: 23°23′52.332″, -30°48′39.306″</span><br></div><div><br></div><div>You can get point positions also using QGIS expressions and the $x and $y parameters</div><div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Jul 2021 at 22:59, jean Lukusa <<a href="mailto:lukusam@gmail.com">lukusam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><br>Hi all.<div dir="auto">Would you help me how to convert  longitude and latitude coordinates of a point from decimal degree into degree-minutes-secondes directly in an attribute table of shapefile ?</div><div dir="auto"><br><div dir="auto">Jean Lukusa<br>B.Sc. Geology<br>Trained on Jorc  Code<br>GIS  Operator <br>+243812156128</div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>