rgeo / rgeo-proj4

Proj4 extension for rgeo.
MIT License
13 stars 14 forks source link

Fix #19 Introduce `CRSToCRS` class #20

Closed x4d3 closed 2 years ago

x4d3 commented 2 years ago

In newer versions of proj, you need to create a crs_to_crs projection and then transform coordinates with that, whereas in older versions you would pass 2 separate CRS's into the transform function.

This PR:

Fix #19

x4d3 commented 2 years ago

@keithdoggett I've moved crs_to_crs to its own file, but of course feel free to reorganise as you see fit :)

x4d3 commented 2 years ago

@keithdoggett @BuonOmo I've applied your comment and rebased the PR. Please have another review.

keithdoggett commented 2 years ago

Thanks for the work @x4d3! I'll get a release out with this soon.

keithdoggett commented 2 years ago

This has been released as part of 3.1.0