Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 453 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 453 Bytes

Proj4

A simple wrapper around the Proj.4 cartographic projections library.

Basic example:

using Proj4

wgs84 = Projection("+proj=longlat +datum=WGS84 +no_defs")
utm56 = Projection("+proj=utm +zone=56 +south +datum=WGS84 +units=m +no_defs")

transform(wgs84, utm56, [150 -27 0])
# Should result in [202273.913 7010024.033 0.0]

API documentation for the underlying C API may be found here: https://github.com/OSGeo/proj.4/wiki/ProjAPI