Skip to content

Commit

Permalink
Fix stop location
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoutigeWolf committed Nov 4, 2024
1 parent e7e3df8 commit 3faef6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/GTFS/stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def parse(cls, **kwargs) -> "StopGTFS":
id = kwargs["stop_id"],
code = kwargs["stop_code"],
name = kwargs["stop_name"],
location = WKTElement(f"POINT({kwargs['stop_lat']}, {kwargs['stop_lon']})", srid=4326), # type: ignore
location = WKTElement(f"POINT({kwargs['stop_lat']} {kwargs['stop_lon']})", srid=4326), # type: ignore
type = kwargs["location_type"] and LocationType(int(kwargs["location_type"])),
parent_id = kwargs["parent_station"],
timezone = kwargs["stop_timezone"],
Expand Down

0 comments on commit 3faef6f

Please sign in to comment.