-
Notifications
You must be signed in to change notification settings - Fork 32
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
Possible enhancement: TRANS option for EPSG code based conversion using proj #3
Comments
Hi Tobias If EPSG:4326 can be used identically as simple lat/lon I/O, then implementing xy->latlon and latlon->xy for other needed EPSG internal models/cubes grid coordinates should work. That is, I/O would be lat/lon, while model, travel-time and location grids would be some rectangular EPSG. Some input, such as station coordinates, could also be in the same EPSG, since NLL has an XY station coordinates format (but at this point, what you are doing now with TRANS NONE seems sufficient, except that direct NLL output is not in latlon). |
Hi Anthony, I think my memory tricked me, I thought And yes, in most applications I am fine with having |
Hi Anthony, I just noticed, there seems to be support for a transverse mercator transform in |
Anthony |
We are usually using meter based coordinate systems for most of our very local to regional models. In custom applications, we simply use
TRANS NONE
and convert the output to WGS84 afterwards. I think it would be a great addition to be able to specify e.g.TRANS EPSG 31468
to let NonLinLoc know that the models/cubes are in that coordinate system and that output can be transformed usingproj
going from e.g. EPSG 31468 to EPSG 4326 (example in Python).Sadly, I'm not doing much C coding and don't know the proj C bindings and whether there are pitfalls to be aware of, otherwise I might make a pull request for it.
CC @jwassermann
The text was updated successfully, but these errors were encountered: