We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 348a135 commit 41d3fa2Copy full SHA for 41d3fa2
tests.py
@@ -35,6 +35,12 @@ def test_field_filter(self):
35
# We should only have one property, OBJECTID.
36
features = districts.get(0, where="STATE_ABBR = 'IN'", fields=['OBJECTID'])
37
self.assertEqual(len(features.get('features')[0].get('properties')), 1)
38
+
39
+ def test_multiple(self):
40
+ districts = ArcGIS("http://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb/Legislative/MapServer")
41
+ # Gets 114th and 113th congressional districts for hawaii.
42
+ features = districts.getMultiple([0, 12], where="STATE = 15")
43
+ self.assertEqual(len(features.get('features')), 4)
44
45
46
0 commit comments