mapbox / csv2geojson

magically convert csv files to geojson files
http://mapbox.github.io/csv2geojson/
MIT License
362 stars 82 forks source link

Faulty conversion of csv to geojson #60

Open pallyra1 opened 6 years ago

pallyra1 commented 6 years ago

Hi,

I am getting a faulty conversion whne I convert csv file to geojson. I have got a csv file from .pcd file which contains lat, long, alt. I want to convert the csv file to geojson. the geometry field in geojson file is NULL. I am including a small portion of the geojson file.

Please help

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "   ": "0.488573 0.18476 -0.594612 3819609"
      },
      "geometry": null
    },
    {
      "type": "Feature",
      "properties": {
        "   ": "0.482611 0.18281 -0.588335 3884889"
      },
      "geometry": null
    },
    {
      "type": "Feature",
      "properties": {
        "   ": "0.480358 0.18226 -0.586565 3884629"
      },
      "geometry": null
    },
chdean commented 6 years ago

Could you post a sample of your CSV?

miklb commented 7 months ago

I experienced this issue and my problem was I used long instead of lon at the CLI.