Commit Graph
533 Commits
Author SHA1 Message Date
Kelsey Jordahl b9a5289965 CLN: Remove duplicate import 2014-04-17 09:23:07 -04:00
Kelsey Jordahl 8fbbbb15c2 DOC: Update contributing document for Python 3 2014-04-16 19:18:51 -04:00
Kelsey Jordahl 70f9377e73 DOC: Update install instructions for supported python versions and dependencies 2014-04-16 19:18:23 -04:00
Kelsey Jordahl eea3e63b83 PY32: Add encode() to ensure that python 3.2 gets bytes to unhexlify() 2014-04-16 16:52:44 -04:00
Kelsey Jordahl 79df1a93c0 BUG: Allow __new__() to take arguments for old pandas constructor 2014-04-16 16:11:36 -04:00
Kelsey Jordahl 08e4be9f6c PY3: Use six imports for generator and xrange 2014-04-16 14:53:02 -04:00
Kelsey Jordahl a16291b353 PY26: Use local unittest that gets unittest2 for python 2.6 2014-04-16 14:52:32 -04:00
Kelsey Jordahl 0c80da73d5 PY3: Use io.open to write bytes in python 2/3 2014-04-16 12:54:49 -04:00
Kelsey Jordahl b7041ee748 TST: Add python 3.2 and 3.3 to Travis CI tests 2014-04-15 18:13:48 -04:00
Kelsey Jordahl 10722da48e PY3: Use explicit relative imports in tests 2014-04-15 18:12:09 -04:00
Kelsey Jordahl e2717cef1b PY3: Remove .order() pandas method which fails in python 3 and is arguably useless in python 2 2014-04-15 18:11:25 -04:00
Kelsey Jordahl 4f4b1ac8f5 PY3: Use explicit list 2014-04-15 18:00:10 -04:00
Kelsey Jordahl f6325fb772 PY3: Use string.ascii_lowercase for compatibility and locale independence 2014-04-15 17:59:08 -04:00
Kelsey Jordahl f2867118dc PY3: Use explicit list in test 2014-04-15 17:57:26 -04:00
Kelsey Jordahl 56764cd430 BUG: __new__() shouldn't take arguments 2014-04-15 17:56:44 -04:00
Kelsey Jordahl 120d5eebe5 Merge pull request #96 from jwass/from_features_fix
BUG: Fix from_features to align properties
2014-03-27 07:50:21 -04:00
Kelsey Jordahl 01a179e6f8 Merge pull request #95 from kjordahl/bug/unhexify
Use unhexify for python 3 compatibility
2014-03-27 07:43:49 -04:00
Jacob Wasserman 02cab384bd BUG: Fix from_features to align properties
This fixes a longstanding bug starting in read_file() that was migrated to
GeoDataFrame.from_features() which wouldn't align features with their
associated rows.
2014-03-26 23:47:12 -04:00
Kelsey Jordahl 5ef391198a PY3: Use six library to import urlopen for 2/3 compatibility 2014-03-26 20:38:07 -04:00
Kelsey Jordahl 7b67283e99 PY3: Use print_function for reporting in pysal choropleth 2014-03-26 20:32:06 -04:00
Kelsey Jordahl 11a6992e67 Merge pull request #94 from kjordahl/bug/no-long-type
Always use 'int' in Fiona schema
2014-03-26 20:27:26 -04:00
wrobell 772e0ce21a - use unhexlify to get binary wkb data, the str.decode('hex') does not work
in Python 3.3
2014-03-26 09:56:12 -04:00
Kelsey Jordahl 6a7d59b1b1 Merge pull request #92 from jwass/set_geometry_align
BUG: Align index if set_geometry input is Series
2014-03-25 22:38:15 -04:00
Kelsey Jordahl f443cc7d78 TEST: Test that checks various numpy int types as columns when writing to file 2014-03-25 22:23:24 -04:00
Kelsey Jordahl 7d932f6c04 BUG: Ensure that long type is always changed to int for Fiona schema (GH#93) 2014-03-25 22:23:07 -04:00
Jacob Wasserman 04dfaf9a10 BUG: Align index if set_geometry input is Series
If DataFrame's set_geometry() is called with a Series, align
the index.
2014-03-24 00:46:10 -04:00
Kelsey Jordahl 1edddada8f Merge pull request #88 from kjordahl/test/pandas-0.13.1
Update Travis CI pandas test version to 0.13.1
2014-03-02 21:06:37 -05:00
Kelsey Jordahl b1b3614ed8 TST: Update Travis CI pandas test version to 0.13.1 2014-03-02 20:34:14 -05:00
Kelsey Jordahl 4ee1432b07 Merge pull request #90 from jwass/pd_master_fixes
Pd master fixes
2014-03-02 20:32:52 -05:00
Jacob Wasserman f0108b922b BUG: Use _geometry_column_name in to_json()
Fixes a bug in to_json() when the geometry column is not named
'geometry'.
2014-03-01 11:45:19 -05:00
Jacob Wasserman dd16c979d6 BUG: Fix read_sql() call
Use keywords calling pandas read_sql() as some of the arguments
changed.
2014-03-01 11:43:00 -05:00
Jacob Wasserman e783eac699 BUG: Remove __getslice__ override.
__getitem__ handles slices in pandas.
2014-03-01 11:42:52 -05:00
Kelsey Jordahl a91e8ab7bf Merge pull request #87 from jwass/crs_fix
BUG: Set crs in read_file
2014-01-26 19:49:12 -08:00
Jacob Wasserman 47f25eea93 BUG: Set crs in read_file
Fixes a bug introduced in 72f236.
2014-01-22 11:35:57 -05:00
Kelsey Jordahl 3b92577f84 Merge pull request #86 from kjordahl/test/coveralls_badge
Add a Coveralls badge to display test coverage in the README
2014-01-19 08:51:26 -08:00
Kelsey Jordahl 7788a1755d TST: Add a Coveralls badge to display test coverage in the README 2014-01-18 14:27:42 -05:00
Kelsey Jordahl 1587a8ece3 Merge pull request #85 from kjordahl/test/coveralls
Test coverage and coveralls integration
2014-01-18 11:23:45 -08:00
Kelsey Jordahl ed689c5136 TST: Add .coveragerc 2014-01-18 12:52:17 -05:00
Kelsey Jordahl 3da00d2a60 TST: Let's not test the whole world 2014-01-18 12:51:54 -05:00
Kelsey Jordahl 2792038216 TST: Use py.test with pytest-cov to run tests for better coverage support 2014-01-18 12:01:02 -05:00
Kelsey Jordahl ecd0ccec76 TST: Run coveralls on travis 2014-01-18 12:01:02 -05:00
Kelsey Jordahl 023b7ceda3 TST: Add coveralls to test requirements 2014-01-18 12:01:02 -05:00
Kelsey Jordahl 7146dc4cd0 Merge pull request #84 from kjordahl/test/pandas-0.13
Add pandas release 0.13 to Travis CI tests
2014-01-18 08:43:10 -08:00
Kelsey Jordahl b649c0a0e0 TST: Add pandas release 0.13 to travis test matrix 2014-01-18 10:16:16 -05:00
Kelsey Jordahl 19862aa346 Merge pull request #83 from jwass/from_features
Add from_features constructor for GeoDataFrame.
2014-01-18 07:12:57 -08:00
Kelsey Jordahl 8f43eff755 Merge pull request #82 from jwass/no_shift
Remove the shift = translate alias
2014-01-18 07:11:35 -08:00
Jacob Wasserman 72f236d3df Add from_features constructor for GeoDataFrame.
Allows passing a list of features or objects that implement
__geo_interface__ for easier GeoDataFrame construction.
2014-01-17 10:54:20 -05:00
Jacob Wasserman 2343ee3ddc Remove the shift = translate alias
Over-riding shift on GeoSeries and GeoDataFrame clobbered shift
in Pandas. Get rid of it and just use translate
2014-01-04 00:56:38 -05:00
Kelsey Jordahl 9a507b4298 Merge pull request #68 from jwass/gdfops
Geometry Operations on GeoDataFrame
2013-12-29 17:28:38 -08:00
Kelsey Jordahl 237af0e634 Merge pull request #80 from jwass/geopy096
BUG: Require geopy 0.96 in test requirements
2013-12-29 10:13:12 -08:00