Git Product home page Git Product logo

gauss-krueger's Introduction

gauss-krueger

JavaScript module for converting Gauß-Krüger-coordinates into WGS84 latitide and longitude, and vice versa. Supported zones: GK2 (EPSG:31466), GK3 (EPSG:31467), GK4 (EPSG:31468), GK5 (EPSG:31469), based on the the Bessel ellipsoide and Potsdam / Rauenberg datum.

npm version Build Status Greenkeeper badge dependency status dev dependency status license chat on gitter

Usage

const gk = require('gauss-krueger')

let wgs84 = gk.toWGS({x: 4591270, y: 5819620}) // {longitude: 13.34255019849783, latitude: 52.50210050984162}

let gk = gk.toGK({longitude: 13.4, latitude: 52.5}) // {x: 4595175.488530577, y: 5819460.402152777}

// The script guesses the GK zone based on the input coordinate longitude.
// You can also supply a zone directly via the zone parameter:
let gk5 = gk.toGK({longitude: 13.4, latitude: 52.5}, 5) // {x: 5391482.283752493, y: 5819737.58836849}

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.

gauss-krueger's People

Contributors

juliuste avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.