Commit Graph
361 Commits
Author SHA1 Message Date
Kelsey Jordahl a9d8c80098 ENH: Add support for Nominatim OpenStreetMap server 2013-11-21 18:33:55 -06:00
Kelsey Jordahl 21a0ac473c TST: Tests for googlev3 and openmapquest geocoders 2013-11-21 18:26:40 -06:00
Kelsey Jordahl 69324f5d8b CLN: Use np.nan directly rather than through pandas namespace 2013-11-21 18:26:15 -06:00
Kelsey Jordahl 79f0494c71 CLN: import from_epsg specifically from fiona.crs 2013-11-21 18:25:49 -06:00
Kelsey Jordahl 86b0bb85f6 BUG: Workaround name change for Yahoo API in geopy 2013-11-21 18:25:23 -06:00
Kelsey Jordahl 800339ac43 BUG: geopy 0.96 removed Google Maps v2 API because it has shut down. 2013-11-21 17:47:12 -06:00
Kelsey Jordahl c7cce56024 Merge pull request #77 from kjordahl/feature/py3
A start towards python 3 support
2013-11-20 19:07:09 -08:00
Kelsey Jordahl a93c3a904c BLD: Add six to requirements 2013-11-18 22:55:24 -06:00
Kelsey Jordahl f35ad1e972 TST: Import from_epsg explicitly in tests 2013-11-18 22:45:00 -06:00
Kelsey Jordahl 559e5f608c TST: Invoke unittest.main as script for test_geoseries 2013-11-18 22:45:00 -06:00
Kelsey Jordahl 28f6b699f7 PY3: Use six.iteritems for iterating over a dictionary 2013-11-18 22:45:00 -06:00
Kelsey Jordahl b91a133818 PY3: Use six.string_types 2013-11-18 22:43:56 -06:00
Kelsey Jordahl 1ad179254a BUG: Use sys.version_info to detect python 3 2013-11-18 22:42:09 -06:00
Kelsey Jordahl c2d5493516 ENH: Protect fiona imports so that they are not required at module level 2013-11-18 22:42:09 -06:00
Kelsey Jordahl 55f43a54ef BUG: Correctly decode git tag in Python 3 (from pandas setup.py) 2013-11-18 22:42:09 -06:00
Kelsey Jordahl e45bc1d098 TST: Clean up the rebase and use assertRaises context manager in test 2013-11-18 22:34:33 -06:00
Carson Farmer a19e12ce99 fix typo in test name 2013-11-18 22:31:20 -06:00
Carson Farmer a99b759ba4 fix typo in test name 2013-11-18 22:31:20 -06:00
Carson Farmer bb4b7f68db BUG: Check that set_geometry will set valid geometry column 2013-11-18 22:31:20 -06:00
Carson Farmer 24bfe85976 update gitignore 2013-11-18 22:29:35 -06:00
Kelsey Jordahl 10d806e01d Merge pull request #72 from jtratner/geo-setitem-tests
TST: Add a few test cases for changing geometries
2013-11-18 11:34:29 -08:00
Kelsey Jordahl 06c335efe3 Merge pull request #66 from jtratner/fix-perf-issue
PERF: Use faster version of list comprehension
2013-11-14 05:56:18 -08:00
Jeff Tratner 0dc6f9e826 PERF: Use faster version of list comprehension
Using index lookups is ~20% slower (and less pythonic) than unpacking
with comprehension. Plus use lazy iterator.
2013-11-14 07:14:35 -05:00
Jeff Tratner f33d8859a7 TST: Add a few test cases for changing geometries 2013-11-14 06:52:32 -05:00
Kelsey Jordahl 40b32dbe5d Merge pull request #70 from jwass/singlegeomfix
BUG: Fix GeoSeries constructor for multi geoms
2013-11-13 05:21:43 -08:00
Kelsey Jordahl a0e2ad9d6d Merge pull request #67 from kjordahl/test/python_2.6_support
Python 2.6 support
2013-11-13 04:51:25 -08:00
Kelsey Jordahl b1ced78b16 BUG: Put back crs arguments that my merge had overwritten 2013-11-12 23:09:58 -05:00
Kelsey Jordahl cae8249421 DOC: Update docs to list supported python versions 2013-11-12 22:58:32 -05:00
Kelsey Jordahl 159d69e1e0 TST: Explicitly use relative imports and clean up tests 2013-11-12 22:58:31 -05:00
Kelsey Jordahl 85365657d7 TST: Use local unittest for python 2.6 compatability in test_types 2013-11-12 22:56:18 -05:00
Kelsey Jordahl 2008b33074 Revert "TST: unittest2 didn't like skipIf"
This reverts commit e70ea78321749b8229fdfd1b359b050af1c25a34.
2013-11-12 22:56:18 -05:00
Kelsey Jordahl eb4e198e81 TST: Use local unittest for python 2.6 compatability in test_geocode 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 266f30f222 TST: unittest2 didn't like skipIf 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 30576cf090 BUG: format statements need a position in python 2.6 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 6798c65a99 BUG: OrderedDict is not in collections module in python 2.6 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 8c9e83aa34 TST: pip install, don't source, the 2.6 requirements 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 9ef3d20b11 TST: Separate python 2.6 requirements for Travis CI and add ordereddict 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 249380ee69 TST: Clean up tests with assertRaises context manager. 2013-11-12 22:56:17 -05:00
Kelsey Jordahl d05dc35077 BUG: Everybody likes dictionary comprehensions. Except Python 2.6. 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 46b6bb95a7 TST: Enable Travis CI for Python 2.6 2013-11-12 22:56:17 -05:00
Kelsey Jordahl 17d933c04a TST: Attempt to import unittest2 if running python 2.6 2013-11-12 22:56:17 -05:00
Jacob Wasserman bb58ce7c35 TST: Test GeoSeries constructor with index
Make sure that when a single geometry is passed in and the index contains
multiple elements, the geometry is replicated in the GeoSeries.

As suggested by @jtratner in Issue #70.
2013-11-12 22:17:44 -05:00
Jacob Wasserman 1cacbf5f70 BUG: Fix GeoSeries constructor for multi geoms
Because Multi* geometries are iterable, they get expanded when passed into
np.array(). Protect against this by passing in all base geometries as a
single element list. They will not be expanded into their individual
parts.

Switch on older versions of pandas when Series overrode __new__ instead
of __init__.
2013-11-12 22:17:33 -05:00
Kelsey Jordahl d080911c04 Merge pull request #64 from jwass/crstest
Crstest
2013-11-11 18:36:49 -08:00
Kelsey Jordahl f6e545cdde Merge pull request #63 from jwass/travis-fix
Fix travis CI build
2013-11-11 17:26:36 -08:00
Jacob Wasserman b557e44c3c Fix tests to include crs when comparing GeoSeries 2013-11-11 19:21:13 -05:00
Jacob Wasserman 37377cf9ea TST: Add check_crs flag to assert_geoseries_equal 2013-11-11 19:21:13 -05:00
Jacob Wasserman b94e805b0a Fix travis CI build
Use ubuntugis stable.
2013-11-11 19:00:00 -05:00
Kelsey Jordahl 2883bea127 Merge pull request #61 from kjordahl/bug/setup_package_io
BUG: Add io to the packages list
2013-11-08 20:04:18 -08:00
Kelsey Jordahl 52c718896f BUG: Add io to the packages list 2013-11-08 22:49:40 -05:00