Skip to content
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
This repository was archived by the owner on Jun 22, 2026. It is now read-only.

NameError: name 'wgs84' is not defined in 1c-make-pix4d.py #11

Description

@ArunLukeDsouza

Hi again!
I've been trying to use this project on a custom aerial dataset (crop_field). I tried running 1c-make-pix4d.py with

python3 1c-make-pix4d.py crop_field

and it yielded

Traceback (most recent call last):
  File "/Users/ImageAnalysis/scripts/1c-make-pix4d.py", line 26, in <module>
    pose.make_pix4d(image_dir, args.force_altitude, args.force_heading, args.yaw_from_groundtrack)
  File "/Users/ImageAnalysis/scripts/lib/pose.py", line 229, in make_pix4d
    wgs84.geo_inverse( cur[1], cur[2], next[1], next[2] )
NameError: name 'wgs84' is not defined

Am I missing a package or dependency? I've tried looking for a workaround but didn't come across anything related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions