OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.


A fix has been applied to the login system for the forums - if you have trouble logging in please contact with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2018-01-08 09:24:51

New Member
Registered: 2018-01-08
Posts: 1

Shift a point given in WGS84 coordinates

I have a question regarding shifting a point in WGS84 coordinates.
I have a rectangle given by its top left and bottom right WGS84 coordinate and want to scale it.
My idea was to compute the diagonal, multiply it with a factor => Compute the shift in longitude, latitude coordinate.
How do I compute the resulting point from this?
Thanks for your answer,


#2 2018-01-08 11:14:29

Registered: 2011-05-21
Posts: 2,170

Re: Shift a point given in WGS84 coordinates

You haven't mentioned the main point: What is the size of the rectangle (shift)?

For small sizes of several Meters you can do the calculation linear in WGS units (best in degrees decimal).

For sizes above several km (depending on desired accuracy) you have to consider distortion by spherical effects.
One possible way: Translate to a length-preserving coordinate system, do the computing there and transform back to WGS.
But attention: After back transformation it will be no longer a rectangle. You cannot preserve length, area and angles at the same time in any projection of a spherical surface.


#3 2018-01-09 15:16:36

From: Blackstad, Sweden
Registered: 2013-07-30
Posts: 758

Re: Shift a point given in WGS84 coordinates

You may get more answers by posting THE question in a other kategori in THE forum. This section is for german speaking persons or mappning questions concerning germany...


Board footer

Powered by FluxBB