Skip to content

Commit

Permalink
new CRS for statewide work in feet (#3575)
Browse files Browse the repository at this point in the history
* new CRS for statewide work in feet (old one was technically a specific State Plane zone for SoCal). temporarily ensure compatability pending package update, shouldn't break analyst code

* switch variables all at once per feedback

* update gtfs_segments dependency to 2.1.7, bump version

* try generating poetry lock on my mac, poetry lock wouldn't run on hub due to python version issue
  • Loading branch information
edasmalchi authored Jan 8, 2025
1 parent 78338fd commit 2df087c
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import shapely # type: ignore

WGS84 = "EPSG:4326"
CA_StatePlane = "EPSG:2229" # units are in feet
CA_NAD83Albers = "EPSG:3310" # units are in meters
CA_NAD83Albers_ft = "ESRI:102600" # units are in feet
CA_NAD83Albers_m = "EPSG:3310" # units are in meters

SQ_MI_PER_SQ_M = 3.86 * 10**-7
FEET_PER_MI = 5_280
Expand Down
165 changes: 158 additions & 7 deletions packages/calitp-data-analysis/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/calitp-data-analysis/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "calitp-data-analysis"
version = "2024.5.28"
version = "2024.12.6"
description = "Shared code for querying Cal-ITP data in notebooks, primarily."
authors = ["Andrew Vaccaro"]

Expand All @@ -20,7 +20,7 @@ geopandas = "^0.14.0"
requests = "^2.31.0"
dask = "~2024.5"
shapely = "^2.0.1"
gtfs-segments = "0.1.0"
gtfs-segments = "2.1.7"
pyairtable = "2.2.2"

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 2df087c

Please sign in to comment.