Giter VIP home page Giter VIP logo

Comments (2)

16EAGLE avatar 16EAGLE commented on May 27, 2024

Thank you for using and testing getSpatialData and for investigating and pointing out the paging mistake. I fixed it according to your solution (will be referenced in NEWS). An additional parameter for defining the maximum number of query results is a good idea – will implement it with one of the next commits.

from getspatialdata.

fpirotti avatar fpirotti commented on May 27, 2024

Works great, thanks for the quick fix.
I also looked for a way to add extra filters to the called URL, since my target is to get all Sentinel-1 data over intersection of a very small bounding box (1km x 1km) for the months of January and December in the past 5 years. Filtering data.frame AFTER getSentinel_query would imply downloading a very large amount of data (about 500 Sentinel-1 images per year). It took my PC 2 minutes to get the answer from ESA's servers for a one year range over the 1km2 bounds. Increasing time range and/or zooming out esponentially increases the amount of results and the time-of-retreival, making my app a bit impractical.
Filtering directly in the URL would be a solution, but ESA SciHub has two different APIs - Open Data Protocol (OData) and Open Search (Solr) and it is not possible, to my knowledge, to use a single API to filter for area intersection AND month. If I find a solution for implementing server-side filtering I will propose it. Thanks.

from getspatialdata.

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.