Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alsk - Inverse problem at the origin long/lat (-152,64) #161

Closed
proj4-bot opened this issue May 22, 2015 · 1 comment
Closed

alsk - Inverse problem at the origin long/lat (-152,64) #161

proj4-bot opened this issue May 22, 2015 · 1 comment
Milestone

Comments

@proj4-bot
Copy link

@proj4-bot proj4-bot commented May 22, 2015

Reported by fwillett on 10 May 2012 17:35 UTC
System:
OS - Windows 7 Ultimate, SP1, 64 bit
CPU - Intel Core2 Quad CPU @ 2.83 GHz
Memory - 1.86 GB
Running in Oracle VirtualBox 4.16 r74713

Installation:
proj version - Rel. 4.8.0, 6 March 2012
Microsoft Visual Studio 2010 Professional Version 10.0.40219.1 SP1Rel
Build commands:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
nmake /f makefile.vc
nmake /f makefile.vc install-all

Note: This builds a 32 bit version of the programs and libraries.

In the following the OS prompt is "$" and the proj prompt is "%"

alsk - Inverse problem at the origin long/lat (-152,64)

$ ./proj.exe +proj=alsk
%-152 64
-0.00 0.00
%-152.0001 64.0001
-4.88 11.12

$ ./proj.exe +proj=alsk -I
%0 0
56dE 64dN <<-- Wrong - should be 152dW 64dN
%-4.88 11.12
152d0'0.36"W 64d0'0.36"N <<-- Correct

Migrated-From: https://trac.osgeo.org/proj/ticket/161

kbevers added a commit that referenced this issue Oct 18, 2016
@kbevers kbevers added this to the 4.10.0 milestone Oct 18, 2016
@kbevers
Copy link
Member

@kbevers kbevers commented Oct 18, 2016

alsk now behaves as expected at the origin:

$ echo -0.0001 -0.0001 |./proj -I -f %10.10f +proj=alsk
-152.0000000020 63.9999999991

$ echo 0 0 |./proj -I -f %10.10f +proj=alsk
-152.0000000000 64.0000000000

 echo 0.0001 0.0001 |./proj -I -f %10.10f +proj=alsk
-151.9999999980 64.0000000009
@kbevers kbevers closed this Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.