Commit Graph
144 Commits
Author SHA1 Message Date
Martin Fleischmann 7e595d08a5 DOC/CI: remove Travis from docs and paths (#1632)
* DOC/CI: remove Travis from docs and paths

* use envs

* fix

* typo

* how to trigger check
2020-10-10 20:03:25 +01:00
Martin Fleischmann 330ed11dc1 DOC: Docstring examples (#1617)
* GeoSeries examples

* GeoSeries examples

* GeoDataFrame examples

* missed one

* base examples

* review changes

* toggleprompt

* brendan's comments

* further comments
2020-10-08 18:32:19 +01:00
Ian RoseandMartin Fleischmann 38fd095fa5 ENH: Allow for more general file-like objects to be used when opening files. (#1535)
* 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>
2020-09-02 20:56:06 +01:00
Alan D. Snow a17c61f54a DOC: Use the CRS.utm_zone property to identify UTM CRS (#1595) 2020-08-28 20:31:39 -07:00
Martin Fleischmann e53ff09109 DOC: Add logo (#1579)
* DOC: Add logo

* favicon
2020-08-26 19:31:55 +01:00
Joris Van den Bossche ca7c95e5c3 DOC: add redirects for old pages (#1577) 2020-08-21 12:11:18 +01:00
Martin Fleischmann 953753896a DOC: Restructured documentation, use pydata-sphinx-theme (#1564)
* use pydata theme

* structure

* fix links

* adapt colors

* getting started

* buttons

* buttons

* rename, use myst, fill stuff

* myst to env

* cleanup

* covered_by

* review comments

* fix link

* use api
2020-08-20 21:48:19 +01:00
Sergio Rey 1b0f006ba1 DOC: update mapclassify doc links (#1557)
* [DOC] update mapclassify doc link

* Update mapclassify doc link in source
2020-08-03 09:09:11 +01:00
Martin Fleischmann 7a093643fc DEP: drop support for older versions of dependencies (#1492)
* change requirements

* ci

* remove compatibility layers

* ci recipe

* ci versions

* version in setup.py
2020-07-28 18:22:47 +01:00
Rowan MolonyandMartin Fleischmann d96da68c2e DOC: Copy pandas commit message conventions (#1533)
* DOC: Copy pandas commit message conventions

Following on from pull request discussion
in #1425

* Rename geopandas to GeoPandas

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

* Remove triple whitespace

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

* Remove triple whitespace again

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

* Change reference to refer to

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-07-28 18:13:52 +01:00
Adrian Garcia Badaracco 89908f8439 REF: refactor sjoin as per #1463 (#1470)
* REF: refactor sjoin as per #1463

* PR comments + variablize OPs

* rename var

* PR feedback

* Note new op values in docs

* doc fixes

* finish line
2020-07-03 18:34:00 +01:00
Sönke Schmachtel b0381e1f4a DOC: Travis doc link fix (#1499)
* Update CONTRIBUTING.md

changed getting started url

* Update contributing.rst

changed getting started with travis link
2020-06-30 10:34:21 +01:00
Joris Van den Bossche 5eb66a2d9f DOC: add sections for PostGIS and Parquet/Feather to io.rst docs (#1485) 2020-06-24 17:19:39 +02:00
Joris Van den BosscheandMartin Fleischmann 0b1e2a1423 DOC/RLS: start changelog for 0.8.0 release (#1468)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-06-24 14:20:50 +02:00
Adrian Garcia Badaracco 3868b44e1a ENH: use query_bulk in sjoin (#1421) 2020-06-12 11:37:04 +02:00
Bhavika Tekwani e9cc2588fc ENH: Add covers() method to GeoSeries (#1460) 2020-06-03 10:51:15 +02:00
harryposnerandJoris Van den Bossche ed612f4400 ENH: Setting the CRS of naive geometries (#747)
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2020-05-27 21:28:37 +02:00
Joris Van den Bossche 7e9868860f ENH: add Feather IO support (#1435) 2020-05-27 19:45:44 +02:00
Christopher Yeh 3cba9b720e DOC: Fix typos in mergingdata.rst (#1441) 2020-05-22 08:57:29 +01:00
d19afa4ece ENH: Add parquet IO support (#1180)
* 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>
2020-05-20 09:23:26 +01:00
raphacosta27 43523217a3 DOC: Adding geopandas.Series overlaps method in documentation (#1423) 2020-05-14 13:40:27 +01:00
Joris Van den Bossche 5a2bafbe0a DOC: add read_postgis/to_postgis to reference docs (#1406) 2020-05-05 12:51:39 +02:00
433c39bab7 ENH: Add method to write GeoDataFrame to PostGIS (#1248)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2020-05-05 12:06:14 +02:00
Mike Taves 9b179753d1 DOC: corrections / updates (#1402)
* Binary wheels for shapely have been available since version 1.7.0
* Correction to sjoin default for op
2020-04-29 11:11:11 +02:00
Alan D. Snow 8d78e771d3 ENH: Support ignore_geometry option with read_file, test ignore_fields (#1383)
* 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
2020-04-25 17:51:01 +01:00
sangarshananandMartin Fleischmann 4e82afe538 ENH: Read filelike objects (#1329)
* 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>
2020-04-20 18:53:39 +01:00
TimothyLucasandMartin Fleischmann 978f1b35a5 DOC: add example of appending GeoSeries (#1215)
* changing doc/source/mergingdata.rst to propose fix for issue 1186

* append docs

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-04-19 21:59:23 +01:00
Mateusz KoniecznyandMartin Fleischmann 1f1cde7eff DOC: fix typo in spatial join (#1188)
* fix typo

* fix typo 'to' - 'two'

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-04-19 21:55:33 +01:00
Martin Fleischmann edf6e96430 ENH: move CRS to GeometryArray level (#1339) 2020-04-12 15:42:14 +02:00
Martin Fleischmann 078062d303 DOC: remove six as a depenency (#1348) 2020-04-01 11:20:20 +02:00
Joris Van den Bossche 5d1181af6b ENH: (optionally) use pygeos for vectorized GeometryArray operations (#1154) 2020-03-24 09:08:27 +01:00
Martin Fleischmann 1c13cb957b DOC: add missing methods to reference (#1328) 2020-03-18 20:51:57 +00:00
Martin Fleischmann 3cbc7fb997 Add a Code of Conduct (#1288) 2020-03-03 12:48:21 +01:00
Alan D. SnowandMartin Fleischmann 7350b49688 DOC: Fix intersphinx mapping with pyproj docs (#1297)
* 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>
2020-02-24 22:27:06 +00:00
sangarshanan 74b1d95955 DOC: Add changelog to docs (#1306)
* Add changelog to docs

* Remove extra newline

* Move Changelog to Reference Guide in docs
2020-02-24 20:24:15 +00:00
Martin Fleischmann 0a1799d986 DOC: Add note on field types to io (#1289) 2020-02-19 10:45:40 +01:00
Joris Van den Bossche 3e5fe71c34 DOC: add upgrade guide for GeoPandas 0.7 / pyproj 2 / PROJ 6 (#1292) 2020-02-16 22:39:20 +01:00
Joris Van den Bossche 952e5f4e7d DOC: fix docstring styling with sphinx > 2 (#1299) 2020-02-16 22:36:27 +01:00
Alan D. Snow 9e45a12bcf ENH: add support for filtered loading with open_file using mask and rows (#1160) 2020-02-14 21:22:30 +01:00
Martin Fleischmann 6be674d841 ENH: allow overlay for all geometry types (#1110) 2020-02-08 09:05:58 +01:00
0dde1c7253 ENH: Add clip function (#1128)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Nathan Korinek <nako1890@colorado.edu>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2020-02-07 15:39:26 +01:00
Joris Van den Bossche 47ca52439f DOC: update environment.yml file + clean build (#1284) 2020-02-07 13:05:36 +01:00
Alan D. Snow 1d212b2a0c ENH: updated to use pyproj.CRS & pin pyproj >= 2.2.0 (#1101) 2020-01-25 09:49:27 +01:00
sangarshananandMartin Fleischmann 1a0376cfbe DOC: Add zorder example to docs (#1228)
* Add zorder examples to docs

* Remove matplotlib and make suggested changes

* Remove empty line

* Made the suggested minor changes

* Change line format

Co-Authored-By: Martin Fleischmann <36797143+martinfleis@users.noreply.github.com>

* Save the plots with savefig
2019-12-09 13:49:12 +00:00
Martin Fleischmann 6ac19052c8 ENH: support for missing data plotting (#1156)
* ENH: support for missing data plotting

* Tests

* Docs

* Changes based on review

* clean tests

* better docstring
2019-11-24 17:16:44 +00:00
Ardie OrdenandMartin Fleischmann 1c39098ab0 DOC: Add example docs for plotting transparent polygons (#1170)
* Add example docs for plotting transparent polygons

* Add explanation for plotting transparent polygons

* Update doc/source/mapping.rst

Co-Authored-By: Martin Fleischmann <36797143+martinfleis@users.noreply.github.com>
2019-11-21 22:20:11 +00:00
Ardie Orden 030febcab2 DOC: Add docs for using read_file on a ZIP file (#1181)
* Add docs for using read_file on a ZIP file

* Add docs for opening ZIP files with folders and multiple datasets

* Fix wording of docs
2019-11-21 22:16:40 +00:00
Martin Fleischmann 65c2d55ae2 CLN: Remove Python 2 support (#1183) 2019-10-28 11:11:03 +01:00
Alan D. Snow 2c5bfc5b98 DOC: update data structure docs with links to classes/methods (#1168) 2019-10-22 08:46:17 +02:00
Joris Van den Bossche a7bb54a163 ENH: Show less coordinate decimals in Series repr of geometries (#1057) 2019-09-27 08:32:42 +02:00