https://github.com/marlo22/geoconverter
A simple CLI tool for fast CRS transformation of geographic coordinates.
https://github.com/marlo22/geoconverter
Last synced: 11 months ago
JSON representation
A simple CLI tool for fast CRS transformation of geographic coordinates.
- Host: GitHub
- URL: https://github.com/marlo22/geoconverter
- Owner: marlo22
- Created: 2023-08-14T10:42:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-27T13:08:10.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T21:38:35.529Z (over 1 year ago)
- Language: Rust
- Size: 353 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# geoconverter
A simple CLI tool for fast CRS transformation of geographic coordinates.
## Quick examples
- Transform coordinates passed directly as a CLI argument from EPSG:4326 to EPSG:3857.
```sh
./geoconverter -i 4326 -o 3857 -c "[[21.00017724164357, 52.22746422475734], [20.99920222484198, 52.22725414500391]]"
```
- Transform file coordinates from EPSG:4326 to EPSG:3857.
```sh
./geoconverter -i 4326 -o 3857 -f line.json
```
As a result you get a prettiefied JSON with transformed coordinates:
```
[
[
[
5813934.7229239,
2391899.722129077
]
],
[
[
5813911.336952722,
2391783.462034956
]
]
]
```