Projects array of geometries.
(geoms, proj_string)
| 144 | |
| 145 | |
| 146 | def project_geoms(geoms, proj_string): |
| 147 | """Projects array of geometries.""" |
| 148 | in_coords = shapely.get_coordinates(geoms) |
| 149 | pj_coords = project(in_coords, proj_string=proj_string) |
| 150 | return shapely.set_coordinates(geoms.copy(), pj_coords) |
| 151 | |
| 152 | |
| 153 | def meridian(longitude, lat_min, lat_max): |