Skip to content

There are many gaps in the final generated voronois, leading to 'null' responses when querying certain coords #36

@DanielJDufour

Description

@DanielJDufour

Which server

  • Dev
  • Stage
  • Prod
  • Other (please specify) During local development

Describe the bug
See steps on how to reproduce

To Reproduce

I ran the following steps after pulling down the latest dev branch

  • docker compose down -v
  • docker compose build --no-cache
  • docker compose up build

I try to create a project with the attached AOI, the following is POST'd to http://api.fmtm.localhost:7050/projects/stub?org_id=1

Image

The API returns a 500, with the following error logged in the backend/Python:

Image

Expected behavior
Project creation works

Screenshots
See screenshots in reproduction steps

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] MacBook Pro
  • OS: [e.g. iOS8.1] MacOS
  • Browser [e.g. stock browser, safari] Chrome
  • Version [e.g. 22]

Additional context
The AOI file's filename ends in .json not .geojson, which hasn't caused issues before.

stelmo-valid.json

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions