I have the shapefile of boundaries loaded in qgis. I want to add a field in the file which is WKT representation of the feature.
As Nathan W answered
geomToWKT( $geometry ) and got result. The thing is the coordinates are in lon lat format. I found out that that i need them in lat lon format. Is it possible to change the order of coordinates?