question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] CSV import geojson

See original GitHub issue

Describe 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~~

  1. When one the values of this geojson column is empty, kepler fails to ‘ignore’ these empty values and crashes. We get a TypeError: 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: image

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:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
heshan0131commented, Nov 13, 2019

merged in master

0reactions
heshan0131commented, Nov 12, 2019
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found