This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # ogrcat | |
| # produces line-delimited geojson features | |
| # Like `fio cat` but uses ogr2ogr under the hood | |
| ECHO_FEATURES="" | |
| ogr2ogr -f GeoJSON /vsistdout/ "$@" | while read line |