Skip to content

Missing or wrong defaultValues for StopTimes #138

@hbruch

Description

@hbruch

Summary:
Various fields in StopTimes.java define no or wrong defaultValues in the CSVField annotation, e.g. for departureBuffer -1 is set as default, but the initialized value is 0. For all fields initialized with MISSING_VALUE, like e.g. endServiceAreaRadius, their string equivalent of -999 should be the defaultValue.

As a result, these fields are written though all values a missing.

Steps to reproduce:
Transform a GTFS feed and open StopTimes.txt. It contains e.g. the column departureBuffer with value 0, though it was unchanged and did not exist in the original feed.

Expected behavior:
No new columns are added without explicitly setting values for these.

Observed behavior:

What happened instead? Describe your issue in detail here.

Platform:
N.A.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions