-
Notifications
You must be signed in to change notification settings - Fork 7
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Please document converting geographic coordinate systems #7
Comments
Hi all, @solmazhajmohammadi and I were just talking about this this morning. I cannot remember, but does the gantry have a GPS system in addition to the xyz positioning system? If not, what do you all think about the possibility of putting georeferenced markers across the field (now or before sorghum planting) and using them to calibrate the xyz system? I think Solmaz has some ideas about what kind of markers we might be able to use (potentially make) for both this purpose and for camera calibration/testing. |
where is the sensor? [0,0,0] is the SW corner of the gantry system. The [x,y,z] you give is the location of a reference point on the camera box. In addition to the location of the camera box, we need the [x,y,z] offset of the specific sensor relative to the camera box reference point. @rjstrand may be able to provide some guidance (and perhaps the actual coordinates) of each sensor within the camera box |
There is an additional section in the metadata file with relevant fields ... some currently unused, and we probably need to add a field for "sensor_fixed_metadata": {
"sensor manufacturer": "Headwall Scientific",
"sensor product name": "SWIR",
"sensor serial number": "Todo",
"sensor description": "Todo",
"sensor purpose": "Todo",
"location in gantry system": "camera box, facing ground",
"location in camera box X [m]": "Todo",
"location in camera box Y [m]": "Todo",
"optics manufactuer": "Stingray optics",
"optics name": "SR-1200-030 F/1.3 0.48-2.5um",
"optics focal length [mm]": "25",
"optics focus apperture": "2.0",
"Output data format": "hypercube with preview image and additional information provided by sensor",
"Calibration available": "todo, mail to bob"
}, I've pasted the entire metadata file here: https://gist.github.com/dlebauer/b47218fc842e1e2bb46a |
@rjstrand just provided approximate field coordinates (from his cell phone GPS)
The SW Corner is the [0,0] local reference point so that North and East are positive. |
@solmazhajmohammadi not sure why this was closed, but I don't think it has been resolved. |
We will provide reference coordinates this week gantry coordinates <>GPS. Mathematically two are enough, but we will do more. Is that enough for you to derive the transformation matrix / look-up table? |
I accidentally closed this one, and reopen it here: |
In a case you need initial conversion matrix between GPS and Gantry Location you can use : Gantry_Location=S * GPS Gantry_Location=[ Gantry_y ; Gantry_x] GPS=[ Lon ; Lat ; 1] S =[ Gantry_Location=S * GPS |
Swir data with external trigger "ON" in the metadata, should be corrected. Pixel dimension is 1mm in the long axis and between 1-2mm in the short axis depends on the working distance. |
https://terraref.gitbooks.io/terraref-documentation/content/user/geospatial-information.html Conversion methods are described in detail here. |
updated description
need to describe the multiple coordinate reference systems at Maricopa
There is a lot of confusing content in these related issues:
original issue
How do we (@hmb1 and @FlyingWithJerome) convert position on a gantry sensor to geographic location?
For example, this file
$DATA/terraref/MovingSensor/SWIR/2016-03-05/2016-03-05__10-08_49_485/e2eaa60d-9f3d-4af9-9fe0-8f01731b70d5_metadata.json
contains these metadata:
Where "exactly" is x=y=z=0.0 and what approach should we use to convert offsets from that origin to absolute geographic location (lat/lon)? And, for imagery, how do we determine the location of each pixel (Sample and line in ENVI-speak) in (x,y,z) coordinates within the image whose nominal position is described (I assume) by x,y,z above?
A worked-through example would be tremendously helpful.
Thanks!
Charlie
The text was updated successfully, but these errors were encountered: