Last active
August 29, 2015 14:19
-
-
Save byronvoorbach/abc0376f930287a467f7 to your computer and use it in GitHub Desktop.
Curl JQ, retrieve all coordinates for HMPalen with certain classification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -XGET "http://localhost:9200/geo/hmpaal/_search?size=5000" -d' {"query":{"filtered":{"filter":{"term":{"lbiClassificatie":"lbi1"}}}}}' | jq -r '.hits.hits[]._source.locatie | join("/")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment