* Add GeoSeries to_wkt and to_wkb methods
* Add hex=False kwarg to existing from_wkb functions
* Add GeoSeries from_wkt and from_wkb methods
* Add wkt, wkb, and wkb_hex kwargs to GeoDataFrame constructor
* Add GeoDataFrame to_wkt and to_wkb methods
* Remove _export_wkb method from arrow in favor of GeoDataFrame to_wkb
* Shorten line lengths to satisfy linter
* Apply black reformatting
* Remove most references to WKB hex. shapely supports it, pygeos does not.
* Remove docstring examples of GeoSeries.to_wkb and GeoSeries.from_wkb, as docstrings interpreted as source code are not allowed to contain null bytes
* Change GeoSeries from_wkb/t from staticmethod to classmethod and return using cls
* Allow GeoSeries.from_wkb/t to accept Series input, and test that
* Remove GeoDataFrame.__init__ wkt and wkb kwargs
* Use GeoSeries.from_wkt in example
* Keep index of Series passed to GeoSeries.from_wkb/t
* Apply suggestions from code review
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* Add one-liner docstring to _from_wkb_or_wkt and see also to from_wkb and from_wkt
* Reindex instead of raise ValueError when passing index to from_wkb/t with series
* Expose hex and kwargs in to_wkb/t methods
* update example
* Fix lint error
* preserve index of passed series
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>