Closed chadrockey closed 5 years ago
Resolved in: https://github.com/chadrockey/TGC-Designer-Tools/commit/9b00fcac3983ec340667b3785a08ad35ca73baaf
@frodaddy00 I added a pip requirements.txt file to make things easier to install. I also locked down the flakier packages (pyproj) to specific versions just in case. Oh, and pycrs is gone.
python -m pip install -r requirements.txt
It turned out that after the refactor to handle projection data from inside the lidar files themselves, I was only using pycrs to convert the "Well Known Text" projection format to get the unit multiplier of the WKT.
I also ran into situations where pyproj didn't like or didn't work well with the pycrs.to_proj4(), so I just removed the dependency entirely.
I had to find a way to get the unit, so if anyone knows how to query that for an EPSG directly, I'll update that function. Otherwise, I use pyproj's quirky preserve_units feature to figure out how far it things one unit is in meters. :)
@frodaddy00
Looks like they JUST had a new, API breaking release.
https://pypi.org/project/PyCRS/#history