* DOC: document contextily layers functionality
* DOC: restructured background map example
- Explain CRS matching better
- Renamed projected df
- Add sections to better reflect that projecting to mercator is not
mandatory
- Change the sections title levels to match other examples of the
gallery
* DOC: reduced line length in md
* DOC: remove last empty cell from basemap example
* DOC: set_axis_off method in user guide
Added tiny section in User Guide - Mapping and plotting tools called Other map customization. This section covers the set_axis_off method. #524
* Update User Guide - Mapping and Plotting Tools
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* Update mapping.rst
* Update doc/source/docs/user_guide/mapping.rst
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* DOC: fix typo in contributing section
* DOC: make minor changes in 'Updating the Doc' section
* DOC: remove whitespace
Co-authored-by: Andreas Eliasson <andreas.eliasson@geodata.no>
* 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>
* WIP: Added check to GeoDataFrame.explode() to see if it should fall back to the default pandas method of the same name
* Will geometrically explode if the column dtype is geometry, and defaults to active geometry column if left as None
* changed type check to isinstance
* moved explode() definition from GeoPandasBase to GeoSeries
* Removed ignore_index from explode() args
* cleanup
* black
* skipif
* skipif pandas 024
* added test for epxlode pandas fallback when column param is provided as arg instead of kwarg
* Using assert_geodataframe_equal instead of assert_frame equal and test column param supplied as arg or kwarg in both cases per function (ignore_index=True or False)
* blacken + docs
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* ENH: Add estimate_tum_crs method to GeoSeries and GeoDataFrame
* Add examples & expect release in 0.9
* undo changes in CI
* Update geopandas/geoseries.py
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* pytest.mark.skipif
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* Update geopandas/geodataframe.py
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* more skipif
* use pyproj to transform bounds
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* Allow for more general file-like objects to be used when opening files.
* Add a zip scheme to a local path if it is missing on a .zip file. This
allows similar zip inference to happen for remote and local files.
* Add tests using file-like objects and for inferring zip file.
* Make fsspec an optional dep for CI.
* Handle case where windows drive names are present.
* Add test using GDAL-style vsi path.
* Try to increase test coverage a bit.
* Handle case where an archive path is included for a zip
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* Fix fiona-style path handling for zip archives.
* Remove debug log.
* Remove remote fsspec test as mostly-redundant.
* Simplify reading of bytes by using BytesCollection everywhere. At some
point it may be better to move to the more-supported
MemoryFile/ZipMemoryFile.
* Add fsspec example to the io docs.
* Slight reorg of zip scheme logic.
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>