Commit Graph
16 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
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
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
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
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
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
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
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
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
Martin Fleischmann cb49d088f9 DOC: use Jupyter examples via nbsphinx gallery (#1731) 2021-02-18 21:51:28 +01:00