proj4 - Only one command line in PROJ.4 -


i know if there way write 1 command line obtain expected results. explain:

when write :

$ proj +proj=utm +zone=13 +ellps=wgs84 -f %12.6f

if want recieved output data:

500000.000000 4427757.218739

you must write in line input data:

-105 40

is possible write concatenated command line stile?:

$ proj +proj=utm +zone=13 +ellps=wgs84 -f %12.6f | -105 40

thank you

i ran problem , found solution:

echo -105 40 | proj +proj=utm +zone=13 +ellps=wgs84 -f %12.6f 

that should trick.

if need e.g. within c#, command you'd use this:

cmd.exe /c echo -105 40 | proj +proj=utm +zone=13 +ellps=wgs84 -f %12.6f 

note: may need double % command processor interprets variable.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -