[ckan-dev] Complex query example using geo options (esp using ckan-client)
Rufus Pollock
rufus.pollock at okfn.org
Wed Nov 27 09:56:01 UTC 2013
Rich Signell writes <https://github.com/okfn/ckanclient/issues/30>
It would be great to have a complex example of `package_search` added to
the documentation.
I can get this to work:
```
q = 'tags:sea_water_temperature'
ckan = ckanclient.CkanClient('http://catalog.data.gov/api/3')
d = ckan.action('package_search', q=q, rows=10)
```
but can't figure out how to pass a more complex request like
```
d={"q":"sea_water_temperature",
"extras":{"ext_bbox":"-121,45,-120,46"},
"fq": "res_format:WMS"}
```
He's also offering a 50 point bounty:
http://opendata.stackexchange.com/questions/1309/geospatial-temporal-and-keyword-search-using-ckan-api-on-data-gov-using-ckancli
@Rich: one small comment (and feel free to ignore) - in general we are
using standard stackoverflow for CKAN questions - see
http://stackoverflow.com/questions/tagged/ckan
Rufus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131127/d986a2a1/attachment-0002.html>
More information about the ckan-dev
mailing list