Commit Graph
251 Commits
Author SHA1 Message Date
Kelsey Jordahl 5e55a4063f DOC: Regenerate sphinx autodoc files and move files to source dir 2013-10-22 21:45:21 -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
Kelsey Jordahl d30dd24b45 TST: Explicit skips of not yet implemented tests 2013-09-28 11:41:21 -04:00
Kelsey Jordahl f573b541c2 TST: add missing assertions 2013-09-28 11:37:58 -04:00
Kelsey Jordahl 27d6ce4d98 TST: Use unittest assertion methods 2013-09-28 11:36:38 -04:00
Kelsey Jordahl e47c3bd9ca TST: Add tests for 'not in' GeoSeries 2013-09-28 11:34:06 -04:00
Kelsey Jordahl 5c51dea584 TST: Add a test for GeoSeries to/from file 2013-09-28 11:33:31 -04:00
Kelsey Jordahl 7fd9d756ac CLN: Remove useless test 2013-09-27 13:45:40 +02:00
Kelsey Jordahl 01fb1e47e8 CLN: Remove unused internal function 2013-09-27 11:48:02 +02:00
Kelsey Jordahl dbf15b21a7 Merge pull request #32 from kjordahl/feature/travis-pandas-versions
Run Travis CI tests on multiple pandas versions
2013-09-17 20:44:08 -07:00
Kelsey Jordahl c0565df397 BUG: Use generic **kwargs to catch changes in pandas method APIs 2013-09-17 23:22:17 -04:00