On 3 November 2011 20:38, Jukka Rahkonen <span dir="ltr"><<a href="mailto:jukka.rahkonen@mmmtike.fi">jukka.rahkonen@mmmtike.fi</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br></div>Thereafter I will try if I can just turn the coordinates from these<br>
<gml:lowerCorner>6605838.360 61685.735</gml:lowerCorner><br>
into these<br>
<gml:lowerCorner>61685.735 6605838.360</gml:lowerCorner><br>
in the whole xml file with awk or something else as horrible.</blockquote><div><br></div><div>Maybe something like this?</div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">perl -ne 's,<gml:lowerCorner>([-+e\.0-9]+) +([-+e\.0-9]+)</gml:lowerCorner>,<gml:lowerCorner>\2 \1</gml:lowerCorner>,;print;'</font></div>
<div><br></div></div>