Ticket #58 (closed defect: worksforme)
Incorrect values returned from pj_fwd
| Reported by: | sarmaa | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | default | Version: | 4.7.0 |
| Keywords: | pj_fwd | Cc: |
Description
I am using the libproj created from proj-4.7.0.tar to map a grid covering the world in a visulization software. I am using the orthographic projection. The grid is made of triangular elements of various sizes (unstructured triangular mesh). For the most part the library works ok. However, for segments spanning the horizon, the point that is invisible (just past the horizon) returns a viable coordinate pair that is completely wrong. The result is abnormal spikes from around the edge of the globe. I will try to attach a gif image to this message. In this example, I have filtered most of the spikes using some cumbersome logic. But still, if you look across Greenland you will see what I mean. Is there a routine to test whether a point is visible or invisible (on the other side of the sphere)?

