[Proj] Lambert Azimuthal Equal Area scale
Lourens Veen
l.e.veen at uva.nl
Wed Jun 10 14:01:15 EST 2015
On 10/06/15 17:41, Lourens Veen wrote:
> I'll check everything again tomorrow, this time with lon and lat in the
> right order for invgeod to understand it correctly. I agree that geod
> should be fixed, both geod and proj are libproj utilities, they should
> correctly interpret each other's default output format.
And on that note, would the proj maintainers accept a patch that adds a
third parameter to dmstor(), an int* that when set to a non-NULL value
will be an out parameter that is set to 0, 1 or 2 if the value read has
no axis hint, is a longitude (eEwW postfix sign), or is a latitude (nNsS
postfix sign) respectively?
What would be your preferred behaviour for the geod tool? I don't think
changing the default order to match proj's output would be good, because
it would break existing software that puts latitude before longitude. So
I would only add a check to see if the postfix sign indicators suggest
that the first argument is a longitude, and just silently swap them so
that you get the correct result.
Alternatively, an error or warning could be generated instead of
silently giving the correct answer, but I don't see the added value in that.
Finally, do I send a patch to the mailing list or do you prefer a git
pull request?
Thanks,
Lourens
More information about the Proj
mailing list