So you have a starting point (0,0) in one (arbitrary) coordinate system, and a corresponding (latitude, longitude) point in another (geocentric) coordinate system. Your problem is, given a set of known (x, y) offsets from your origin, how do you find the corresponding (latitude, longitude) points? (Am I understanding your question so far?)
The simple answer is just to use the formula:
lat2 = asin(sin(lat1)*cos(d/R) + cos(lat1)*sin(d/R)*cos(θ))
lon2 = lon1 + atan2(sin(θ)*sin(d/R)*cos(lat1), cos(d/R)−sin(lat1)*sin(lat2))
d/R is the angular distance (in radians), where d is the distance travelled and R is the earth’s radius
Taken from this link: http://www.movable-type.co.uk/scripts/latlong.html
Edit 2: (Oh, I forgot to mention: this formula assumes you have polar coordinates (R, θ) instead of Cartesian coordinates (x, y). But converting between those is not too hard.)
The slightly longer answer is that if you are doing this over a large enough space, the math gets very complicated, because of how height is measured and how the surface of the earth is shaped. You probably want to read up on geographic coordinate systems; this Wikipedia article is a good starting point. You may also find the PROJ.4 library useful.
Edit:
If you need to take height (z) measurements into account, the math gets even more complex. The easy(ier) solution is to do 2.5-dimension math -- that is, calculate the (x, y) coordinate with one set of formulas, and then do the (z) coordinate separately. This only works over a small enough area, since you're essentially assuming that the surface of the earth is flat for the space you're working in. However, that may be good enough for your application.