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

Identify geojson file types #8262

Merged
merged 2 commits into from
Nov 30, 2021
Merged

Conversation

kaitlinnewson
Copy link
Contributor

@kaitlinnewson kaitlinnewson commented Nov 30, 2021

What this PR does / why we need it:

Mark .geojson files with the correct file type, and add the GeoJSON display name.

Which issue(s) this PR closes:

Closes #8261

Suggestions on how to test this:

Upload a .geojson file and confirm the file type/content type is set correctly. An example file is linked in the issue.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No

Is there a release notes update needed for this change?:

Based on #5934 and #7502, I think a full re-index is needed to update the facets, as well as optionally running the "redetect file type" API on existing GeoJSON files.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

Looks good. Heads up to @kaitlinnewson that I added a release note.

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.

GeoJSON files marked as "Unknown"/"application/octet-stream"
4 participants