fix missing lat/lng
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 10m45s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 10m45s
This commit is contained in:
parent
3f68335eb4
commit
bacbb53bee
1 changed files with 3 additions and 0 deletions
|
|
@ -297,6 +297,9 @@ impl GtfsPullService {
|
|||
let mut map: HashMap<String, Vec<String>>= HashMap::new();
|
||||
for stop in >fs.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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue