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

API to get the meta-data of Greyhound server #46

Closed gbivins closed 7 years ago

gbivins commented 7 years ago

Greyhound is pretty awesome! I'm attempting to understand how I can go about writing a new client for it but I ran into a snag. If I know the location of a greyhound server, I would like to be able to query things about the server without having to query the actual data it's serving. For instance, how do I know what point clouds are being hosted there? Is there an API to query things like:

Is there an existing API like this? I looked at the js file and didn't see anything obvious but I'm not all that familiar with js app dev.

connormanning commented 7 years ago

There's currently no capability for listing available resources within Greyhound (although it has long been requested - see #26). It's feasible that it could be added, although I'm unsure how it should work if Greyhound were configured with external authentication, in which case you wouldn't really want to expose all of the available resource names. The current mindset is that people building applications around Greyhound would build this functionality into their application rather than Greyhound itself.

gbivins commented 7 years ago

Ok. So my "indexed" data resides somewhere known and I point greyhound at it. My app would use some other API/service that knows more info about the "indexed" data to get the meta data I'm interested in. Am I thinking about this correctly now?

connormanning commented 7 years ago

Yes that's the current model. If you can, feel free to share some information about your application - it always helps to know how people are using things for decisions going forward.

gbivins commented 7 years ago

I'm basically trying to set this up on a cluster backed by AWS via dcos .
Now that I have a better idea of the intended use of greyhound, I think my real problems are with the entwine setup/config.