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
cs2cs (5.0.0-rc2) 100% CPU running rdnap tests #780
Comments
This must be related to the NTv2 file having sub-grids. The grid loading and reading code has been refactored quite a lot and the sub-grid features were not tested i think. Where can I get a copy of this grid? |
From the Debian package git repository, the files are linked in the OP as is the patch that creates the test script. |
Sorry, totally missed that. Thanks. I'll have a look at it. |
I've looked into this now. I got a segfault when trying to reproduce the above. That is fixed in #792. Hopefully it also fixes this issue. |
Add missing ! in boolean evaluation. Fixes #780.
I've included 332bf64 as a patch in the Debian package, and confirmed that fixes the issue with the proj-rdnap test script. The expected output for coordinates outside the grid has also been updated to support |
@sebastic: I'm missing context here, so just responding "just in case": Please make sure you check against |
There are a couple of test that have coordinates outside of the grid. From Use of RDTRANS2008 and NAPTRANS2008.pdf:
To not fail the build due to these tests failing to report coordinates there is special handling for the output of With proj 4.9.x the output was '*' for lat/lon and a (negative) floating point value for the height, now Verbose output of the test script for some context:
|
The proj-rdnap Debian package contains a test script which runs
cs2cs
to test the conversion using therdtrans2008.gsb
&naptrans2008.gtx
grids provided by the Dutch kadaster.Running the test script in verbose mode shows that it hangs on the first test using
cs2cs
from proj-5.0.0-rc2:Debug output of the
cs2cs
command:The text was updated successfully, but these errors were encountered: