Skip to content

add geoJSON input for Priority Bounds on challenge create/edit form#2728

Merged
CollinBeczak merged 3 commits into
mainfrom
add-geoJSON-input-for-Priority-Bounds-on-challenge-create/edit-form
Oct 10, 2025
Merged

add geoJSON input for Priority Bounds on challenge create/edit form#2728
CollinBeczak merged 3 commits into
mainfrom
add-geoJSON-input-for-Priority-Bounds-on-challenge-create/edit-form

Conversation

@CollinBeczak

Copy link
Copy Markdown
Collaborator

This pr allows users to make polygons for the task priority bounds feature using json.

Screenshot 2025-10-02 at 4 54 01 PM Screenshot 2025-10-02 at 4 54 25 PM [file].json layout:
{
  "features": [
    {
      "type": "Feature", 
      "geometry": { 
        "type": "Polygon", 
        "coordinates": [
          [
            [lng,lat],
            [lng,lat],
            [lng,lat],
            [lng,lat],
            ...
          ]
        ]
      }
    },
   {
      "type": "Feature", 
      "geometry": { 
        "type": "Polygon", 
        "coordinates": [
          [
            [lng,lat],
            [lng,lat],
            [lng,lat],
            ...
          ]
        ]
      }
    },
    ...
  ]
}

Comment thread src/components/Custom/RJSFFormFieldAdapter/CustomPriorityBoundsField.jsx Outdated
Comment thread src/components/Custom/RJSFFormFieldAdapter/CustomPriorityBoundsField.jsx Outdated
Comment thread src/components/Custom/RJSFFormFieldAdapter/CustomPriorityBoundsField.jsx Outdated
Comment thread src/components/Custom/RJSFFormFieldAdapter/CustomPriorityBoundsField.jsx Outdated
…cks using turf and geojson-validation libraries. Updated error handling

@jake-low jake-low left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for making those changes.

@CollinBeczak CollinBeczak merged commit a9c69ab into main Oct 10, 2025
6 checks passed
@CollinBeczak CollinBeczak deleted the add-geoJSON-input-for-Priority-Bounds-on-challenge-create/edit-form branch October 10, 2025 08:32
@CollinBeczak CollinBeczak mentioned this pull request Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants