BlinkTagInc/gtfs-to-geojson

coordinates null

2803media opened this issue · 1 comments

I try with this dataset : http://transitfeeds.com/p/metropole-europeenne-de-lille/1202

With this config file

{
  "agencies": [
    {
      "agency_key": "myAgency",
      "path": "/Downloads/gtfs.zip",
      "exclude": [
        "stop_times",
        "calendar_dates"
      ]
    }
  ],
  "outputType" :"agency"
}

And I get null values in coordinates field:

{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"stop_id":"701","stop_name":"Buisson","stop_desc":"BUISSON 59115 LEERS","zone_id":"1","location_type":1,"wheelchair_boarding":0,"routes":{},"agency_name":"ILEVIA"},"geometry":{"type":"Point","coordinates":[null,null]}},{"type":"Feature","properties":{"stop_id":"686","stop_name":"Porte De France","stop_desc":"PORTE DE FRANCE 59115 LEERS","zone_id":"1","location_type":1,"wheelchair_boarding":0,"routes":{},"agency_name":"ILEVIA"},"geometry":{"type":"Point","coordinates":[null,null]}},{"type":"Feature","properties":{"stop_id":"709","stop_name":"Victor Hugo","stop_desc":"LEERS VICTOR 

Is this a projection problem?

Thanks

There was an issue in dealing with config coordinatePrecision - I pushed an update that solves this. Check out GTFS-to-geoJSON version 1.0.5.