<html style="direction: ltr;">
<head>
<meta content="text/html; charset=windows-1255"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="preferred-charset" text="#660000"
bgcolor="#FFFFFF">
<div class="moz-cite-prefix">For jobs like this you can use the
cs2cs tool (part of the proj4 package) to convert coordinate pairs
from one CRS to another. You can see some examples on the wiki
page [1]<br>
(Note: The coordinates below do not look like Lon/Lat)<br>
<br>
[1] <a class="moz-txt-link-freetext" href="http://trac.osgeo.org/proj/wiki/man_cs2cs">http://trac.osgeo.org/proj/wiki/man_cs2cs</a><br>
<br>
On 14/10/2013 06:26, Szilard Albert wrote:<br>
</div>
<blockquote
cite="mid:CAF=Lnqz1WL08eZuu4SV4CKQWgFKJFN_Z+VEwtofAx8XXDP9ROg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>I am trying to batch convert Lat/Lon coordinates of several
hundred points</div>
<div>into XY coordinates. </div>
<div>Would this be possible using ogr2ogr or similar?</div>
<div> </div>
<div>Please see a sample of input (ukoa navigation text file).</div>
<div>Columns 1-9 are "Line" name, 23-25 "point" name, 26-46
lat/lon.</div>
<div><br>
</div>
<div>I can easily manipulate the columns position if needed.</div>
<div><br>
</div>
<div>regards,<br>
Sid</div>
<div><br>
</div>
<div><br>
</div>
<div>H2600....1.........2.........3.........4.........5.........6.........7.........8</div>
<div>SO81-006A 1657265058.15S1254029.94E 0.0
0.0 </div>
<div>SO81-006A 1680265107.44S1254011.76E 0.0
0.0 </div>
<div>SO81-006A 1710265119.64S1253948.03E 0.0
0.0 </div>
<div>SO81-006A 1740265131.74S1253924.45E 0.0
0.0 </div>
<div>SO81-006A 1770265143.94S1253900.73E 0.0
0.0 </div>
<div>SO81-006A 1800265156.04S1253837.04E 0.0
0.0 </div>
<div>SO81-006A 1830265208.24S1253813.43E 0.0
0.0 </div>
<div>SO81-006A 1860265220.45S1253749.74E 0.0
0.0 </div>
<div>SO81-006A 1890265232.55S1253726.05E 0.0
0.0 </div>
<div>SO81-006A 1920265244.75S1253702.43E 0.0
0.0 </div>
<div><br>
</div>
<div> </div>
<div><br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 12 October 2013 04:46, Mark Seibel
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mseibel@gmail.com" target="_blank">mseibel@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi.</p>
<p dir="ltr">> I would like to know if there is a way
to convert a shapefile defined with Lat/Lon into a
shapefile defined with X and Y.</p>
<p dir="ltr">One could setup a lat/long location and an xy
location and project from one to another in GRASS.</p>
<p dir="ltr">Alternatively, one can use gdal's ogr2ogr
command to reproject the shapefile at the command line
outside of GRASS, if the goal is to simply reproject a
shapefile.</p>
<span class="HOEnZb"><font color="#888888">
<p dir="ltr">Mark<br>
</p>
</font></span></blockquote>
</div>
<br>
</div>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
GIS Consulting
052-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
</pre>
</body>
</html>