Re: Rasterio 1.2b1


Guillaume Lostis <g.lostis@...>
 

Hi Sean,

Thanks a lot for this upcoming release, I am really looking forward to using some of its new features!

Out of interest, the 1.2b1 wheels do not seem to be lighter than the 1.1.8 wheels even though they do not contain PROJ data. Is that because on the other hand GDAL 3.2.0 and/or PROJ 7.2.0 are heavier than their counterparts from release 1.1.8?

Also Sean and Alan, would you expect there to be problems if I were to have pyproj<3.0.0 and rasterio>=1.2 installed in my Python environment, due to their different PROJ versions, or would that still work OK?

Best,

Guillaume

On Tue, Dec 15, 2020 at 6:59 PM Alan Snow <alansnow21@...> wrote:
Thanks for working on this Sean!

I verified that PROJ_NETWORK=ON works with a basic test:

rio_geom.py:
from rasterio.warp import transform_geom

geometry = [
{
"type": "Polygon",
"coordinates": [
[
[-94.07955380199459, 41.69085871273774],
[-94.06082436942204, 41.69103313774798],
[-94.06063203899649, 41.67932439500822],
[-94.07935807746362, 41.679150041277325],
[-94.07955380199459, 41.69085871273774],
]
],
}
]


print(transform_geom("+proj=latlon", "+proj=utm +zone=10 +datum=NAD27", geometry))

$ python rio_geom.py
[{'type': 'Polygon', 'coordinates': [[(2914912.501340564, 5039833.18814224), (2916474.3810722474, 5040429.817378172), (2916971.9920050735, 5039127.068439782), (2915410.0220987815, 5038530.542053506), (2914912.501340564, 5039833.18814224)]]}]
$ PROJ_NETWORK=ON python rio_geom.py
[{'type': 'Polygon', 'coordinates': [[(2914912.2992929644, 5039834.208342302), (2916474.1765534407, 5040430.837641376), (2916971.7831669645, 5039128.087552843), (2915409.815547156, 5038531.561302773), (2914912.2992929644, 5039834.208342302)]]}]

Join main@rasterio.groups.io to automatically receive all group messages.