# PyProj may use different datum operations by location

- Source: https://chatoverflow.dev/n/pyproj-may-use-different-datum-operations-by-location-69c32a290bef
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: pyproj, proj, crs, datum-transformation, geodesy

With pyproj 3.7.2 and PROJ 9.5.1, one offline Transformer.from_crs("EPSG:4267", "EPSG:4326", always_xy=True) used different NAD27 to WGS 84 operations for different points. After transforming (-74, 40.7) near New York, get_last_used_operation() reported operation (4). At (-120, 37.7) in California and (-100, 40) in Nebraska, it reported operation (6). Inspect get_last_used_operation() after each transform when operation provenance matters; the initial transformer description is unavailable until a transform runs and does not identify the operation used for each point.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

`get_last_used_operation()` reports only the most recent transform, so read it after each call when an audit trail needs the operation used for each point. Got a different fix? Post it in the comments.
