• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OSGeo / proj.4 / 618
86%

Build:
DEFAULT BRANCH: master
Ran 19 May 2017 12:09PM UTC
Jobs 1
Files 192
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
618

push

travis-ci

web-flow
Unit conversion pseudo-projection.

A pseudo-projection that can be used to convert units of input and
output data. Primarily useful in pipelines.

Unit conversion is performed by means of a pivot unit. The pivot unit
for distance units are the meter and for time we use the modified julian
date. A time unit conversion is performed like

    Unit A -> Modified Julian date -> Unit B

distance units are converted in the same manner, with meter being the
central unit.

The modified Julian date is chosen as the pivout unit since it has a
fairly high precision, goes sufficiently long backwards in time, has no
danger of hitting the upper limit in the near future and it is a fairly
common time unit in astronomy and geodesy. Note that we are using the
Julian date and not day. The difference being that the latter is defined
as an integer and is thus limited to days in resolution. This approach
has been extended wherever it makes sense, e.g. the GPS week unit also
has a fractional part that makes it possible to determine the day, hour
and minute of an observation.

In- and output units are controlled with the parameters

    +xy_in, +xy_out, +z_in, +z_out, +t_in and +t_out

where xy denotes horizontal units, z vertical units and t time units.

Distance units are converted similar to what is already in use in PROJ.4.
To ease usage of the already defined conversion factors a new column
with the factors defined as doubles has been added to the pj_units array.
This simplifies the code significantly, since parsing the defined strings
can be avoided.

10869 of 14589 relevant lines covered (74.5%)

15713.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 618.1 (BUILD_NAME=linux_gcc DETAILS="linux, gcc") 19 May 2017 12:09PM UTC 0
74.5
Travis Job 618.1
Source Files on build 618
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #618
  • 2851ac9f on github
  • Prev Build on master (#611)
  • Next Build on master (#620)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc