Skip to content

Commit

Permalink
Merge pull request #8262 from kaitlinnewson/8261-geojson
Browse files Browse the repository at this point in the history
Identify geojson file types
  • Loading branch information
kcondon authored Nov 30, 2021
2 parents 2400aa9 + 32248e3 commit 521c230
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/release-notes/8261-geojson.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.geojson files are now correctly identified as GeoJSON files rather than "unknown".

A full re-index is needed to update the facets, as well as optionally running the "redetect file type" API on existing GeoJSON files.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dbf=application/dbf
dcm=application/dicom
docx=application/vnd.openxmlformats-officedocument.wordprocessingml.document
emf=application/x-emf
geojson=application/geo+json
h5=application/x-h5
hdf=application/x-hdf
hdf5=application/x-hdf5
Expand Down
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/MimeTypeDisplay.properties
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ application/x-emf=Extended Metafile
application/x-h5=Hierarchical Data Format
application/x-hdf=Hierarchical Data Format
application/x-hdf5=Hierarchical Data Format
application/geo+json=GeoJSON
application/json=JSON
application/mathematica=Mathematica
application/matlab-mat=MATLAB Data
Expand Down
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/MimeTypeFacets.properties
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ application/x-emf=Data
application/x-h5=Data
application/x-hdf=Data
application/x-hdf5=Data
application/geo+json=Data
application/json=Data
application/mathematica=Data
application/matlab-mat=Data
Expand Down

0 comments on commit 521c230

Please sign in to comment.