hobuinc / greyhound

Greyhound is a point cloud streaming server. It should be considered deprecated for now. Use Entwine and Entwine Point Tile directly if you just want to serve point cloud web services.
https://greyhound.io
Apache License 2.0
131 stars 51 forks source link

Add tile metadata API #37

Closed connormanning closed 7 years ago

connormanning commented 7 years ago

Add API to fetch metadata information related to the input files of a dataset. Using queries like /files/4, /files/tile-42.laz, /files?search=["tile-42.laz", "tile-43.laz", 314, 315], or files?bounds=[400, 400, 0, 600, 800, 200], the metadata tree captured by PDAL as well as some of Entwine's indexing metadata can be inspected.

The integer queries use the OriginId dimension inserted by Entwine, meaning that a point selection UI from a client (for example a visualizer) can display the upstream file metadata for a selected point by querying /files API with the OriginId value from the selected point.

With this capability, along with the filter capability for read queries, clients can identify the input tiles contributing to a region of interest, view their metadata, and then either go back to the original input tiles directly or reconstruct the tile data from Greyhound querying. For Greyhound reconstruction the PDAL Greyhound reader may be used.