<div dir="ltr"><div><div>Thanks Davide and all of you guys : Noel, Jose, and Alain<br><br>All of you provided very nice response to my question.<br></div>From yours kind support, my problem is now solved.<br></div>Thanks again.<br>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">cleo</div></div>
<br><br><div class="gmail_quote">On Wed, Aug 20, 2014 at 5:18 PM, Davide Cesari <span dir="ltr"><<a href="mailto:dcesari@arpa.emr.it" target="_blank">dcesari@arpa.emr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 20/08/2014 09:37, Cleo Drakos wrote:<br>
> Dear Noel and Alain<br>
><br>
> Thanks for your nice answers.<br>
><br>
> So, while calling the cs2cs, where can I input the lat, lon and elevation?<br>
><br>
> cs2cs -f %.9f +a=6378136.30 +rf=298.257 +proj=latlong +towgs84=0,0,0 +to<br>
> +a=6378137 +rf=298.25722356 +proj=latlong +towgs84=0,0,0<br>
><br>
> cleo<br>
<br>
</div>Dear Cleo,<br>
with the command line indicated above, lon lat and optional altitude<br>
should be provided in standard input, i.e. typed by keyboard; on linux<br>
and unix-like systems shell (and probably DOS command line as well), you<br>
can take standard input from a text file with the syntax:<br>
<br>
cs2cs ... < filenamewithlonandlat<br>
<br>
Alternatively, the cs2cs command can receive as an extra argument the<br>
name of a file containing the coordinates, I suggest you to experiment<br>
with all the variations. Notice that the order of the coordinate is lon<br>
lat, not lat lon, but there are switches to change this as well as other<br>
formal aspects of cs2cs behavior, please refer to the cs2cs/proj<br>
documentation.<br>
<br>
Davide<br>
<div class="">><br>
><br>
> On Wed, Aug 20, 2014 at 3:37 PM, Alain Orsoni <<a href="mailto:Alain.Orsoni@ign.fr">Alain.Orsoni@ign.fr</a><br>
</div><div class="">> <mailto:<a href="mailto:Alain.Orsoni@ign.fr">Alain.Orsoni@ign.fr</a>>> wrote:<br>
><br>
> Cleo,<br>
><br>
> If I understand correctly you have latitude, longitude, elevation<br>
> (considered as heigth above ellipsoid) and geoid (considered as<br>
> height above geoid).<br>
> If so, you have to input only latitude longitude and elevation in<br>
> proj4. Heigth above geoid remains the same whatever the ellipsoid<br>
> you use, it is just the height of the geoid above the ellipsoid<br>
> which changes when you change ellipsoid.<br>
> The elevation above ellipsoid will change because of the change of<br>
> ellipsoid dimensions.<br>
</div>...<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
============================= Davide Cesari ============================<br>
Dott**(0.5) Davide Cesari<br>
ARPA-Emilia Romagna, Servizio IdroMeteoClima<br>
NWP modelling - Modellistica numerica previsionale<br>
Tel. <a href="tel:%2B39%20051525926" value="+39051525926">+39 051525926</a><br>
========================================================================<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Proj mailing list<br>
<a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/proj" target="_blank">http://lists.maptools.org/mailman/listinfo/proj</a><br>
</div></div></blockquote></div><br></div>