I have a set of latitude and longitude of a series of points which specific the trajectory of a vehicle. If I consider the first point as the origin (0,0), is it possible to convert the trajectory into a set of points with co-ordinates as (X ft, Y ft)? If yes how?

I would prefer to have the mathematical formula if possible.

I also have a related question. Does the conversion depend on the map projection I am interested in? If yes, the projection I would be interested in is Mercator projection with datum of WGS84.

  • 4
    WGS84 is a datum. If you need a projected set of X,Y coordinates, then you are going to need to specify which one you want the coordinates in and that you want it in a WGS84 datum (ie UTM projection with a WGS84 datum)
    – user681
    Oct 31, 2012 at 22:21
  • 1
    The answer to your first question is "yes, of course". The answer to the second question depends on where the points are, and the input format. Can you please specify the point format and approximate location? It also might be useful to know the approximate distance from first to last (so we can figure out what approximations might be appropriate).
    – BradHards
    Oct 31, 2012 at 23:48
  • @DanPatterson, I am talking about Mercator projection with WGS84 datum
    – Stat-R
    Nov 1, 2012 at 0:40

2 Answers 2


You don't have FME do you? The CommonLocalReprojector transformer would do what you want, albeit that 0,0 would be in the centre and the data would need offsetting.

From the help:

CommonLocalReprojector: Reprojects a set of features to a local coordinate system with units of meters centered on the bounding box of the features. This transformer is useful if you need a number of features reprojected into the same local coordinate system.


I got this BUT only thing is that I do not know how to automate it. I used it manually and it worked just fine. I am putting it as answer for it may be useful to someone.

If someone can automate it, it would be great.


See this answer

  • Which projection and datum does this tool give results in?
    – user3461
    Mar 14, 2013 at 16:16
  • To be honest I do not know and in fact when I used the formula given here: stackoverflow.com/questions/639695/… the results were different...Still researching
    – Stat-R
    Mar 14, 2013 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.