Coder Social home page Coder Social logo

Comments (4)

tomkralidis avatar tomkralidis commented on August 17, 2024

@supermaro84 thanks for the report. Can you provide a test case/test data which we can reproduce locally?

from pygeoapi.

supermaro84 avatar supermaro84 commented on August 17, 2024

Hi @tomkralidis.
Thanks for quick reply.
I have created a process plugin with inputs defined as 'inputs': {
'features': {
'title': 'features',
'description': 'Description.',
'minOccurs': 1,
'maxOccurs': 1,
'schema': {
'type': 'object'
}}
},

Then a json such as :
{"inputs":{"features":[{"attributes":{"latitude":63.4,"longitude":8.7,"objectId":1}},{"attributes":{"latitude":63.4,"longitude":8.7,"objectId":1}}]
}}
the list with features works with length of 86 but it crashes with 87. I could shorten the latitude element and it works. So definitely there must be a length limit.
For testing purposes the objects in the features lists are identical.

from pygeoapi.

tomkralidis avatar tomkralidis commented on August 17, 2024

Can you provide a full test case to test further (this includes a minimal Python process and a sample payload). Similar use cases work fine with much larger payloads.

from pygeoapi.

supermaro84 avatar supermaro84 commented on August 17, 2024

Hello. Sorry for late response but I have resolved this issue. It turned out that a method implemented in custom prosessor class was called and failed (due to failing request to external service). Sorry for this confusion. But i guess that this error would probably need to be intercepted. Thanks for help anyway.

from pygeoapi.

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.