Commit Graph
260 Commits
Author SHA1 Message Date
Kelsey Jordahl d52cfe05df TST: Add baseline images 2013-10-29 19:35:02 -04:00
Kelsey Jordahl 152055a011 TST: Better aspect ratio for lines plot 2013-10-29 19:34:24 -04:00
Kelsey Jordahl c81a1e53af BUG: plot_multilinestring doesn't take alpha parameter 2013-10-29 19:32:18 -04:00
Kelsey Jordahl ee9a89d9ca TST: Add tests for plotting points and lines 2013-10-29 19:31:41 -04:00
Kelsey Jordahl 78e9935458 TST: Refactor plot test to put repetitive code in helper methods 2013-10-29 19:17:29 -04:00
Kelsey Jordahl 197215cf9c TST: Add baseline image for polygon plot image test 2013-10-28 22:55:31 -04:00
Kelsey Jordahl e6b6e458c4 TST: Use compare_images rather than decorator and switch back to unittest.TestCase 2013-10-28 22:54:52 -04:00
Kelsey Jordahl 4be8a317d9 TST: Add matplotlib and descartes to test requirements to strt running plt tests on Travis CI 2013-10-27 16:35:36 -04:00
Kelsey Jordahl 0873030813 TST: Use matplotlib image_comparison to actually compare plot output 2013-10-23 17:48:27 -04:00
Kelsey Jordahl b2e7ec1e0a TST: Initial simple plotting test 2013-10-23 08:57:50 -04:00
Kelsey Jordahl 8144a45ed8 Merge pull request #40 from kjordahl/feature/plotting_updates
Plotting updates
2013-10-21 19:56:02 -07:00
Kelsey Jordahl c0d7b45b12 Merge pull request #37 from cfarmer/bounds
changing the way 'bounds' is implemented to match shapely
2013-10-21 19:55:46 -07:00
Kelsey Jordahl 7b9c8a76ca Merge pull request #39 from jwass/geocode
Initial commit of geocoding functionality
2013-10-21 19:47:01 -07:00
Kelsey Jordahl 4237ff8bd9 ENH: Allow parameter for setting alpha for series plot 2013-10-21 22:30:52 -04:00
Kelsey Jordahl 6d60e7b22c DOC: Finally some docstrings for the plotting functions 2013-10-21 22:17:01 -04:00
Kelsey Jordahl b0d0b5382d BUG: Return axes from plot_dataframe and explicitly draw figure for both plot functions 2013-10-21 08:54:21 -04:00
Kelsey Jordahl 9e4c45358e BUG: pass alpha paramete through plot calls 2013-10-21 08:49:05 -04:00
Jacob Wasserman e3f9943887 Add some more documentation about geopy 2013-10-20 20:47:28 -04:00
Jacob Wasserman 2b02fc3dff Catch geocoding erros and fill with empty rows
Catch GeocoderResultError and ValueError. Fill the resulting GeoDataFrame
with an empty row.
2013-10-20 20:47:22 -04:00
Jacob Wasserman 01cea97dad Change assertIn to assert_ for python 2.6 support 2013-10-20 19:27:50 -04:00
Kelsey Jordahl 1d7c4cd6e6 ENH: Handle MultiLineString geometries when plotting 2013-10-19 12:43:09 -04:00
Kelsey Jordahl c6d4f29df1 ENH: Pass column colors for linestrings 2013-10-19 12:27:57 -04:00
Kelsey Jordahl ff836e1f0a ENH: Use colormap for plotting lines 2013-10-18 16:39:24 -04:00
Kelsey Jordahl bf5a689d75 ENH: Use existing figure if there is one 2013-10-18 16:37:13 -04:00
Carson Farmer 6b011b7b20 fix typo 2013-10-18 16:36:31 -04:00
Kelsey Jordahl 241e2573f0 BUG: Use axes if passed in to plot series, and pass params from plot_dataframe 2013-10-18 16:36:22 -04:00
Carson Farmer 4e5639f5a4 return to original bounds name and create total_bounds property 2013-10-18 16:32:52 -04:00
Jacob Wasserman 7c389a625f Initial commit of geocoding functionality
Geocode a Series or list of strings and get back a GeoDataFrame with the
Point objects and a full geocoded address.
2013-10-16 00:31:03 -04:00
Kelsey Jordahl 189a35c9e7 Merge pull request #35 from jwass/io
Io
2013-10-15 16:50:43 -07:00
Carson Farmer 28b90bc6e8 changing the way 'bounds' is implemented to match shapely 2013-10-15 11:28:34 -04:00
Jacob Wasserman ee02c69420 Rename ogr.py to file.py. Remove unused import 2013-10-14 22:14:20 -04:00
Jacob Wasserman 4df3679546 Add tests for io functions.
Adds tests for the read_postgis methods. A tests/util.py is introduced
containing some of the common code for downloading the NYC boroughs file,
managing the existence of psycopg2, and connecting to a database.
2013-10-12 12:14:59 -04:00
Jacob Wasserman 600da94498 Move core IO functions top-level geopandas
Moves the core functionality of GeoDataFrame.from_file and
GeoDataFrame.from_postgis to a separate io subpackage. The corresponding
functions in io are called read_file and read_postgis.
2013-10-11 23:21:34 -04:00
Kelsey Jordahl abb4137e87 Merge pull request #25 from jwass/postgis
Initial commit of read_postgis function
2013-10-09 13:55:12 -07:00
Jacob Wasserman c404f83d14 Rename read_postgis() to from_postgis() 2013-10-08 20:38:21 -04:00
Jacob Wasserman 97947b8957 Add documentation to explain database creation 2013-10-08 20:35:40 -04:00
Jacob Wasserman 11b46b15bc Open database connection within a context manager 2013-10-08 20:35:27 -04:00
Jacob Wasserman 5740137dda Add documentation for read_postgis() 2013-10-08 20:15:33 -04:00
Jacob Wasserman 82232ac07b Create the NYC borough database in setUp()
Also removes the nybb table creation in the travis script
2013-10-05 18:55:34 -04:00
Jacob Wasserman bae2914136 Skip database tests if psycopg2 or db missing
Check if psycopg2 is installed. In setUp() check to see if we can connect
to the test_geopandas database. Skip the read_postgis tests if either
fails.
2013-10-05 16:34:07 -04:00
Jacob Wasserman 0a7508f111 Add testing for read_postgis function
It also installs postgis and creates a simple database filled with the borough
data. A new requirements.test.txt file is created so that not everybody
installing geopandas is required to install the packages for testing, psycopg2
in this case.
2013-10-05 02:39:33 -04:00
Jake Wasserman 3fd71dd472 Initial commit of read_postgis function
Wraps read_sql() and looks for the specified geometry column which gets
converted to shapely geometries. It returns a GeoDataFrame.
2013-10-05 02:33:02 -04:00
Kelsey Jordahl fea5c40ac6 Merge pull request #33 from kjordahl/test/test-coverage
Improve test coverage and fix copy and to_crs methods.
2013-09-30 19:56:19 -07:00
Kelsey Jordahl a693228fb4 BUG: GeoSeries can't use _data attribute with released pandas versions 2013-09-30 21:43:58 -05:00
Kelsey Jordahl 73527d40f3 BUG: backport _propogate_attributes method from pandas master 2013-09-30 21:26:49 -05:00
Kelsey Jordahl 266a70a610 TST: Test for transforming GeoDataFrame 2013-09-29 22:31:51 -05:00
Kelsey Jordahl 5ee9733084 BUG: Use crs of transformed series in transformed frame 2013-09-29 22:31:25 -05:00
Kelsey Jordahl e92ce6d183 BUG: Fix copy method for GeoSeries and GeoDataFrame 2013-09-29 22:06:43 -05:00
Kelsey Jordahl 268fd2a974 TST: Check that we are prevented from writing mixed types to file 2013-09-29 21:27:18 -05:00
Kelsey Jordahl 8e147af6eb TST: Assertions for expected exceptions 2013-09-28 11:50:11 -04:00