Hi dev,
I navite install opendronemap done. i can run build map ok, but when i debug , this have a bug like this:
ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
ERROR 1: PROJ: proj_create: unrecognized format / unknown name
ERROR 1: PROJ: proj_create: unrecognized format / unknown name
Traceback (most recent call last):
File “/home/trand/Desktop/build_map/ODM-3.1.0/stages/odm_app.py”, line 117, in execute
raise e
File “/home/trand/Desktop/build_map/ODM-3.1.0/stages/odm_app.py”, line 81, in execute
self.first_stage.run()
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/types.py”, line 398, in run
self.next_stage.run(outputs)
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/types.py”, line 398, in run
self.next_stage.run(outputs)
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/types.py”, line 398, in run
self.next_stage.run(outputs)
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/types.py”, line 377, in run
self.process(self.args, outputs)
File “/home/trand/Desktop/build_map/ODM-3.1.0/stages/run_opensfm.py”, line 32, in process
octx.setup(args, tree.dataset_raw, reconstruction=reconstruction, rerun=self.rerun())
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/osfm.py”, line 329, in setup
self.write_reference_lla(reconstruction.georef.utm_east_offset, reconstruction.georef.utm_north_offset, reconstruction.georef.proj4())
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/osfm.py”, line 561, in write_reference_lla
lon, lat = location.transform2(CRS.from_proj4(proj4), longlat, offset_x, offset_y)
File “/home/trand/Desktop/build_map/ODM-3.1.0/opendm/location.py”, line 60, in transform2
return transformer(from_srs, to_srs).TransformPoint(x, y, 0)[:2]
File “/home/trand/anaconda3/envs/opendronemap/lib/python3.8/site-packages/osgeo/osr.py”, line 946, in TransformPoint
return _osr.CoordinateTransformation_TransformPoint(self, *args)
TypeError: Wrong number or type of arguments for overloaded function ‘CoordinateTransformation_TransformPoint’.
Possible C/C++ prototypes are:
OSRCoordinateTransformationShadow::TransformPoint(double [3])
OSRCoordinateTransformationShadow::TransformPoint(double [4])
OSRCoordinateTransformationShadow::TransformPoint(double [3],double,double,double)
OSRCoordinateTransformationShadow::TransformPoint(double [4],double,double,double,double)
Process finished with exit code 1
anyone ever try debug opendronemap? can you help me ?
Thank you,
TraDinh