-
Notifications
You must be signed in to change notification settings - Fork 179
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
Point Cloud Extension #157
Comments
Consider adding the following as point-cloud specific metadata:
|
Renamed issue title to 'extension' to be in line with #189 (OGC people define 'profile' as a subset, so it was even more confusing than I had thought). |
@hobu - we'd like to get at least a placeholder for a STAC content extension for point clouds, to start to garner some expert feedback to evolve it. Any advice on additional point cloud metadata we should start with? |
@hgs-msmith - would be great to make a PR for this. It does occur to me that for extensions we should maybe have some 'maturity' classification. Can perhaps be self selected, but would be good to make it clear that this extension isn't as fleshed out as the EO one in some obvious way... |
We'll get some content for you on this in a few days. To be clear, this extension is about point cloud -specific content, not generics like SRS, BBOX, processing lineage, etc? Those are all taken care of by STAC, correct? Here's a |
Awesome. I wouldn't say all of those are taken care of by STAC yet. BBOX certainly, and we're putting in a very basic provenance thing in #179 For SRS we have an EPSG code in the EO profile, which we're going to make satellite specific. Idea is to get #156 #155 #149 and this and then pull up the common ones. So do whatever is easier for you - put in everything and we can make recommendations for our 'common' ones. Or just assume some common stuff and let us know what they are. I'll also try to check out the pdal dump. |
@hobu Also, if you haven't already it's good to take a look at the EO extension, https://github.com/radiantearth/stac-spec/blob/master/extensions/stac-eo-spec.md and use the smae terms here where they are applicable to point clouds. |
heres an attempt I made. I looked at the eo: extension pattern - but more or less dumped most of the point cloud stuff into ‘properties’, without thinking too hard about what could be extracted as ‘point cloud specific’; or ‘what point cloud extension attributes should exist that I don’t use'
Looking at what might become a I made this with a catalogue of LAS/LAZ tiles in mind - and using the This is mashed together from bunch of PDAL metadata calls and pretty ugly working parts ( https://gist.github.com/adamsteer/67feb3f4c34310be65154b5fcd7a24f7 ) - I haven’t looked at the case of ‘not using PDAL to extract metadata’ yet. Hope that helps! I’ll be more or less ticking away at this over the next month and hoping to mint something we can commit to indexing lots of tiles (or a few octrees, or some mix of both) pretty soon! |
I took another swing at this. Thanks for the inspiration @adamsteer. It raises the following questions:
Here's my python that takes a pdal info --all response and emits STAC:
This ends up looking like:
|
Hi @hobu, thanks for this. EPSG codes are optional, and we figured if there wasn't a code that was fine. We really didn't want to include WKT as it just didn't seem a useful parameter to search on. At any rate the projection should be available in the datafiles or an original metadata file provided as an asset. There's no recommendations currently on thumbnail size. |
HI @hobu - thanks! I reconfigured my own code to use I need to think harder about how we need the collection/datasets thing to work (thanks @matthewhanson ) - ie what is the logical unit of which all things are children - for example a ‘survey’ (collection/dataset); which has ‘assets’ in STAC parlance of ‘LAS files’; ‘metadata records’; and ‘products’ (for example entwine or Potree derivative datasets, which represent a complete ’survey’ made of all the component files belonging to that survey) clear as mud, right? |
I started on the extension definition at https://github.com/hobu/stac-spec/tree/dev and pared down my fields for |
Hey @hobu, thanks, that is a great start. Unfortunately, it seems nobody really noticed it so far. |
PR made at #369 |
Thanks @hobu - I still think an optional field containing class/label information should be included in the |
@adamsteer but will you actually search on the classification label information/histogram? That information is slightly expensive to get and not every data source has it. About your point in chat in regard to a full boundary, PDAL 1.9 |
@hobu yes - anytime I make a point cloud metadata set I will want to search for classifications. For an example - if I want to make a map of all the tree heights in a region, I want to know whether the source points have appropriate labels and decide whether to use cheaper functions to do the task using existing labels; or develop more expensive processes to label all the points then make a tree height map. Sure, not all datasets have labelled/classified points - but where they do it’s really convenient (IMO) to be able to find out what classes exist and decide what to do next before pulling down data. The point counts per class are less important (hopefully they’re non-zero) - maybe
...or
|
Closing this, as we have the proposal extension merged in dev. |
Define metadata extension for point cloud data.
The text was updated successfully, but these errors were encountered: