hotosm / fmtm

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

Custom data extracts are not passed through during project creation #1172

Closed manjitapandey closed 9 months ago

manjitapandey commented 9 months ago

Describe the bug The custom data is not visible on map step 4 of project creation. No API is called for loading custom data extracts.

To Reproduce Steps to reproduce the behavior:

  1. Go to create project step 4
  2. Upload custom data extracts
  3. See error

Expected behavior custom data extract to be visible on map

Screenshots image

spwoodcock commented 9 months ago

Is the geojson valid? Perhaps it threw an error silently.

I just uploaded a custom data extract: image

Related https://github.com/hotosm/fmtm/issues/1145 (uploading flatgeobuf doesn't work properly, but geojson should)

spwoodcock commented 9 months ago

The bbox kathmandu.txt

The extract kathmandu_extract.txt

They are txt file, as geojson is not supported by github.

spwoodcock commented 9 months ago

Oops accidentally deleted my previous comment.

So data extracts are not getting passed through to the generate stage correctly - only a false value gets passed:

image

Two things to investigate: