Skip to content
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

Many import errors from modules being renamed (e.g. GEO -> geo), but imports not using the new name #53

Open
chriskilding opened this issue Jun 27, 2022 · 0 comments

Comments

@chriskilding
Copy link

When running Ortho4XP from the dev branch (latest commit), the first phases of building a tile succeed (Assemble vector data, Triangulate 3D Mesh, Draw water masks), but the Build Imagery/DSF phase fails due to import errors...

The problem seems to be that lots of modules were renamed, but when functions from these modules are imported, some of the imports still use the old name of the module. This cannot resolve, so an import error arises.

(For example, dsf.py uses GEO.wgs84_to_orthogrid, but since the module was renamed to geo, the code needs to use geo.wgs84_to_orthogrid instead.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant