MobilityData / gtfs-flex

NOTICE: GTFS-Flex has been merged to GTFS. This repo is no longer up-to-date and will deprecated. Consult the google/transit repo for the up-to-date info.
https://github.com/google/transit
Apache License 2.0
119 stars 24 forks source link

Flex examples geojsons are invalid #61

Closed gcamp closed 3 years ago

gcamp commented 3 years ago

They are missing the "properties" key which is required.

westontrillium commented 3 years ago

Hmm interesting... @tsherlockcraig Do you know why the "properties" key is required? https://github.com/MobilityData/gtfs-flex/blob/master/spec/reference.md#locationsgeojson-file-added

What function does it provide?

gcamp commented 3 years ago

My comment was actually about the GeoJSON spec, the key is required even if the content can be empty. Right now, the example files can't be viewed in geojson.io.

westontrillium commented 3 years ago

Aha, thanks for the catch! We're making a fix now and should have a PR up with updated examples soon.

westontrillium commented 3 years ago

@scmcca PR created! https://github.com/MobilityData/gtfs-flex/pull/64