Skip to content

Commit

Permalink
add ca_transit_stops ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanychu90 committed Feb 3, 2025
1 parent b0a2b1d commit 3f0aed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open_data/create_stops_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def add_distance_to_state_highway(
orig_crs = stops.crs

shn = catalog.state_highway_network.read()[
["geometry"]].to_crs(geography_utils.CA_NAD83Albers).geometry.iloc[0]
["geometry"]].to_crs(geography_utils.CA_NAD83Albers_m).geometry.iloc[0]

stops = stops.to_crs(geography_utils.CA_NAD83Albers)
stops = stops.to_crs(geography_utils.CA_NAD83Albers_m)

stops = stops.assign(
meters_to_shn = stops.geometry.distance(shn).round(1)
Expand Down

0 comments on commit 3f0aed6

Please sign in to comment.