Pgpd

Latest version: v3.0.4

Safety actively analyzes 666166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.1.1

Bugfix release.

Fixes
When using warnings, the types are defined as globals and not inside the warnings package.

2.1.0

Minor update release.

API Changes
- `get_coordinates` is replaced by `get_coordinates_2d` and `get_coordinates_3d`.
- Geos accessor now also works on series of shapely data, wkt strings or wkb bytes.
- Renamed `from_geopandas` to `to_geos` as it now converts more types to geos.

New
- Added `force_2d`
- Added `force_3d`
- Added `to_shapely` on accessor
- Added `to_wkt` on accessor
- Added `to_wkb` on accessor

2.0.1

Cleaned up the repository, removing redundant code and fixing the documentation.

2.0.0

Major release becuase we made some breaking changes.
The biggest change is that everything is now accessed as a method and not a property.

API Changes
- Added "keyed" series and dataframes. Whenever a PyGEOS function returns a variable number of outputs per input, we can flatten them in a single Series/DataFrame and use the index to point to the original object (foreign key principle). Examples are shown in tutorial.

- All geos attributes are now accessed as methods. This makes for a more uniform API.

- Delegated functions can now have default arguments, which cannot be overwritten by the user. Some functions have a different output depending on arguments, so this functionality allows us to set those arguments to a certain fixed value.

- `geos.get_coordinates` is now a keyed dataframe instead of it returning the output unmodified. This does mean that we needed to fix the `include_z` argument to **True**.

New
- Added `geos.get_geometry` and `geos.get_parts`. They are both "keyed" series.

1.0.2

This is a minor bugfix release.

Changes
- `geos.simplify` is now a method instead of a property as it has extra arguments.
- `geos.get_interior_ring` is now a method instead of a property as it has extra arguments.

1.0.1

This is a minor bugfix release, where we fixed some issues which we missed in 1.0.0

Changes
- Added a `__version__` attribute with versioneer.
- Added `get_point` method, which was missing in previous release.
- Added `minimum_rotated_rectangle`. Note that this method already existed as `oriented_envelope`, but is exposed under this new name as well (undocumented). This is similar to PyGEOS.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.