<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">It looks like the where method on geovector is overloaded so that you can pass in sql. But I get the error below which suggests it doesn’t. As I write this I’m guessing that the python bindings can only know about one implementation. If that’s true it would be great to have a switch so I could pass in sql and not just be limited to an = comparison.</div><div class=""><br class=""></div><div class="">Rob</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">(venv)<b class="">rbraswell@rio:~/repo/gips$ </b>gips_inventory modis -p indices -d 2010-100 -s /atlas/projects/cyanomap/vectors/ -v4 -w “area > 100" </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><b class="">GIPS Data Inventory (v0.8.0rc6)</b></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Traceback (most recent call last):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> File "/home/rbraswell/repo/gips/gips/scripts/inventory.py", line 46, in main</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> args.tiles, args.pcov, args.ptile)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> File "/home/rbraswell/repo/gips/gips/core.py", line 94, in factory</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> features = open_vector(site, key, where)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> File "/home/rbraswell/repo/gips/gips/utils.py", line 275, in open_vector</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> return vector.where(where)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> File "/usr/local/lib/python2.7/dist-packages/gippy/gippy.py", line 5301, in where</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""> return _gippy.GeoVector_where(self, *args)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">TypeError: GeoVector_where() takes exactly 3 arguments (2 given)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Data inventory error: GeoVector_where() takes exactly 3 arguments (2 given)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">(venv)<b class="">rbraswell@rio:~/repo/gips$ </b></div></div><div class=""><b class=""><br class=""></b></div></body></html>