Last active
July 30, 2024 10:02
-
-
Save fabiofidanza/dd18dc26758a9acd03d5df48f0f9cd8f to your computer and use it in GitHub Desktop.
Invert coordinates in geoJSON
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
Search regex | |
\[[\s\n]+(\-*\d+.\d+),[\s\n]+(\-*\d+.\d+)[\s\n]+\] | |
( vscode \[[\s\n]+(-*\d+.\d+),[\s\n]+(-*\d+.\d+)[\s\n]+\] ) | |
Replace | |
[$2,$1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment