4 ms·
Awesome work, as usual! I guess the next feature would be to remap the UI interaction to transformation of the projection, and not just the 2D window. For exam
by cscheid 13y ago
Awesome work, as usual!
I guess the next feature would be to remap the UI interaction to transformation of the projection, and not just the 2D window. For example, Albers' projection includes a latitude and longitude 'center'. So it would be better to change the latitude and longitude instead of the 2D window into the static projection. This would minimize the distortion when away from the natural projection center. The mercator doesn't have a natural center precisely because it's conformal, but other projections do.
If you already have the projection functions and their inverses, using automatic differentiation is the obvious choice. I think it might be simply a matter of computing the inverse projection's change in longitude and latitude respect to dx and dy, in pixels. That will give you the right numbers, for very little effort.