Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal server error for density indicator #871

Open
Gigaszi opened this issue Jan 16, 2025 · 0 comments
Open

internal server error for density indicator #871

Gigaszi opened this issue Jan 16, 2025 · 0 comments

Comments

@Gigaszi
Copy link
Collaborator

Gigaszi commented Jan 16, 2025

Currently, the density indicator returns a 500 internal server error for the following request:

curl -X 'POST' \
  'https://api.quality.ohsome.org/v1/indicators/density' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "bpolys": {
    "type": "FeatureCollection",
    "features": [
      {
        "geometry": {
          "coordinates": [
            [
              [
                8.674092292785645,
                49.40427147224242
              ],
              [
                8.695850372314453,
                49.40427147224242
              ],
              [
                8.695850372314453,
                49.415552187316095
              ],
              [
                8.674092292785645,
                49.415552187316095
              ],
              [
                8.674092292785645,
                49.40427147224242
              ]
            ]
          ],
          "type": "Polygon"
        },
        "properties": {},
        "type": "Feature"
      }
    ]
  },
  "topic": "poi",
  "includeFigure": true
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant