Git Product home page Git Product logo

cvms5's People

Watchers

 avatar  avatar  avatar

cvms5's Issues

utm_geo() routines needs correction

Please note that your utm_geo() routine provided to convert long/lat to UTM coordinates contains two 2 mistakes:

source file: utm_geo.f90

line 95:

f3=15.d0*e4/256.d0*45.d0*e6/1024.d0

wrong: f3=15.d0*e4/256.d0*45.d0*e6/1024.d0
correct would be: f3=15.d0*e4/256.d0 + 45.d0*e6/1024.d0

line 160:

f3=5.d0*3.d0*t1+10.d0*c1-4.d0*c1**2-9.d0*ep2

wrong: f3=5.d0*3.d0*t1+10.d0*c1-4.d0*c1**2-9.d0*ep2
correct would be: f3=5.d0 + 3.d0*t1+10.d0*c1-4.d0*c1**2-9.d0*ep2

the above corrections could be verified by looking at the original publication:
Snyder, J.P., Map projections - a working manual, USGS professional paper 1395, 1987
https://doi.org/10.3133/pp1395

line 95 mistake/correction: see page 61, eq. 3-21 for M
line 160 mistake/correction: see page 63, eq. 8-17 for phi

the above error will lead to a positional error of ~7 m when converting lon/lat to UTM.

best regards,
daniel

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.