Commit Graph
1255 Commits
Author SHA1 Message Date
Joris Van den Bossche 90b37eb377 BUG/TST: fix failing tests with dev versions of pandas and matplotlib (#1588)
* BUG/TST: fix failing tests with dev versions of pandas and matplotlib

* fixup
2020-08-26 12:34:16 +01:00
James McBride d8dcd7b3c1 BUG: Copy legend_kwds so we don't update inplace (#1583)
Resolves #1555. In cases where legend_kwds was being passed, we were
updating legend_kwds with the cax/ax passed in on that function call.
Within a loop over multiple axes, this meant placing all colorbars on
the first placed axis. This just creates a copy of legend_kwds, when
placed, so we don't update in place.
2020-08-24 08:46:49 +02:00
WANG Aiyong 74973a0adb ENH: Add aspect=None option to plotting, to keep the original aspect. (#1512) 2020-08-24 08:43:31 +02:00
Joris Van den Bossche ca7c95e5c3 DOC: add redirects for old pages (#1577) 2020-08-21 12:11:18 +01:00
Martin Fleischmann dfe57e3b72 DOC: fix rtd (#1575) 2020-08-20 21:58:58 +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
Adrian Garcia Badaracco b4b813a2a5 REF: Move sindex to GeometryArray (#1444) 2020-08-20 16:50:55 +02:00
James McBride b366d890c3 BUG: Set clipped gdf geometry name based on input (#1566) 2020-08-12 09:46:36 +02:00
Joris Van den BosscheandBrendan Ward 0b804ea8af BUG: ensure CRS object also for empty GeoDataFrame (#1560)
Co-authored-by: Brendan Ward <bcward@astutespruce.com>
2020-08-05 21:00:26 +02:00
James McBride 11cfb783a5 CLN: Remove unused make_valid argument (#1553) 2020-08-05 08:14:46 +02: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 55ca917571 TST: Fix CI for pandas 1.1.0 (#1544) 2020-07-31 11:48:22 -07:00
Martin Fleischmann 785f2386d7 CI: pin mapclassify (#1545) 2020-07-28 21:56:25 +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
Brendan Ward 3d570922d8 TST: Remove failing test of duplicate columns on read of parquet (#1538) 2020-07-27 22:22:47 +01:00
abonte d3228ddb68 DOC: fix docstring (#1524) 2020-07-18 22:55:35 +01:00
Joris Van den Bossche 301418fc44 DOC/RLS: changelog for 0.8.1 (#1519) 2020-07-15 16:52:28 +02:00
Joris Van den Bossche 5a9107cbfd BUG: fix un-pickling of GeoDataFrames written by older geopandas versions (#1511) 2020-07-15 16:47:12 +02:00
Joris Van den Bossche 9f1e5ec34d TST: skip argmin/argmax extension array tests (#1514) 2020-07-11 21:11:54 +02:00
Martin Fleischmann a99bbca7f8 REGR: *Sampled plotting scheme fails (#1487) 2020-07-09 21:06:50 +02:00
Ian Rose 83fe10e762 Ensure no warning about geometry column not holding geometries when writing to postgis (#1498) 2020-07-09 21:03:47 +02: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
abonte b5ed1a4178 DOC: docstring examples geom_type, bounds, total_bounds (#1482)
* add docstring example for is_empty

* add docstring examples

* fix docstrings
2020-06-27 13:04:21 +01:00
eaae17f717 ENH: Adds warning for .shp column length limit (#1475)
* Adds warning for .shp column length limit

Warns user that a geodataframe column exceeds 10 characters
and will be truncated when saving to shapefile.

* Adds warning for .shp column length limit

Warns user that a geodataframe column exceeds 10 characters
and will be truncated when saving to shapefile.

* Fixes style issues that caused CI failure

* Update geopandas/io/tests/test_file.py

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

* Adds warning for .shp column length limit

Warns user that a geodataframe column exceeds 10 characters
and will be truncated when saving to shapefile.

* Fixes style issues that caused CI failure

* Adds stack level and ESRI Shapefile to to_file warning

* Typo fix

* black

* flake8

Co-authored-by: Brendan Ward <bcward@astutespruce.com>
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-06-24 17:17:12 +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 Bossche 0d2c621516 RLS: v0.8.0 2020-06-24 15:26:54 +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
c4f157d2eb ENH: add labels keyword for schemed plot (#1302)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2020-06-24 10:04:21 +02:00
Joris Van den Bossche 20d01a9570 ENH: try to preserve CRS in GeoSeries.apply (#1478) 2020-06-24 09:42:55 +02:00
Sergio ReyandMartin Fleischmann 81fbc3cf1d ENH: choropleth legend formatting (#1253)
Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-06-23 22:33:57 +02:00
Joris Van den Bossche df6db270fa ENH: honor categories of categorical column in df.plot() (#1483) 2020-06-23 15:03:42 +02:00
Martin Fleischmann caefd7562a ENH: pass list-like as categories to plot (#1173) 2020-06-22 22:00:41 +02:00
Martin Fleischmann bbf06a753c ENH: scaling y-axis for plots in geographic CRS (#1290) 2020-06-22 21:18:08 +02:00
Joris Van den Bossche b78ef4eecc BUG: astype('string') (#1476) 2020-06-19 12:32:16 +01:00
abonte ccdce24097 DOC: add docstring example for is_empty (#1474) 2020-06-18 21:55:39 +01:00
Martin Fleischmann 9f4c995497 ENH: Warn about geographic projection in distance-based methods (#1378)
* ENH: Warn about geographic projection in distance-based methods

* use repr in warning, add stacklevel

* change message, add area, length, supress warnings

* dont raise for buffer(0)

* use function to clean up, add test

* fix double space

* inlcude check for centroid
2020-06-16 20:49:44 +01:00
Martin Fleischmann 07d44e5e3e suffixes as tuple (#1471) 2020-06-16 10:04:51 -07:00
Joris Van den Bossche 3c5c569c94 BUG: fix astype('string') (#1469) 2020-06-13 18:36:11 +02:00
Joris Van den Bossche 72c57c0e55 CLN: clean-up warning from sjoin and in tests (#1467) 2020-06-12 17:15:57 +02:00
rwijtvliet 41119edd90 BUG: Pass style_kwds to parts of multipart geometry (#1385) 2020-06-12 15:22:33 +02:00
Adrian Garcia Badaracco 3868b44e1a ENH: use query_bulk in sjoin (#1421) 2020-06-12 11:37:04 +02:00
Bhavika Tekwani 18dca3ffcf ENH: add covered_by() method for GeoSeries (#1462) 2020-06-09 08:26:12 +02:00
Adrian Garcia Badaracco 9125d5fea4 DEP: Warn about deprecation of sindex.intersection objects parameter (#1440)
* warn about deprecation of objects parameter

* add warning check

* PR feedback

* fix tests warning match
2020-06-07 20:47:54 +01:00
Bhavika Tekwani e9cc2588fc ENH: Add covers() method to GeoSeries (#1460) 2020-06-03 10:51:15 +02:00
Joris Van den Bossche 07a8f4cc7e BUG: override the .equals() method from pandas to correct isinstance (#1451) 2020-05-31 17:01:39 +02:00
abonteandMartin Fleischmann 8f4889affd DOC: Add example in GeoDataFrame docstring (#1456)
* add example in GeoDataFrame docstring

* Update GeoDataFrame docstring

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

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
2020-05-31 10:16:38 +01:00
Martin Jul c5d48ecf5d DOC: Link to the canonical geopandas/contextily repo (#1453) 2020-05-28 09:20:00 +01: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