Geocentric Coordinates

View: New views
3 Messages — Rating Filter:   Alert me  

Geocentric Coordinates

by Eran Burstain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi !
How can I convert geocentric ECEF coordinates to UTM and vice versa ?
tnx.

_______________________________________________
Proj mailing list
Proj@...
http://lists.maptools.org/mailman/listinfo/proj

Re: Geocentric Coordinates

by Paul Kelly-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 6 Oct 2008, Eran Burstain wrote:

> Hi !
> How can I convert geocentric ECEF coordinates to UTM and vice versa ?

Something like
cs2cs +proj=geocent +ellps=XXXX +to +proj=utm +zone=XX +ellps=XXXX
should do it. You might want some datum transformation parameters too
(+towgs84=X,X,X) depending on your application.

Paul

_______________________________________________
Proj mailing list
Proj@...
http://lists.maptools.org/mailman/listinfo/proj

Re: Geocentric Coordinates

by Eran Burstain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tnx, but how do i do it from code ?
I understand that I should initialize two projections with the "+proj=geocent +ellps=XXXX" and "+proj=utm +zone=XX +ellps=XXXX" strings,
but then what ?
(Transformation should have 3 points for each input and 3 for each output with height above ellipsoid, isn't it ?)

On Mon, Oct 6, 2008 at 11:19 AM, Paul Kelly <paul-grass@...> wrote:
On Mon, 6 Oct 2008, Eran Burstain wrote:

Hi !
How can I convert geocentric ECEF coordinates to UTM and vice versa ?

Something like
cs2cs +proj=geocent +ellps=XXXX +to +proj=utm +zone=XX +ellps=XXXX
should do it. You might want some datum transformation parameters too (+towgs84=X,X,X) depending on your application.

Paul

_______________________________________________
Proj mailing list
Proj@...
http://lists.maptools.org/mailman/listinfo/proj


_______________________________________________
Proj mailing list
Proj@...
http://lists.maptools.org/mailman/listinfo/proj
LightInTheBox - Buy quality products at wholesale price!