I am trying to convert an N-triple RDF file which has geometries with WKT which use EPSG/3857 and I need to convert all WKTs to EPSG/4326 (I think it is the same as WGS84).
As a first step, I tried using cs2cs for one point, but the result was not a pair of numbers:
echo -75.137109 42.280707 | cs2cs +init=epsg:3857 +to +init=epsg:4326
0d0'2.43"W 0d0'1.367"N 0.000
Does anyone have a pointer for the proper use of cs2cs tool or some other utility or even a java function that I could include in my project?