Point cloud data to CF-NetCDF #307
Replies: 4 comments 1 reply
-
Here is what I think would be suitable when using a global coordinate system:
|
Beta Was this translation helpful? Give feedback.
-
Dear Luke @lhmarsden Your example is certainly fine in CF. Your Best wishes Jonathan |
Beta Was this translation helpful? Give feedback.
-
Yes, it's fine to use the |
Beta Was this translation helpful? Give feedback.
-
I've marked this with the |
Beta Was this translation helpful? Give feedback.
-
Question
I am trying to write a program to convert point cloud data to CF-NetCDF.
What is a point cloud?
Imagine you have a structure - this could be a man-made structure like a building or a natural structure like a valley. A point cloud is a set of data points that repsent the 3D shape of that structure.
Point clouds in CF-NetCDF
There are different ways to represent the coordinate system of a point cloud. For natural structures a global coordinate system is often used (latitude, longitude, elevation). I envisage that this type of data would be quite easy to store in a CF-NetCDF file, using one dimenion (a counter for each point) and variables for latitude, longitude, elevation.
But what about coordinate systems relative to some known coordinate - e.g. X, Y Z coordinates relative to the location of the scanner or some other user-defined location?
Of course we could encourage people to use global coordinate systems. However, sometimes the data are very high resolution (e.g. 1 mm) and scanned objects can be very small. I suspect it will be more efficient to use an X, Y, Z coordinate system relative to some reference point.
Question: What is the best practice for using X, Y, Z coordinate systems relative to a defined point in CF-NetCDF? Consider that the files could be large, and storing latitude and longitude for every point might not be desirable.
Ideally the direction of X or Y should be defined too.
Beta Was this translation helpful? Give feedback.
All reactions