The Free Wiki World Map

You are not logged in.

- Topics: Active | Unanswered

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

Pages: **1**

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

Hi,

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,

Juli

Offline

**seichter****Member**- Registered: 2011-05-21
- Posts: 2,216

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.

Offline

**Skinfaxi****Member**- From: Blackstad, Sweden
- Registered: 2013-07-30
- Posts: 790

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...

Offline

Pages: **1**