Skip to main content
johnrellis
Legend
Dec 31, 2019 4:33 AM UTC
Released

P: SDK: catalog:findPhotos() criterion "depthMap" doesn't work

The boolean criterion "depthMap" for catalog:findPhotos() doesn't work. It always returns an empty array, for both "isTrue" and "isFalse".





This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

johnrellis
Legend
Apr 26, 2021 11:34 PM UTC

Not a bug after all. There's a missing operand "value = true" -- it should be:

catalog:findPhotos {searchDesc = {
    criteria = "depthMap", 
    operation = "isTrue", 
    value = true}}

It's not documented, but all criteria with the "isTrue" and "isFalse" operations require "value = true".

Translate
Sunil_Bhaskaran
Inspiring
Jan 2, 2020 3:37 AM UTC
Thanks for letting us know, John.
We will look into this.

Thanks,
Sunil
Translate