Created
January 5, 2024 15:47
-
-
Save arbakker/ef529fa9ec3a750a37cffb8c2ccba941 to your computer and use it in GitHub Desktop.
yq add fields to objects in array
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
yq -P < src/coordinate_transformation_api/assets/config.yaml '{"crs": [.crs | to_entries | .[] | .value.uri="http://www.opengis.net/" + (.key | split(":") | join("/0/"))] | from_entries}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment