<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I guess you want to create the
"3132173127312" string, not to create x coordinate and y
coordinate from the string, don't you? I guess the other answers
assumed this, also.<br>
<br>
In that case, assuming your coordinates are for instance in WGS84
and you want later to recover the info with 6 decimals both in y
(latitude) and x (longitude), and you would like to recover the
coordinates later completely, this might work:<br>
<br>
<br>
<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->(case
when x <0 then 'W' else 'E' end) ||
lpad((abs(x)*10^6),9,0)||(case when y>0 then 'N' else 'S'
end) || lpad((abs(y)*10^6),8,0) <br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">which
renders:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
W006345645N22987456 <br>
W|006|345645|N|22|987456<br>
X hemisphere|x degrees|x decimal degrees|Y hemisphere|y
degrees|y decimal degrees|<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
You can play with the exponent and the number of characters to
pad to in lpad function to get more or less decimals for your
coordinates.<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">Hope
this works</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
Best regards<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
Jorge Tornero
<!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
<br>
El 25/03/14 12:19, Simo Turunen escribió:<br>
</div>
<blockquote
cite="mid:CA+rRPNAHm9PTOoP2zR86FY3r0rTRtR7WPX6sfa4QYsNsr1J2rA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>Is there a way (from calculator?) to create xycoordinates
from point that i created into the same row, that it looks
like </div>
<div>"3186295678893" <-x & y.</div>
<div><br>
</div>
<div>-Simo</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>