[Bug] CSV import geojson
See original GitHub issueDescribe the bug 2 related bugs actually:
~~1) CSV import is broken when a column is defined as geojson
.
More specifically, when trying to upload a CSV with a geojson
column with Linestring
geometries included. An example can be found in issue https://github.com/keplergl/kepler.gl/issues/736~~
- When one the values of this
geojson
column is empty, kepler fails to ‘ignore’ these empty values and crashes. We get aTypeError: Cannot read property 'geometry' of null error
in the console (see screenshot)
It all used to work in the past though, somewhere short after v1.0.0 Seems like regression bugs for CSV import to me.
Expected behavior
When importing CSV with geojson
columns, I expect it to be uploaded correctly
Screenshots Screenshot for problem nr.2:
Desktop (please complete the following information):
- OS: MacOS Mojave
- Browser Brave
- Version Version 0.70.122 Chromium: 78.0.3904.87 (Official Build) (64-bit)
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Import CSV with Embedded GeoJSON Geometry in ARCGIS
I have a CSV file with an embedded GeoJSON geometry in a column. See screen capture. I have tried some online CSV to...
Read more >How to fix datasets in question to import .csv or geoJSON into ...
csv dataset into Mapbox, but I keep receiving the error: "Input failed. Latitude and Longitude fields are not present." The fields however are ......
Read more >Importing issues csv or json - Atlassian Community
2 answers. Hi Paulina, Import issues using CSV would be the more preferable option. For this,
Read more >How to use the GeoJSON import and export feature (archive ...
How to convert CSV to GeoJSON · Go to http://www.convertcsv.com/csv-to-geojson.htm · Select your CSV input file: · If your CSV file does not...
Read more >Import GeoSpatial Data from CSV and GeoJSON File
Importing data from GeoJSON ; replace table geo_import(v varchar · 2000000 ; from local CSV file 'D:\custom.geo.json' ; = '0x01' column · = ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
merged in master
Created a PR for this case https://github.com/keplergl/kepler.gl/pull/826