python-mapswipe-workers icon indicating copy to clipboard operation
python-mapswipe-workers copied to clipboard

Upload Scenarios as GeoJSON - confusion about feature properties

Open danbjoseph opened this issue 2 years ago • 1 comments

  • Why is "id" a required property? It doesn't seem to be used in the tutorial creation process, is it a GeoJSON spec thing?
  • Is there a way to allow the user to set the order in the dashboard, instead of defining the order via the "screen" property on the GeoJSON features?
  • Is there a way to allow the user to set the correct answer in the dashboard, instead of defining the correct answer via the "reference" property on the GeoJSON feature? (Also, this property doesn't seem to be used right now for the validate tutorials, see https://github.com/mapswipe/mapswipe/issues/815)
  • Help text should mention the required GeoJSON property fields.

danbjoseph avatar Aug 16 '23 15:08 danbjoseph

  • The "id" is not a GeoJSON spec thing. I am not entirely sure if the "id" property is required. We were looking at the sample data for footprint and the examples had "id" property. https://raw.githubusercontent.com/mapswipe/python-mapswipe-workers/master/mapswipe_workers/sample_data/footprint/wsf_validation_tutorial_tasks.geojson
  • It should be possible to set the order in the dashboard. Although, we would need to add some UI elements to make that possible.
  • It should also be possible for the users to set the correct answer from the dashboard. The last time we checked, the reference property was indeed being used. Is the unexpected behavior specific to a type of project tutorial?
  • It should be trivial to show the required geojson property fields. Although, we should discuss how we can show this information to the user.

tnagorra avatar Aug 29 '23 15:08 tnagorra