Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18433 closed defect (fixed)

Proj.4 port giving incorrect results

Reported by: dershow Owned by: seanasy@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: proj

Description

I had been using the macports version of proj, but cs2cs is giving me incorrect results.

According to a FAQ I found, and also an older version that I had built:

cs2cs +proj=latlong +datum=NAD27 +to +proj=latlong +datum=NAD83 
-117 30

produces: 117d0'2.901"W 30d0'0.407"N 0.000

While on the current port build I get a results of: 117dW 30dN 0.000 (which is identical to the input).

My guess is that one, or more, of the necessary proj files is missing (conus?). I did try just copying the conus file over to /opt/local/share/proj but that didn't help. I think that maybe all the projection files have to correctly be in place before building? This is a big problem because this is an important conversion tool that is giving a wrong answer rather then just giving an error.

Thanks,

Change History (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: seanasy@… removed
Owner: changed from macports-tickets@… to seanasy@…
Priority: HighNormal

comment:2 in reply to:  description Changed 15 years ago by seanasy@…

Datum shifts are an optional, compile-time feature of proj.4 that requires extra downloads.

You're right that it would be useful to have it included by default. I'll see if I can work out the necessary voodoo.

comment:3 Changed 15 years ago by dershow

If you prefer it could be a variant. Although I don't think that the optional files are really that large. So it would be great to have them work by default.

Thanks much,

--Adam

comment:4 Changed 15 years ago by seanasy@…

Fixed in ticket #19172

comment:5 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Per #19172, updated in r49171.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.