Show us why the public should always call a land surveyor

Where are you surveying?

Land Surveyor

Fellow Surveyors,

Been stuck on this one for a little while now.

I recently converted two .t02 files (each being 1 hour in duration) into RINEX files using a "Convert to RINEX" utility.

Issue now is that I need to merge these two RINEX files into 1 (2 hour observation duration) file. I need to do this as the photogrammetry software (PIX4D) will only let me upload 1 RINEX file to post-process my flights.

I have tried opening them in notepad, and pasting the data manually such that it is one file (not including the header), however this does not work.

Any suggestions!!??

Thanks in advance!


You need to be a member of Land Surveyors United - Global Surveying Community to add thoughts!

Join Land Surveyors United - Global Surveying Community

Email me when people reply –


  • Land Surveyor

    If there is no time gap between the two (or more) RINEX files, you can merge them manually, but there are useful tools to do it.

    If you do it manually, you need to take care to the header, and you have to edit manually the "Time of last observation"

    Easier way to download GPS Toolkit:

    Use MergeRinObs.exe utility for observation files and MergeRinNav utility for Navigation files (if you have Meteo files, than use MergeRinMet).

    These utilities are running from CommandLine window, but easy to use (eg. MergerinObs.exe -i Rinex1.RNX Rinex2.rnx Rinex3.rnx -o Rinex_all.rnx)

    Unfortunately the utility is not modifying the Time of last observation row, you have to do it manually - just take a look at the last RINEX file, and copy the row about this variable, and overwrite the adequate row in the merged file.

    If you are using your own software, you have to merge the NAV files also. If you are using a 3rd party service for post processing, such as AusPos, Trimble CenterPoint RTX, or OPUS (from NGS), you don't need to merge the Navigation files, they have their own NAV file.

    Unfortunately I didn't find any utility for merging Glonass Nav data, I do it manually.

    WebHome < Documentation < Foswiki
  • Try to use teqc sw from unavco with "-phc" option. Unfortunately it doesn't have GUI, so I use it with FAR manager.

    And one moment, is there any time between two files? If not all will be ok.

  • Survey Legend

    Have you seen this resource? Ā 


    The program operates in the DOS window. Alternatively, you can simply run "gmerge.exe" with a double click or with "Run..." in your "Start" menu. (I use the DOS window myself.)

    Four files are needed for input. One file is generated as output. The names are fixed. The files must be in the subdirectory where you are working.

    Input Files:

    point1.rnxĀ -- ASCII, RINEX format. This point is treated as a base station by my some of my programs.

    point2.rnxĀ -- ASCII, RINEX format. This point is treated as a rover or unknown station by my some of my programs.

    posĀ -- ASCII, special format, described below. This file holds reference coordinates for known stations. For example, one could put coordinates for local CORS stations in this file. If gmerge.exe doesn't find a 4 character ID in theĀ posĀ file, it will use the coordinate in the RINEX header, instead. But, while gmerge.exe is not picky, it is mandatory to have aĀ posĀ file.

    antĀ -- ASCII, NGS format, described below. This file holds antenna phase center (ARP/L1/L2) relations and phase center variations with vertical angle. This file is an exact copy ofĀ ant_info.003, maintained by the National Geodetic Survey. If gmerge.exe doesn't find an antenna ID in theĀ antĀ file, it will assume that the L1 (and L2) phase centers are coincident with the Antenna Reference Point (ARP) and that there is no phase center variation with vertical angle. As before, gmerge.exe is not picky, but it is mandatory to have anĀ antĀ file.

    Output File:

    gmerge.outĀ -- ASCII, "gmerge" format. This is merged pseudorange and carrier phase, at a common interval and data rate. The header is generated with the best available information on coordinates and antenna properties.


    The program is pretty straightforward. It reformats data from two different RINEX inputs. The WGS84 ellipsoid is used; but it can be considered the same as the GRS80 ellipsoid at the sub-millimeter level. Nothing is done about reference frame origins. The ITRF frames are not the same as the NAD 83 frame (to the tune of a couple of meters). So, don't mix and match ITRF and NAD 83 in your "pos" file unless you know what you are doing.

    A note on operation:Ā gmergeĀ will preferentially output the P(Y) pseudorange over a C/A pseudorange on L1.

    I am in a gradual (very gradual) process of converting my software to work with theĀ gmergeĀ format, instead of directly with RINEX files.Ā 

    THIS looks like a tool which you might find helpful called MergeRinĀ  (haven't tested it..)

    also attached is some documentation you might find helpful until someone else comes along with more experience with it.. Ā good luck!

    Merge Two RINEX Files
This reply was deleted.

Answer As your Facebook Page

Global Surveyor Forum

Latest Discussions by Category

Add Your Expertise

How to Utilize Surveyor Forums

How to use Forums
Our forums on Land Surveyors United are here to be used as much for finding help with problems in the field as the are for you to express your opinions on anything that has to do with land surveying in general. Feel free to share anything that is on your mind, as long as it isn't meant to damage another member's reputation. Please keep it clean and help insure that everyone has the opportunity to enjoy the benefits of being part of a community that grows together.

We are committed to allowing freedom of expression for all of our members, and that includes maintaining a safe space for people with opposing views to express themselves. We get posts from all over the country and even the globe, so needless to say, people come with different viewpoints on lad surveying practices and processes. We see this diversity and variety as a real strength-- dialogue and debate are an integral part of the educational process, as well as an important tool in exploring different sides of complex issues.

All Community Hubs inside the community have their own forum for asking specific questions to other surveyors, by location, equipment type, etc.

Global Forums

Blog Topics by Tags

Monthly Archives