Skip to content

A simple CLI tool for fast CRS transformation of geographic coordinates.

Notifications You must be signed in to change notification settings

marlo22/geoconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geoconverter

A simple CLI tool for fast CRS transformation of geographic coordinates.

Tool preview

Quick examples

  • Transform coordinates passed directly as a CLI argument from EPSG:4326 to EPSG:3857.
./geoconverter -i 4326 -o 3857 -c "[[21.00017724164357, 52.22746422475734], [20.99920222484198, 52.22725414500391]]"
  • Transform file coordinates from EPSG:4326 to EPSG:3857.
./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
    ]
  ]
]

About

A simple CLI tool for fast CRS transformation of geographic coordinates.

Resources

Stars

Watchers

Forks

Packages

No packages published