Commit Graph
247 Commits
Author SHA1 Message Date
0a7eebf6d1 API: expose sjoin_nearest, clip and overlay as methods (#2150)
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2021-10-03 19:45:07 +02:00
087858c12a EHN: expose sjoin as a GeoDataFrame method (#1984)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2021-10-02 08:43:34 +02:00
f5543f55a8 Combine sindex.nearest/nearest_all in single method (#2147)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
2021-10-01 18:17:43 +02:00
1c7dc9b9c8 ENH: expose points_from_xy as a GeoSeries method (#1853) (#1936)
Co-authored-by: Jan Šimbera <jan.simbera@vodafone.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2021-09-30 20:50:42 +02:00
Joris Van den Bossche a05080fa0e ENH: support how="inner" in sjoin_nearest (#2143) 2021-09-30 16:08:33 +02:00
Tom RussellandMartin Fleischmann 64c5813e8b ENH: Expose interface to sindex.nearest (#1977) (#2053)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2021-09-28 08:53:29 +02:00
29adbaabb3 ENH: sjoin_nearest (#1865)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
2021-09-27 20:30:29 +02:00
Martin Fleischmann 7b109ff10e DOC: minimise warnings from sphinx (#2131) 2021-09-25 15:16:05 +02:00
Martin Fleischmann 8dbfb575c2 DOC: fix RTD builds (#2125) 2021-09-24 08:08:22 +02:00
Martin Fleischmannandsangarshanan b32288824f ENH: native interactive plotting via folium as explore() method (#1953)
Co-authored-by: sangarshanan <sangarshanan1998@gmail.com>
2021-09-23 17:43:30 +02:00
Andreas Eliasson 0fe01e899b DOC: Add doc style guide (#2114) 2021-09-19 14:33:38 +01:00
Alan D. Snow 187287b2fa DOC: Add example using Fiona to re-project (#1596) 2021-09-06 21:35:36 +01:00
Adrian Garcia BadaraccoandBrendan Ward 8f08539b3f REF/MAINT: deprecate sjoin op param in favor of predicate (#1626)
* deprecate op param

* remove line

* rename op -> predicate in docs

* Test for collision and unknown kwargs

* Update geopandas/tools/sjoin.py

Co-authored-by: Brendan Ward <bcward@astutespruce.com>

* Update geopandas/tools/sjoin.py

Co-authored-by: Brendan Ward <bcward@astutespruce.com>

* PR feedback

* fix typo

Co-authored-by: Brendan Ward <bcward@astutespruce.com>
2021-09-02 21:27:12 +01:00
Ariel Núñez d006fad416 DOC: postgres/postgresql protocol change in docs (#2082) 2021-08-23 17:36:43 +01:00
Martin Fleischmann 632149a9ad REF: replace _mapclassify_choro with new API (#1737) 2021-08-23 16:41:39 +02:00
Zero fe920278ae DOC: Remove duplicated intersphinx_mapping key (#2051) 2021-08-07 09:38:00 +02:00
Qiusheng Wu 8dd2b9f62c Fixed typos (#2050) 2021-08-06 09:06:01 +01:00
Matthew Law 64598b6f0d DOC: fix typo in a URL (#2043) 2021-07-27 14:05:15 +01:00
Matthew Law bace23c974 DOC: Fixed link to notebook with more examples in nbviewer (#2042) 2021-07-27 12:12:42 +01:00
Alison HopkinandMartin Fleischmann 5e6958e675 DOC: Rasterio sample example (#1998)
* add rasterio sample example

* add example data

* Update doc/source/gallery/geopandas_rasterio_sample.ipynb

* clean outputs, add thumbnail

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2021-07-24 17:23:44 +01:00
Martin Fleischmann 3bf2d27ca9 DOC: override kernelspec when executing notebooks (#1938)
* DOC: override kernelspec

* revert kernelspec used for test
2021-07-24 10:42:44 +01:00
Ray Bell dbcf4ab7af DOC: pyarrow intersphinx mapping (#2016) 2021-07-24 09:32:39 +01:00
standakozakandMartin Fleischmann 68ee8b929c DOC: Example of matplotlib-scalebar library usage (#1994)
* Adding an example of matplotlib-scalebar

* Updating version number of matplotlib-scalebar library

* DOC: Resolving comments for matplotlib-scalebar example

* formatting, icon

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2021-07-23 23:37:23 +01:00
Martin Fleischmann 7997837abd REF/TST: replace GeocodeFarm with Photon as a geocoding default (#2007)
* TST: replace GeocodeFarm with Photon

* change default in geocoding and docs
2021-07-15 09:18:17 +01:00
Martin Fleischmann 8c1e3531b8 DEP: deprecate python 3.6 and pandas 0.24 (#1877) 2021-07-06 08:30:33 +02:00
Matthew Law f50e2dd47b DOC: fix misspelling of Plate Carrée (#1981) 2021-06-29 11:53:27 +01:00
Martin Fleischmann ae3f8216e2 DOC: update RTD env (#1979)
* DOC: unpin RTD env

* fix for sphinx 4.0

* pin new versions

* typo
2021-06-27 15:47:21 +01:00
Andreas Eliasson 521c72d6f1 DOC: revise plotting polygons with folium gallery example (#1941) 2021-05-28 12:49:26 +01:00
Andreas Eliasson 813ad3dc1a DOC: revise plotting with folium example (#1916)
* DOC: revise plotting with folium example

* DOC: edit example description

* Revert "DOC: revise plotting with folium example"

This reverts commit 58ad279dbc9d0030550566b27035b5e783a9291f.

* DOC: revise plotting with folium example

This commit also include feedback actions.
2021-05-28 11:59:19 +01:00
Murat Can ÜsteandMartin Fleischmann e2c5b0d978 DOC: Relevant API links for intersphinx mapping (#1931)
* DOC: added API links to intersphinx mapping

* DOC: updated mergingdata.rst links

* DOC: updated aggregation_with_dissolve.rst links

* DOC: updated data_structures.rst links

* DOC: updated geocoding.rst links

* DOC: updated geometric_manipulations.rst links

* DOC: updated indexing.rst links

* DOC: updated io.rst links

* DOC: updated projections.rst links

* DOC: updated set_operations.rst links

* DOC: updated mapping.rst links

* DOC: updated missing_empty.rst links

* DOC: updated geoplot intersphinx links

* DOC: make 'unary_union' attr instead of method

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

* DOC: remove link to GeoDataFrame.geometry

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

* DOC: convert pandas indexers to attrs instead of methods

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

* DOC: convert indexer 'cx' to attr instead of method

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

* DOC: refer GeoSeries.buffer instead of shapely buffer

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

* DOC: make 'unary_union' attr instead of method on missing_empty.rst

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

* DOC: refer to DataFrame.merge instead of pandas.merge

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

* DOC: link pyproj.CRS

* DOC: changed API links to 'stable' from 'latest'

* DOC: fixed separator length

* DOC: uppercase CRS in pyproj.crs

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2021-05-28 11:16:54 +01:00
Brendan Ward dd2ed8efbf Increment pygeos version (#1948) 2021-05-24 19:47:21 +01:00
Martin Fleischmann 85e066a5c7 DOC: fix jupyter kernel (#1934) 2021-05-05 17:50:36 +01:00
TLouf 0d38f10a95 DOC: document contextily layers functionality (#1922)
* 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
2021-05-02 16:59:23 +01:00
standakozakandMartin Fleischmann 462e4a0c3e DOC: set_axis_off method in User Guide (#1907)
* 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>
2021-05-02 15:54:37 +01:00
Ray BellandRay Bell 88c173cefc DOC: hyperlink to API in merging section (#1926)
Co-authored-by: Ray Bell <ray.bell@dtn.com>
2021-05-02 15:41:33 +01:00
Ray Bell b436ac21a6 DOC: add cd doc in code block (#1925) 2021-04-30 16:22:54 +01:00
Andreas Eliasson 08cb5909b8 DOC: revise intro to geopandas notebook (#1886)
* DOC: revise intro to geopandas notebook

* DOC: fix typo and use 'spatial relation'

* DOC: remove kernel metadata
2021-04-08 17:26:44 +01:00
Daniel Mesejo-León 2a5c42f8fc DOC: Add from_wkt, from_wkb, to_wkt, to_wkb to API reference (#1889) (#1890) 2021-04-02 11:26:39 +01:00
Joris Van den Bossche f5c54edfaa DOC: use CSS variables to customize sphinx theme (#1666) 2021-03-18 13:53:36 +01:00
James A. Bednar 8ddac2f9a4 DOC: Add hvPlot to ecosystem (#1869) 2021-03-03 08:18:31 +01:00
Andreas EliassonandAndreas Eliasson d2323fdada DOC: fix typos in contributing guide (#1862)
* 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>
2021-03-02 22:48:12 +00:00
Martin Fleischmann de783b9071 DOC: hide roadmap from docs (#1854) 2021-02-28 21:15:52 +01:00
Joris Van den Bossche 771bb6c387 DOC: fix API reference page for GeoDataFrame.plot accessor (#1858) 2021-02-28 20:25:15 +01:00
Martin Fleischmann d0f73f8d58 DOC: remove faulty geoplot Voronoi example (#1855) 2021-02-28 20:01:51 +01:00
e29b1004a8 ENH: Integrate to/from wkt/wkb functions into public API (#1710)
* 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>
2021-02-28 17:02:00 +00:00
Joris Van den Bossche af867de8c5 DOC: only include common spatial index interface in the docs (#1847) 2021-02-28 14:46:12 +01:00
Martin Fleischmann 369445456b DOC: document sindex API (#1749) 2021-02-27 09:53:37 +01:00
e0981ab14e ENH: Add GeoPlot accessor (#1465)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2021-02-27 09:34:34 +01:00
donloandMartin Fleischmann 4444f1adb6 ENH: add option to remove bracket from mapclassify legend (#1605)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2021-02-21 17:42:03 +01:00
Martin Fleischmann ed68a95033 DOC: debug readthedocs and nbsphinx (#1838)
* don't execute

* list examples

* try with executed notebooks

* build intro, add pygeos

* auto build

* build the same as currently

* remove kernel name

* add few more

* revert choro

* add rest

* remove kernelspec

* clear choropleths

* build choropleths, clear choro_legends

* clear introduction

* remove kernelspec

* clean meta

* execute choro_legends

* always execute + exceptions

* fix cartopy plot
2021-02-19 23:44:26 +00:00