Tag Info

New answers tagged

0

the math will depend on the projection and what you want to preserve. A generic solution would consist in computing the Lat/Long coordinates of your points, then you simply add the value of your shift to each coordinates, and you finally reproject in your initial projected coordinate system. For pure East-West rotation, there is no distortion. For ...


2

Looking at the map that you have given, One can see that the points are coming close to the expected point, and are about 1 Degree Away. Lokking at your data, I can see that your code is converting -122.0, 40.0, 4.0819802 to -121.33219944994444 when it should be -122.66780055005556 This tells me that while you are flipping the sign of the Degree ...


2

I'm not sure who you consulted, but this doesn't seem like great advice. The problem seems to be not one of negative values but more the order of x and y co-ordinates. A latitude (y) can only be in the range of -90 to +90. Longitude (x) can be -180 to +180, broadly speaking. These co-ordinates are from the equator and the Greenwich meridian, respectively. ...


1

If you think of accuracy of distance measurement, mercator or transverse mercator with lat_0 and lon_0 set to the center of your area will do fine. Mercator has true lengths along the latitude, while transverse mercator has them along the meridian. So it depends on the format of your area which one is better. You can use omerc if you need a rotated grid.



Top 50 recent answers are included