Hot answers tagged transformation
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 ...
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. ...
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.
Only top voted, non community-wiki answers of a minimum length are eligible