hotosm / fmtm

Field Mapping Tasking Manager - coordinated field mapping.
https://fmtm.hotosm.org/
GNU Affero General Public License v3.0
47 stars 46 forks source link

Task splitting algorithm fails to split tasks when osm data extracts is selected #1177

Closed manjitapandey closed 8 months ago

manjitapandey commented 9 months ago

Describe the bug The tasks splitting algorithm fails if default osm data extract is selected. 500 internal server error is shown on network panel.

To Reproduce Steps to reproduce the behavior:

  1. Go to create project step 4
  2. Select osm data extract option
  3. select Task splitting algorithm
  4. See error

Expected behavior Smooth task splitting and project creatiion

Screenshots image

manjitapandey commented 9 months ago

I get error on selecting upload custom boundary and default osm data extracts.

image

spwoodcock commented 9 months ago

This may be because the data doesn't exist in raw-data-api yet (I could be wrong).

Where in the world is the area?

spwoodcock commented 9 months ago

Ah looks like Nepal, so nevermind! (data should be present)

manjitapandey commented 9 months ago

Hello, @spwoodcock , Have you got some initial findings about this issue? I am unable to create project, causing this issue to be somewhat urgent.

spwoodcock commented 9 months ago

Hi @manjitapandey , thanks for the prompt! I'm working on these data extract issues currently.

The data extract flow needed a significant overhaul, as it is currently generating extracts twice, not filtering, and not storing the final extract properly.

The work involves some updates to osm-rawdata too. I will make a PR for FMTM today that fixes it.

manjitapandey commented 8 months ago

@spwoodcock , I still encountered the issue of 500 on both splitting using splitting algorithm and dividing on square. image

manjitapandey commented 8 months ago

This is the file I used as AOI. 20.zip