Ticket #98 (new task)
move pj_factors() into proj_api.h
| Reported by: | hamish | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | default | Version: | Development (trunk) |
| Keywords: | pj_factors, projects.h, g.region, convergence angle | Cc: |
Description
Hi,
wrt OSGeo4W bug # 34 ( https://trac.osgeo.org/osgeo4w/ticket/34), pj_factors() is currently housed in projects.h which is apparently supposed to be a private header file.
If projects.h goes away, we need a public way of getting at pj_factors(), or an alternate way for end-user apps to get at the convergence angle value. As an example, the code in question is GRASS's g.region/printwindow.c:
https://trac.osgeo.org/grass/browser/grass/trunk/general/g.region/printwindow.c#L586
FWIW the method I used to get at fact.conv was directly inspired by the code for the proj -v executable.
to avoid any gaps it would be best if this could happen before projects.h was removed from the install.
thanks, Hamish
