Skip to content

Commit

Permalink
[Fixes #77] Add CSV handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Feb 14, 2023
1 parent 8934a13 commit a01a41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importer/handlers/csv/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CSVFileHandler(BaseVectorFileHandler):

@property
def supported_file_extension_config(self):
return {"id": "csv", "label": "CSV", "format": "archive", "ext": ["csv"]}
return {"id": "csv", "label": "CSV", "format": "vector", "mimeType": ["text/csv"], "ext": ["csv"], "optional": ["sld", "xml"]}

@staticmethod
def can_handle(_data) -> bool:
Expand Down

0 comments on commit a01a41e

Please sign in to comment.