here-cli
here-cli copied to clipboard
write spatial search to another space
A spatial search returns raw GeoJSON. While this can be redirected to geojson.tools using -w, it would also be useful to store this in a space.
We can currently pipe the output like this:
here xyz show ZjInp1qK --spatial --feature GIPnifRY,94110 -r | here xyz upload hcSiDRdT
However, it might more elegant to add an option to send the output to a third space:
here xyz show ZjInp1qK --spatial --feature GIPnifRY,94110 --save hcSiDRdT
or even
here xyz show ZjInp1qK --spatial --feature GIPnifRY,94110,hcSiDRdT
It would also be helpful to a token option for saving in a third party space:
here xyz show ZjInp1qK --spatial --feature GIPnifRY,94110,hcSiDRdT --token aWriteToken