* 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>
* WIP: initial migration of geofeather into geopandas
* WIP: initial implementation of parquet support for geometries
* Refactored approach to retain same geometry column names
* fix CI errors
* Fix CI errors, improve test coverage
* Py2.7 CI fix for decoding binary strings
* Remove feather support (for now) and address PR comments
* Make primary geometry column more clear
* Address PR comments, allow parameter overrides
* Refactor to_paquet(), read_parquet() per PR feedback
* Migrate to column-level CRS metadata
* Refactored parqut I/O to align with latest parquet metadata spec
* Use GeometryArray in read_parquet to set crs directly
* Updated parquet I/O per PR feedback
* Update parquet I/O per PR feedback
* Fix fstrings in compat
* Undo whitespace autoformatting in .travis.yml
* Add stability warning for parquet metadata spec
* Revert pyarrow version for travis
* Add classmethod from_parquet and fix skips for pyarrow
* TEMP: add test for pandas parquet I/O for appveyor
* Add test for parquet columns parameter repeated column names
* try to fix appveyor
* add to reference
* add pyarrow to show_versins
* skip parquet tests on windows
* try again to skip parquet tests on windows
* remove from_parquet classmethod
* undo space
* Updates per metadata spec PR feedback
* Update parquet metadata to match spec, make io methods private
* Add warning for initial parquet implementation
* Add basic read / write benchmarks for parquet
* Add whitespace to make CI happy
* Ignore parquet warnings in tests except where testing the warnings
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* ENH: Add option to read subset of columns in read_file
* Add support for ignore_geometry & for geometries with __geo_interface__
* ensure duplicate columns are duplicated
* update code to only fix ignore_geometry load
* added test_read_file__ignore_all_fields
* ignore column order in test_from_features_geom_interface_feature
* add skip for FIona < 1.8 for ignore_fields/geometry
* Add ignore_geometry example
* not isinstance GeoDataFrame
* limit changes for ignore geometry
* modify from_features to require geometry; update docstring in read_file about optionally returning pandas.Dataframe & make docstring numpydoc compliant
* Add note in example about returning pandas dataframe
* revert from_features changes
* Read TextIOBase objects with geopandas
* Split test for different file objects
* Skip pytest if fiona<1.8
* revert argname, add test for tempfile and update docstring
* Add docs for reading file like objects
* style
* minor doc styling
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
* DOC: Fix intersphinx mapping with pyproj docs
* pyproj.crs.CRS -> pyproj.CRS; add back space around ' : '
* minor fix
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>