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

OSGeo / proj.4 / 618 / 1
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 19 May 2017 12:09PM UTC
Files 192
Run time 9s
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

19 May 2017 11:03AM UTC coverage: 74.501% (+0.3%) from 74.202%
BUILD_NAME=linux_gcc DETAILS="linux, gcc"

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

Source Files on job 618.1 (BUILD_NAME=linux_gcc DETAILS="linux, gcc")
  • Tree
  • List 0
  • Changed 15
  • Source Changed 1
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 618
  • Travis Job 618.1
  • 2851ac9f on github
  • Prev Job for BUILD_NAME=linux_gcc DETAILS="linux, gcc" on master (#611.1)
  • Next Job for BUILD_NAME=linux_gcc DETAILS="linux, gcc" on master (#620.1)
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