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

feat: add geojson support on media of a form #5015

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sijandh35
Copy link

@sijandh35 sijandh35 commented Jul 16, 2024

Checklist

  1. Make sure that your code lints and that you've followed our coding style
  2. Write a title and, if necessary, a description of your work suitable for publishing in our release notes
  3. Mention any related issues in this repository (as Support For Geojson On Media Upload of a Form #5014) and in other repositories (as kobotoolbox/other#ISSUE)

Description

Added support for .geojson MIME type to allow uploading geojson files in media files when using the select_one_from_file {filename}.geojson field type in KoboToolbox forms. This resolves the validation issue that prevented the geojson file from being uploaded.

Notes

The KPI backend validation was updated to include the .geojson MIME type, which allows users to upload geojson files as media files in the Kobo form builder. This enhancement ensures that forms using the select_one_from_file {filename}.geojson field type can now properly utilize geojson files.

Related issues

Fixes #5014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support For Geojson On Media Upload of a Form
2 participants