Skip to content

Cmd returns +Inf #40

@tartavull

Description

@tartavull

Thank you for this great project!

I'm trying to use the command line to replicate the results from:
https://epsg.io/transform#s_srs=32617&t_srs=4326&x=632519.9000000&y=4834621.3000000

But nothing seems to work:

(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs

79.38 43.65
+Inf +Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs

43.65 79.38
+Inf +Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs -inverse

79.38 43.65
+Inf +Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs -inverse

43.65 79.38
+Inf +Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs -inverse

-79.38 43.65
+Inf +Inf
^Csignal: interrupt
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs

-79.38 43.65
+Inf +Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs

43.65 -79.38
+Inf -Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs -inverse

43.65 -79.38
+Inf -Inf

unexpected newline
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs -inverse

632519.9 4834621.3
lat or lon limit exceeded
exit status 1
(base) ➜  proj git:(master) ✗ go run proj.go +proj=utm +zone=17 +datum=WGS84 +units=m +no_defs

632519.9 4834621.3
lat or lon limit exceeded
exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions