Git Product home page Git Product logo

Comments (3)

mmcfarland avatar mmcfarland commented on May 14, 2024

Thanks for this report @m-mohr. I can confirm that search parameters on the /item endpoint are not currently working as expected. Note for you or others trying to use this GET syntax while we investigate a fix, that the GET /search endpoint is working as expected, e.g.:

https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=sentinel-2-l2a&datetime=2022-04-30T00:00:00Z/2022-05-30T00:00:00Z&limit=12

from planetary-computer-apis.

mmcfarland avatar mmcfarland commented on May 14, 2024

@m-mohr After looking into this behavior, search params on the {collection}/items endpoint are optional per the STAC specification and the feature is not currently implemented in stac-fastapi. For now, we're likely to invest in improvements to CQL2 variants on the /search endpoint but may get this feature if there's a contribution to the upstream project.

from planetary-computer-apis.

m-mohr avatar m-mohr commented on May 14, 2024

As you are exposing the conformance class http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core, bbox and datetime are not optional as per the OGC API - Features spec.
But indeed, that's an upstream issue: stac-utils/stac-fastapi#380

from planetary-computer-apis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.