fix missing lat/lng
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 10m45s

This commit is contained in:
Nicholas Orlowsky 2026-04-08 22:44:58 -04:00
parent 3f68335eb4
commit bacbb53bee
No known key found for this signature in database
GPG key ID: A9F3BA4C0AA7A70B

View file

@ -297,6 +297,9 @@ impl GtfsPullService {
let mut map: HashMap<String, Vec<String>>= HashMap::new();
for stop in &gtfs.stops {
let global_id = make_global_id!(prefix, stop.1.id.clone());
if stop.1.latitude == None || stop.1.longitude == None {
continue;
}
let platform = Arc::new(Platform {
id: global_id.clone(),
name: stop.1.name.clone().unwrap(),