|
103 | 103 | " f\"{SHARED_GCS}all_roads_2020_state06.parquet\",\n",
|
104 | 104 | " filters=[(\"MTFCC\", \"in\", road_type_wanted)],\n",
|
105 | 105 | " columns=[\"LINEARID\", \"geometry\", \"FULLNAME\"],\n",
|
106 |
| - " ).to_crs(geography_utils.CA_NAD83Albers)\n", |
| 106 | + " ).to_crs(geography_utils.CA_NAD83Albers_m)\n", |
107 | 107 | "\n",
|
108 | 108 | " # If a road has mutliple rows but the same\n",
|
109 | 109 | " # linear ID, dissolve it so it becomes one row.\n",
|
|
238 | 238 | " .drop_duplicates()\n",
|
239 | 239 | " )\n",
|
240 | 240 | "\n",
|
241 |
| - " stops = stops.set_crs(geography_utils.CA_NAD83Albers)\n", |
| 241 | + " stops = stops.set_crs(geography_utils.CA_NAD83Albers_m)\n", |
242 | 242 | "\n",
|
243 | 243 | " # Buffer each stop by 50 feet\n",
|
244 | 244 | " stops = stops.assign(buffered_geometry=stops.geometry.buffer(50))\n",
|
|
287 | 287 | " \"\"\"\n",
|
288 | 288 | " gtfs_shapes = helpers.import_scheduled_shapes(date).compute().drop_duplicates()\n",
|
289 | 289 | "\n",
|
290 |
| - " gtfs_shapes = gtfs_shapes.set_crs(geography_utils.CA_NAD83Albers)\n", |
| 290 | + " gtfs_shapes = gtfs_shapes.set_crs(geography_utils.CA_NAD83Albers_m)\n", |
291 | 291 | "\n",
|
292 | 292 | " trips = (\n",
|
293 | 293 | " helpers.import_scheduled_trips(date, (), [\"name\", \"shape_array_key\"])\n",
|
|
0 commit comments