google / google/transit

Center coordinate or Bounding box definition in feed_info.txt

Open
#471 7 comments 0 reactions 0 assignees View on GitHub
Change type: Functional Discussion Period GTFS Schedule Status: Stale Support: Needs Feedback
Dominant language
No language data
Stars
1.1k
Forks
225
Avg merge
7d 17h
Merged PRs (30d)
3

Description

### Describe the problem

In cases where multiple GTFS files are used, each GTFS package may need a center point to focus on the area it represents on the map (e.g. city). What do you think about adding fields like
**center_lat**
**center_lon**
**default_zoom**
to the **feed_info.txt** file for this information?

### Use cases

In an application where urban travel planning is done for different cities, the first thing to do is to center the selected city on the map. This information can be kept in a separate dataset or can be pulled from the selected package since it is dependent on the list of GTFS packages.

### Proposed solution

My suggestion is to add the following fields to your feed_info.txt file:
**center_lat**
**center_lon**
**default_zoom**

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.