Replies: 4 comments 3 replies
-
|
It looks like the ballpark setting is one of the new supported I'm less clear on the timestamp – is it part of the |
Beta Was this translation helpful? Give feedback.
-
|
@lucasw #226 and #227 have some progress on this: #226 allows you to add epoch metadata (e.g. Pyproj uses a slightly different API than the |
Beta Was this translation helpful? Give feedback.
-
|
It may be different To ensure that the transformation pipeline is using grids when they're available for a given transform you can use the Something like (pull #227 again first to get the let wgs84 = Proj::new("EPSG:6319").unwrap();
let to = Proj::new("EPSG:7912").unwrap();
let epoch = 2021.3;
let with_epoch = to.coordinate_metadata_create(epoch).unwrap();
let mut builder = ProjBuilder::new();
builder.enable_network(true).unwrap();
// Disable caching to ensure we're accessing the network.
builder.grid_cache_enable(false);
let transformer = builder
.proj_create_crs_to_crs_from_pj(&from, &with_epoch, None, None)
.unwrap();
let result = transformer
.convert(MyPoint::new(4760096.421921, 3744293.729449))
.unwrap();I don't know whether there's a grid available for that transformation pair, but worth trying. |
Beta Was this translation helpful? Give feedback.
-
|
This functionality is now available in v0.30.0, released today, so I'm going to close this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With pyproj Transformer I had this:
and then providing the year (with a fractional component in
tt_year:In rust
I think it's using 'right now' internally as the year time, if I make the python use right now the output seems very close. But can I craft a proj string or do something else to be able to input the time in rust? (matching the allow_ballpark would be desirable as well)
Beta Was this translation helpful? Give feedback.
All reactions