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
Rename OBS-API to 4D-API #597
Comments
@busstoptaktik I think you're the only one that have actively been using the name "obs api", so this is probably not a very big deal. I simply regard the API in
I'd prefer to keep it as is: It's simple and matches the namespace of the functions in the API.
+1
That shouldn't be that difficult to change, no?
That would be nice. Any idea how much? :-) Are you planning on changing the name of |
Probably not much. It's 3 small improvement steps:
I intend to change it to One might argue that the same confusion could be expected regarding On the other hand, I liked the IRIX OS and the SGI 1990s Indy, Indigo, Octane, etc hardware, and wouldn't mind seeing a bit of PROJ.4 retrocomputing taking place, which would be in favour of |
(Apparently I hit "Close and comment", rather than "Comment" on this. It's not done yet :-) |
To talk about something, it needs a name, so the "new geodetic API" got the name OBS-API, since it was based on the OBServation data type.
As most of the problems the OBS data type was intended to solve has now found other, and more elegant, solutions, the COORDinate data type is really the workhorse of the OBS API. So we may very well discourage the use of PJ_OBS, pj_fwdobs, pj_invobs, etc, even before it appears in an official release.
As it is probably better anyway to have an API name that relates to the core functionality exposed by the API, rather than the data type it happens to leverage, I propose we change the name of the API to the PROJ.4 4D-API.
We can leave the header name as is, or change it to proj4d.h if that is better (I think @rouault once mentioned a SGI 1990s system header with the proj.h-name, so changing to proj4d.h would make it easier for the SGI nostalgia crowd, to run PROJ.4 on their aging Octanes :-) ).
proj_obs, proj_trans_obs, proj_transform_obs, and PJ_OBS should go from the surface of the API. They cannot go (immediately) from the library, though, as they are used as workhorses for the COORD style functions.
Eventually ridding PROJ.4 of the PJ_OBS data type would, however, offer a slight speed advantage.
The text was updated successfully, but these errors were encountered: