Terra PPK does not correct L1 image positions.
955 20 2-1 07:10
Uploading and Loding Picture ...(0/1)
o(^-^)o
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

When using a third party base station doing ppk, how can the image positions be corrected like the laser data is? Even though the current workflow for PPK on the laser data is very janky and not a smooth process I have it down and it comes out well.  The images are not in the same project as the Terra LAS is. So the photos are (I assume) not even being looked at or adjusted in Terra. When going into Metashape or any other third party software there are no corrected images to bring in with the LAS file. You can see from the screenshot that the images are located well above the trajectory lines but also have a slight shift in the X and Y. When using a DEM created from the LAS to produce an ortho, the images are far off from the actual locations they were taken and that causes plenty of issues. Does anyone know how or if this can be corrected? From a few people I have spoken with about this there doesn't seem to be a way to PPK the images. Which would be a real problem if DJI has done this intentionally.
Screenshot 2024-02-01 085821.png


2-1 07:10
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

You must choose photogrammetry mission instead of lidar for this purpose.
2-1 09:27
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-1 09:27
You must choose photogrammetry mission instead of lidar for this purpose.

That's a good idea and I appreciate the suggestion. I just tried this with high hopes but it seems that doing anything in visible light mode requires a Terra license. DJI fails to give you the needed data from the drone to PPK the images from a third party tool. The more I use Terra the more disappointed I am with how limited it is. I don't even see an option to use the base station in the visible light mission type.  
2-1 13:31
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

The workflow is as follows:

Fly photogrammetry mission
PPK with RTKLIB, Emlid Studio, Redtool...
Process corrected images in Terra (Metashape for professional) ;)


Maybe the issue has been fixed but when you fly Lidar mission one part of EXIF data are missing in images. Anyway because of the overlap it is more appropriate to fly separate mission.
2-1 22:04
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-1 22:04
The workflow is as follows:

Fly photogrammetry mission

I have just finished testing the two types of missions using the L2 this time instead. My initial findings, and correct me if I'm wrong, is that flying a photogrammetry mission flys much faster, doesn't do the IMU calibration dances but also doesn't save any of the lidar data (even though it shows it on the RC during flight). It also doesn't seem to save the PPKraw.obs or similar files that is needed for PPK processing. Flying a typical L2 5 Return Repetitive mapping mission saves a fairly decent lidar point cloud but doesn't allow you to PPK the images either from that same flight.
2-2 09:03
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

Johnnokomis Posted at 2-2 09:03
I have just finished testing the two types of missions using the L2 this time instead. My initial findings, and correct me if I'm wrong, is that flying a photogrammetry mission flys much faster, doesn't do the IMU calibration dances but also doesn't save any of the lidar data (even though it shows it on the RC during flight). It also doesn't seem to save the PPKraw.obs or similar files that is needed for PPK processing. Flying a typical L2 5 Return Repetitive mapping mission saves a fairly decent lidar point cloud but doesn't allow you to PPK the images either from that same flight.

Yes if you choose photogrametry then it won't save lidar data.
You must have a file .OBS or something else which in reality is a .rtcm3 file.
And finaly there must be the MRK file.

I just hope that DJI doesnt decide to not produce OBS file if the RC is not connected to an NTRIP client.


2-2 11:20
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-2 11:20
Yes if you choose photogrametry then it won't save lidar data.
You must have a file .OBS or something else which in reality is a .rtcm3 file.
And finaly there must be the MRK file.

There is an .MRK file. There's also a .RTS .RTL .RTK .RPT and .RPOS. All are relatively small in size.  The only .obs file is the one from the base station that I had to add and rename. Why does DJI feel the need to intentionally handicap their products so much?
2-2 14:01
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

Johnnokomis Posted at 2-2 14:01
There is an .MRK file. There's also a .RTS .RTL .RTK .RPT and .RPOS. All are relatively small in size.  The only .obs file is the one from the base station that I had to add and rename. Why does DJI feel the need to intentionally handicap their products so much?

OK, I see.  They deliberately handicap the data, I don't know why.  

You will take the .RTK file, you will change the extension to .rtcm3, then you use the convert function of Emlid Studio.  There you will obtain your OBS rover file.  

Then still in Emlid Studio, in PPK drone, you feed the two OBS rover and base files, the MRK file, you grab a NAV file on the IGS for example.  Your images will be geo-referenced.  

It remains to put everything in Metashape. Or Terra, but its not recommended at all.

Be careful because the .RTK file is the OBS of the left antenna, I am not sure of the reference of the lever arm of the payload.  The values are in the MRK file.
2-2 23:00
Use props
fanse68b7f05
lvl.3
Flight distance : 476867 ft
  • >>>
United States
Offline

You can PPK the imagery with RedCatch.  If you buy it from BAAM.tech, they'll send you a workflow guide for the L1 or L2 that includes step by step instructions for the entire start to finish process, including PPK'ing.
2-21 08:22
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

fanse68b7f05 Posted at 2-21 08:22
You can PPK the imagery with RedCatch.  If you buy it from BAAM.tech, they'll send you a workflow guide for the L1 or L2 that includes step by step instructions for the entire start to finish process, including PPK'ing.

I don't really see what redcatch (payware) will bring more, versus emlid studio which is free and does the same thing.
2-22 00:40
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

fanse68b7f05 Posted at 2-21 08:22
You can PPK the imagery with RedCatch.  If you buy it from BAAM.tech, they'll send you a workflow guide for the L1 or L2 that includes step by step instructions for the entire start to finish process, including PPK'ing.

I'm not familiar with them but It shouldn't take a third party purchase to PPK images. This is at the fault of DJI since they have done it this way on purpose. They don't want us to PPK the data anyways. They make it this difficult to encourage people to purchase and use the terrible D-RTK2. Many users don't realize third party base stations can be used. They are lead to believe that a D-RTK2 is their only choice and have never used a real base station to have anything to compare it to.   
2-22 18:16
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-22 00:40
I don't really see what redcatch (payware) will bring more, versus emlid studio which is free and does the same thing.

What still has me tripped up is the .nav file. I have converted the PPKraw.bin to a rinex but it doesn't work.  

Mainly because the converted file reads like this..

     3.04           OBSERVATION DATA    GPS(GPS)            RINEX VERSION / TYPE
cnvtToRINEX 3.14.0  convertToRINEX OPR  20240223 020529 UTC PGM / RUN BY / DATE
----------------------------------------------------------- COMMENT            
DJI_                                                        MARKER NAME         
DJI_                                                        MARKER NUMBER      
GEODETIC                                                    MARKER TYPE         
GNSS Observer       Trimble                                 OBSERVER / AGENCY   
##########          UNKNOWN             x.xx                REC # / TYPE / VERS
##########          UNKNOWN_EXT     NONE                    ANT # / TYPE        
        0.0000        0.0000        0.0000                  APPROX POSITION XYZ
        0.0000        0.0000        0.0000                  ANTENNA: DELTA H/E/N
  1980     1     6     0     0    0.0000000                 TIME OF FIRST OBS   
  1980     1     6     0     0    0.0000000                 TIME OF LAST OBS   
     0                                                      RCV CLOCK OFFS APPL
     0                                                      LEAP SECONDS        
     0                                                      # OF SATELLITES     
DBHZ                                                        SIGNAL STRENGTH UNIT
                                                            END OF HEADER      
2-22 18:22
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

Johnnokomis Posted at 2-22 18:22
What still has me tripped up is the .nav file. I have converted the PPKraw.bin to a rinex but it doesn't work.  [view_image]

Mainly because the converted file reads like this..
No worries you can download a NAV file from anywhere. It is simply the sat trajectory file. https://urs.earthdata.nasa.gov
2-22 21:20
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-22 21:20
No worries you can download a NAV file from anywhere. It is simply the sat trajectory file. https://urs.earthdata.nasa.gov

That didn't seem to work. I used the .NAV file from my base station since it covered the same time as my flight. Emlid Studio processed it but all images were tagged within a meter or so of the base itself. The purple flight lines are the PPK corrected flightlines and the green dots are the photos still in their uncorrected position. I still cannot believe DJI has gone to such lengths to make correcting their flagship L2 images this difficult.  
2-23 22:16
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

Johnnokomis Posted at 2-23 22:16
That didn't seem to work. I used the .NAV file from my base station since it covered the same time as my flight. Emlid Studio processed it but all images were tagged within a meter or so of the base itself. The purple flight lines are the PPK corrected flightlines and the green dots are the photos still in their uncorrected position. I still cannot believe DJI has gone to such lengths to make correcting their flagship L2 images this difficult.  [view_image]

You can share the folder, i will take a look.
2-23 23:30
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-23 23:30
You can share the folder, i will take a look.

Sent you a PM. Thanks
2-24 05:10
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

Johnnokomis Posted at 2-24 05:10
Sent you a PM. Thanks

Step 1/ Change .RTK file extension (located in the L2 folder) by .rtcm3 It is the observation file of the rover, here the drone itself. 1.JPG


Step 2/ Convert it to RINEX with Emlid, pay attention to choose the right date.
2.JPG

Step 3/ Open the result folder (must be located where the .rtcm3 file is). You must find one OBS (.24O) and one NAV (.24P) P is Mixed Nav, no worries if its not N.
3.JPG

Step 4/ In Emlid, Drone Data processing, as follow :
Drone : The .24O from previous conversion
Base : Your favorite Base station OBS file
Navigation : The .24P from previous conversion, or any of you favourite navigation file provider (IGS)
MRK : The MRK file from the L2 folder
5.JPG

Perfect ! Oblique pictures are in Single mode, i don't know why. Looks like it wasnt covered by the OBS file.

Step 5/ Add the L2 folder and tag pictures.
6.JPG

Step 6/ Locate the .pos file which should be near the tagged pictures folder. Copy data but not the header, then paste it in Excel.
7.JPG
8.JPG

Step 7/ Load pictures in Metashape. Export pictures tag in a csv file (This step is made to save pictures names and camera calibration data if they exist, in this case no) Paste this info in the Excel sheet. save as CSV format.
9.JPG


Step 8/ Load it in Metashape and choose Columns as they are below :
10.JPG


It will update coordinates if you use the original pictures, and add accuracy.
It's a bit of a tedious process, but it's effective!

11.JPG

I find a difference of 5m vertical by staying in WGS and without using GCP, without calibrating the camera. Not too bad !
12.JPG

Could you share with me the coordinates of the GCPs so that I can check on the orthophoto?

14.JPG








2-25 14:00
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline


It is not bad at all. I applied a correction of 1.90m for 158deg.
This demonstrates the importance of GCPs, and RTK/PPK is necessary to maintain raster proportions.

With a tighter overlap and a calibration of the camera with the Metashape checkerboard it should be possible to considerably reduce the offset.

7&9.JPG

3.JPG

6.JPG

5.JPG



2-26 00:05
Use props
Johnnokomis
Core User of DJI
Flight distance : 13349895 ft
  • >>>
United States
Offline

LV_Forestry Posted at 2-26 00:05
It is not bad at all. I applied a correction of 1.90m for 158deg.
This demonstrates the importance of GCPs, and RTK/PPK is necessary to maintain raster proportions.

Your suggested workflow did perfectly. I was able to get a fix for all 88 photos. I included 2 different base observations so the one virtual base station file might have caused what you have. I haven't done the Excel spreadsheet steps yet but still happy to be this far. Screenshot 2024-02-26 090517.png
2-26 08:05
Use props
TerraVia ZM
lvl.2
Flight distance : 1009347 ft
Nigeria
Offline

LV_Forestry Posted at 2-26 00:05
It is not bad at all. I applied a correction of 1.90m for 158deg.
This demonstrates the importance of GCPs, and RTK/PPK is necessary to maintain raster proportions.

This is great LV_Forestry! Very well written and will definitely help many in the near future!
You can also convert the .RTK file with RTKLib RTKConv application.
4-18 09:41
Use props
LV_Forestry
First Officer
Flight distance : 4726654 ft
Latvia
Offline

TerraVia ZM Posted at 4-18 09:41
This is great LV_Forestry! Very well written and will definitely help many in the near future!
You can also convert the .RTK file with RTKLib RTKConv application.

Yes I am also a big fan of RTKLib Explorer. Now I find it more complicated to use so I recommend as a priority Emlid Studio which is user friendly and very up to date.
4-18 09:45
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules