Closed phish3y closed 2 years ago
@frantjc I agree on everything you said, lets use this ticket to make sure the API doc reflects that the header content type doesn't matter if you're using an existing storage.
Also, there's the case of the lookups where the result is JSON only and not GeoJSON. You can't chain jobs on the job output of these tasks. We should reflect that in the API doc and code. No input-of, etc for those task types.
There's a partial lie in the second paragraph above. The vecotor lookup actually does produce valid GeoJSON, so you could chain jobs on that. The raster lookup does not, however.
per discussion on Discord:
lookup
and transformation
tasks typestransformable
(e.g. transformation
task outputs), final
(e.g. lookup outputs), unknown
(e.g. user inputs that have not yet been used) and unusable
(e.g. user inputs which have been indicated as bad data from a task)lookup
or Storages whos status is final
or unusable
Also update API documentation
created https://github.com/logsquaredn/geocloud/issues/195 from this discussion, changed from question => documentation as the question has been answered...
I'd wager no; if they sent the storage, then there's only one type (
json
orzip
), and we just use thatIf they're using the output of another job, then all types are there (as of writing,
json
andzip
) and whatever we use should result in the same output. We can prioritize one if its faster than another, but I don't think the user needs to worry about what type we use.