FilePicker does not parse GeoJSON files

Hi Team! The FilePicker component loads JSON files without an issue, but if the file extension is .geojson (same content in the file), the data is not being parsed. Can you fix this bug as I’m hoping to accept .geojson files through the FilePicker component?

Thanks!

Hi @ilsemaj!

You are correct! The FilePicker component currently only supports parsing for JSON and CSV file types. I’ll add this as a feature request!

It does look like the component can parse GeoJSON when it’s uploaded with the .json extension, but the .geojson fails validation currently

2 Likes

@ilsemaj

You’ll be able to parse this file data in a JS Query as well:

2 Likes

Thanks for the quick turnaround on the feature request! I was able to parse it via JS query as a temporary workaround :slight_smile: