Manualx Manual RTKLIB 2.4.2

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 183 [warning: Documents this large are best viewed by clicking the View PDF Link!]

Copyright(C)20072013,T.Takasu.Allrightsreserved.
i
RTKLIBver.2.4.2Manual
April29,2013
Contents
1 Overview..............................................................................................................................................................1
2 UserRequirements..............................................................................................................................................3
2.1 SystemRequirements.................................................................................................................................3
2.2 License..........................................................................................................................................................4
3 Instructions..........................................................................................................................................................5
3.1 InstallationandUninstallation..................................................................................................................5
3.2 RealTimePositioningwithRTKNAVI.....................................................................................................7
3.3 ConfigureInput,OutputandLogStreamsforRTKNAVI...................................................................22
3.4 PostProcessingAnalysiswithRTKPOST..............................................................................................29
3.5 ConfigurePositioningOptionsforRTKNAVIandRTKPOST............................................................34
3.6 ConvertReceiverRawDatatoRINEXwithRTKCONV.....................................................................50
3.7 ViewandPlotSolutionswithRTKPLOT...............................................................................................55
3.8 ViewandPlotObservationDatawithRTKPLOT.................................................................................69
3.9 DownloadGNSSProductsandDatawithRTKGET............................................................................77
3.10 NTRIPBrowser..........................................................................................................................................83
3.11 UseCUIAPsofRTKLIB...........................................................................................................................86
4 BuildAPsorDevelopUserAPswithRTKLIB..............................................................................................87
4.1 RebuildGUIandCUIAPsonWindows................................................................................................87
4.2 BuildCUIAPs............................................................................................................................................88
4.3 DevelopandLinkUserAPswithRTKLIB.............................................................................................89
AppendixA CUICommandReferences...........................................................................................................90
A.1 RTKRCV.....................................................................................................................................................90
A.2 RNX2RTKP.................................................................................................................................................93
A.3 POS2KML...................................................................................................................................................95
A.4 CONVBIN..................................................................................................................................................96
A.5 STR2STR.....................................................................................................................................................99
ii
AppendixB FileFormats..................................................................................................................................101
B.1 PositioningSolutionFile.........................................................................................................................101
B.2 SBASLogFile...........................................................................................................................................104
B.3 SolutionStatusFile..................................................................................................................................106
B.4 ConfigurationFile...................................................................................................................................109
B.5 URLListFileforGNSSData..................................................................................................................112
AppendixC APIReferences.............................................................................................................................114
AppendixD FilesandMessages......................................................................................................................122
D.1 SupportedRINEXFiles...........................................................................................................................122
D.2 SupportedReceiverMessages...............................................................................................................123
D.3 SupportedSignalIDs/ObservationTypes............................................................................................125
D.4 DefaultPrioritiesofMultipleSignals...................................................................................................127
D.5 ReceiverDependentInputOptions......................................................................................................128
AppendixE ModelsandAlgorithms..............................................................................................................129
E.1 TimeSystem.............................................................................................................................................131
E.2 CoordinatesSystem................................................................................................................................134
E.3 GNSSSignalMeasurementModels......................................................................................................137
E.4 GNSSSatelliteEphemeridesandClocks..............................................................................................142
E.5 TroposphereandIonosphereModels...................................................................................................149
E.6 SinglePointPositioning..........................................................................................................................154
E.7 Kinematic,StaticandMovingBaseline................................................................................................161
E.8 PPP(PrecisePointPositioning)..............................................................................................................171
AppendixF GNSSSignalSpecifications........................................................................................................177
References................................................................................................................................................................179
RTKLIBver.2.4.2Manual
1
1 Overview
RTKLIBisanopensourceprogrampackageforstandardandprecisepositioningwithGNSS(global
navigationsatellitesystem).RTKLIBconsistsofaportableprogramlibraryandseveralAPs(application
programs)utilizingthelibrary.ThefeaturesofRTKLIBare:
(1) Itsupportsstandardandprecisepositioningalgorithmswith:
GPS[1][2][3],GLONASS[4],Galileo[5],QZSS[6],BeiDou[7]andSBAS[8]
(2) ItsupportsvariouspositioningmodeswithGNSSforbothrealtime‐andpostprocessing:
Single,DGPS/DGNSS,Kinematic,Static,MovingBaseline,Fixed,PPPKinematic,PPPStaticand
PPPFixed.
(3) ItsupportsmanystandardformatsandprotocolsforGNSS:
RINEX2.10[9],2.11[10],2.12[11]OBS/NAV/GNAV/HNAV/LNAV/QNAV,RINEX3.00[12],3.01[13],3.02[14]
OBS/NAV,RINEX3.02CLK[15],RTCMver.2.3[16],RTCMver.3.1(withamendment15)[17],RTCM
ver.3.2[18],BINEX[19],NTRIP1.0[20],NMEA0183[21],SP3c[22],ANTEX1.4[23],IONEX1.0[24],NGSPCV
[25]andEMS2.0[26](referAppendixD.1andD.2fordetails).
(4) ItsupportsseveralGNSSreceiversʹproprietarymessages:
NovAtel[27]:OEM4/V/6,OEM3,OEMStar,SuperstarII,Hemisphere[28]:Eclipse,Crescent,ublox[29]:
LEA4T/5T/6T,SkyTraq[30]:S1315F,JAVAD[31]GRIL/GREIS,Furuno[32]GW10II/IIIandNVS[33]
NV08CBINR(referAppendixD.2fordetails).
(5) Itsupportsexternalcommunicationvia:
Serial,TCP/IP,NTRIP,locallogfile(recordandplayback)andFTP/HTTP(automaticdownload).
(6) ItprovidesmanylibraryfunctionsandAPIs(applicationprograminterfaces):
Satelliteandnavigationsystemfunctions,matrixandvectorfunctions,timeandstringfunctions,
coordinatestransformation,inputandoutputfunctions,debugtracefunctions,platformdependent
functions,positioningmodels,atmospheremodels,antennamodels,earthtidesmodels,geoidmodels,
datumtransformation,RINEXfunctions,ephemerisandclockfunctions,preciseephemerisandclock
functions,receiverrawdatafunctions,RTCMfunctions,solutionfunctions,GoogleEarth[34]KML
converter,SBASfunctions,optionsfunctions,streamdatainputandoutputfunctions,integer
ambiguityresolution,standardpositioning,precisepositioning,postprocessingpositioning,stream
serverfunctions,RTKserverfunctions,downloaderfunctions.
(7) ItincludesthefollowingGUI(graphicaluserinterface)andCUI(commandlineuserinterface)APs.()
showsthesectiondescribingtheinstructionforeachAPinthemanual.
RTKLIBver.2.4.2Manual
2
FunctionGUIAPCUIAPNotes
(a)APLauncherRTKLAUNCH
(3.1)‐ 
(b)RealTimePositioningRTKNAVI
(3.2,3.3,3.5)
RTKRCV
(3.11,A.1)
(c)CommunicationServerSTRSVR,
(3.3)
STR2STR
(3.11,A.5)
(d)PostProcessingAnalysisRTKPOST
(3.4,3.5)
RNX2RTKP
(3.11,A.2)
(e)RINEXConverterRTKCONV
(3.6)
CONVBIN
(3.11,A.4)
(f)PlotSolutionsand
ObservationData
RTKPLOT
(3.7,3.8)‐ 
(g)DownloaderforGNSS
ProductsandData
RTKGET
(3.9)‐ 
(h)NTRIPBrowserSRCTBLBROWS
(3.10)‐ 
(8) AlloftheexecutablebinaryAPsforWindowsareincludedinthepackageaswellaswholesource
programsofthelibraryandtheAPs.
RTKLIBGUIAPsonWindows7
RTKLIBver.2.4.2Manual
3
2 User Requirements
2.1 System Requirements
TheexecutablebinaryGUIandCUIAPsincludedinthepackagerequireMicrosoftWindows[35]
environment.OntheotherOSorenvironment,youhavetocompileandbuildCUIAPsbyyourself.
AllofthelibraryfunctionsandAPIswerewritteninANSIC(C89).Thelibraryinternallyuseswinsockand
WIN32threadforWindowswiththecompileroption‐DWIN32andthestandardsocketandpthread
(POSIXthread)forLinux/UNIXwithoutanyoption.Bysettingthecompileroption‐DLAPACKor‐DMKL,
thelibraryusesLAPACK/BLAS[36]orIntelMKL[37]forfastmatrixcomputation.
TheCUIAPswerealsowritteninANSIC.ThelibraryandCUIAPscanbebuiltonmanyenvironmentslike
gcconLinux.TheGUIAPswerewritteninC++andutilizeEmbarcadero/BorlandVCL(visualcomponent
library)[38]forGUItoolkits.AlloftheexecutablebinaryAPsinthepackagewerebuiltbyEmbarcaderoC++
builderXE2StarterEditiononWindows7.
TheexecutableGUIAPsweretestedonWindows7(64bit).TheCUIAPswerealsobuiltandtestedon
Ubuntu[39]11.04Linuxandx86CPU.
Notes:PreviousversionsofRTKLIBuntilver.2.4.1werebuiltbyafreeeditionofBorlandC++(TurboC++
2006).TurboC++,however,isnolongersupportedinver.2.4.2becauseoftypeincompatibilityproblemof
GUIstringsbetweenver.2.4.2andthepreviousones.
RTKLIBver.2.4.2Manual
4
2.2 License
TheRTKLIBsoftwarepackageisdistributedunderthefollowingBSD2clauselicense[40]andadditional
twoexclusiveclauses.Usersarepermittedtodevelop,produceorselltheirownnoncommercialor
commercialproductsutilizing,linkingorincludingRTKLIBaslongastheycomplywiththelicense.
Notes:PreviousversionsofRTKLIBuntilver.2.4.1hadbeendistributedunderGPLv3[59]license.
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
Copyright(c)20072013,T.Takasu,Allrightsreserved.
Redistributionanduseinsourceandbinaryforms,withorwithoutmodification,arepermittedprovided
thatthefollowingconditionsaremet:
Redistributionsofsourcecodemustretaintheabovecopyrightnotice,thislistofconditionsandthe
followingdisclaimer.
Redistributionsinbinaryformmustreproducetheabovecopyrightnotice,thislistofconditionsand
thefollowingdisclaimerinthedocumentationand/orothermaterialsprovidedwiththedistribution.
Thesoftwarepackageincludessomecompanionexecutivebinariesorsharedlibrariesnecessaryto
executeAPsonWindows.Theselicensessucceedtotheoriginalonesofthesesoftware.
THISSOFTWAREISPROVIDEDBYTHECOPYRIGHTHOLDERSANDCONTRIBUTORSʺASISʺAND
ANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THEIMPLIED
WARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSEARE
DISCLAIMED.INNOEVENTSHALLTHECOPYRIGHTHOLDERORCONTRIBUTORSBELIABLEFOR
ANYDIRECT,INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIALDAMAGES
(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENTOFSUBSTITUTEGOODSORSERVICES;LOSS
OFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)HOWEVERCAUSEDANDONANY
THEORYOFLIABILITY,WHETHERINCONTRACT,STRICTLIABILITY,ORTORT(INCLUDING
NEGLIGENCEOROTHERWISE)ARISINGINANYWAYOUTOFTHEUSEOFTHISSOFTWARE,EVEN
IFADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGE.
RTKLIBver.2.4.2Manual
5
3 Instructions
3.1 Installation and Uninstallation
(1) Extracttheprogrampackagertklib_<ver>.ziporrtklib_<ver>_bin.zip toappropriate
directory<install dir>(<ver>indicatestheversionnumber).TheRTKLIBdirectorystructureisas
follows.
rtklib_<ver>
\src  :SourceprogramsofRTKLIBlibrary*
\rcv :SourceprogramsdependingonGPS/GNSSreceivers*
\bin  :ExecutablebinaryAPsandDLLsforWindows
\data  :SampledataforAPs
\app :BuildenvironmentforAPs*
\rtknavi :RTKNAVI (GUI)*
\rtknavi_mkl :RTKNAVI_MKL (GUI)*
\strsvr :STRSVR (GUI)*
\rtkpost :RTKPOST (GUI)*
\rtkpost_mkl :RTKPOST_MKL (GUI)*
\rtkplot :RTKPLOT (GUI)*
\rtkconv :RTKCONV (GUI)*
\srctblbrows  :NTRIPBrowser (GUI)*
\rtkget
  :RTKGET (GUI)*
\rtklaunch :RTKLAUNCH (GUI)*
\rtkrcv
:RTKRCV (CUI)*
\rnx2rtkp :RNX2RTKP (CUI)*
\pos2kml :POS2KML (CUI)*
\convbin :CONVBIN (CUI)*
\str2str :STR2STR (CUI)*
\appcmn :CommonroutinesforGUIAPs*
\icon :IcondataforGUIAPs*
\lib :Librariesgenerationenvironment*
\test :Testprogramanddata*
\util :Utilities*
\doc :Documentfiles
*Notincludedinthebinarypackagertklib_<ver>_bin.zip
RTKLIBver.2.4.2Manual
6
(2) CreatetheshotcutsoftheGUIAPexecutablebinariesin<install dir>\rtklib_<ver>\bin.To
executeCUIAPs,add<install dir>\rtklib_<ver>\bintothecommandpath.
(3) TheGUIandCUIAPsinRTKLIBneverutilizetheWindowsregistry.Touninstallthepackage,simply
deletethewholefilesanddirectoriesintheinstalleddirectory.
(4) OptionalsettingsforGUIAPsaresavedinINIfiles(*.ini)usuallyplacedinthedirectory<install
dir>\rtklib_<ver>\bin.NotethatthedirectoryfortheINIfilesischangedinver.2.4.2.To
succeedyouroptionalsettingsforthepreviousversionRTKLIBAPs,pleasecopytheINIfiles(*.ini)in
c:\Windowstothedirectory<install dir>\rtklib_<ver>\bin.
(5) SomeGUIAPs(RTKCONV,RTKPOST,RTKNAVI,RTKGETandSTRSVR)canbeexecutedwiththe
commandlineoption-i <inifile>.ini
toselectanalternativeINIfileforanotheroptionalsettings.
YoucanswitchoptionsforsuchAPsbyusingthecommandlineoptionaswellastheoption-t
<title> tochangethewindowtitle.SoyoucanconfiguremultipleshortcutsforthesameGUIAP
withdifferentoptionsbysettingthepropertiesoftheseshortcuts.
(6) TouseRTKPOST_MKLorRTKNAVI_MKL,whichistheIntelMLKlibrarylinkedversionRTKPOST
orRTKNAVIforfastermatrixcomputationonmultiplecoreCPUormultipleprocessorPCs,pleaseset
theWindowsenvironmentvariableOMP_NUM_THREADSto2,4or8accordingtothenumberofthe
CPUcores.Thatenablesmultithreadingmatrixcomputationinordertoshortenprocessingtime.
(7) ToexecuteGUIAPseasily,anAPlauncherapplicationRTKLAUNCHisaddedinver.2.4.2.Torun
RTKLAUNCH,execute<install dir>\rtklib_<ver>\bin\rtklaunch.exe.YoucanclickAP
iconsintheRTKLAUNCHwindoworselectpopupmenusatthetasktrayiconinordertoexecute
RTKLIBAPs.RTKLAUNCHacceptstheoption-mkltolaunchRTKPOST_MKLandRTKNAVI_MKL
insteadofRTKPOSTandRTKNAVI,andtheoption-traytostartthelauncherasatasktrayicon.
Figure3.11RTKLAUNCHwindowandlaunchericonsforAPs
RTKPLOTRTKCONVSTRSVR RTKPOST NTRIPBrowser RTKNAVIRTKGET
Buttontoiconizein
WindowsTaskTray
RTKLIBver.2.4.2Manual
7
3.2 Real-Time Positioning with RTKNAVI
AnrealtimepositioningAPRTKNAVIinputsrawobservationdataofGPS/GNSSreceiversandexecute
navigationprocessinginrealtime.BysettingthepositioningmodetoKinematicandconfiguringtherover
andthebasestationreceiverdatainputs,RTKGPS/GNSSisenabledwithOTF(onthefly)integer
ambiguityresolution.
(1) ExecutethebinaryAPfile<install dir>\rtklib_<ver>\bin\rtknavi.exe.(doubleclickthe
iconorfullinthepathinthecommandconsole)YoucanseethemainwindowofRTKNAVI. Youcan
alsoexecute<install dir>\rtklib_<ver>\bin\rtknavi_mkl.exeinstead.

Figure3.21MainWindowofRTKNAVI
(2) ThefollowingfigureshowsthedataflowofRTKNAVI.YouhavetosetupInputStreams,Output
Streams(optional)andLogStreams(optional)forrealtimepositioning.Refer3.3ConfigureInput,
OutputandLogStreamsforRTKNAVIforseveralsampleconfigurationsofthesestreams.

Operation
Buttons
TimeDisplay
Solution
Display
RTKMonitor
Button
Input/Output/Log
Stream
Status/Settin
g
s
SignalLevel/
SatelliteVisibility
Display
MessageAreaSaveLogButton
DisplaySwitch
RTKLIBver.2.4.2Manual
8
Figure3.22DataFlowofRTKNAVI
(3) ForrealtimepositioningwithRTKNAVI,youhavetoinputtherawobservationdataandsatellite
ephemeridesfromtheGPS/GNSSreceivers.Tosettheinputstream,pushthebuttonIuppercenter
inthemainwindow.YoucanseetheʺInputStreamsʺdialog.
Figure3.23InputStreamsDialogofRTKNAVI
(4) CheckandsetthestreamtypeofRover,BasestationorCorrectioninthedialog.Ifyousetthe
ʺPositioningModeʺ optionʺSingleʺ,theinputstreamsforʺBasestationʺ andʺCorrectionʺ arenot
required.Thestreamtypescanbeselectedfromthefollowingoptions.
(a)Serial :Inputdatafromaserialport(RS232CorUSB)
(b)TCPClient :ConnecttoaTCPserverandinputdataviatheTCPconnection
(c)TCPServer :AcceptaTCPclientconnectionandinputdataviatheTCPconnection
RTKNAVI
(1)InputRover
(2)InputBaseStation
(4)OutputSolution1
(5)OutputSolution2
(6)LogRover
(7)LogBaseStation
InputStreams(I)OutputStreams(O)
LogStreams(L)
GPS/GNSS
Receivers
(3)InputCorrection
(8)LogCorrection
Correction
Provider
RTKLIBver.2.4.2Manual
9
(d)NTRIPClient:ConnecttoaNTRIPcaster[20]andinputdataviatheNTRIP.
  NRTK(networkRTK)serversupportingNTRIPandRTCM2/3can
  alsobeusedforthebasestationviaInternet.
(e)File :Inputdatafromalogfile.
(f)FTP :InputdataafterdownloadingafilebyFTP(OnlyforCorrection)
(g)HTTP :InputdataafterdownloadingafilebyHTTP(OnlyforCorrection)
Youhavetoselectthestreamdataformatfromthefollowingoptionswiththepulldownmenuunder
ʺFormatʺ.ReferAppendixD.2forsupportedmessagesbyRTKLIB.Youshallconfigureyour
GPS/GNSSreceiverstooutputatleastGPS/GNSSobservationdataandnavigationdata(ephemerides).
Fordetailedoperationforthereceiversettings,refertheappropriatemanualsfortheGPS/GNSS
receivers.
(a)RTCM2 :RTCM2.3
(b)RTCM3 :RTCM3.0,3.1(withamendment15)and3.2
(c)NovAtelOEM6:NovAtelOEM4/V/6andOEMStarbinaryformat
(d)NovAtelOEM3:NovAtelOEM3(Millennium)binaryformat
(e)ublox :ubloxLEA4T,5Tand6Tbinaryformat
(f)SuperstarII :NovAtelSuperstarIIbinaryformat
(g)Hemisphere :HemisphereCrescent/Eclipsebinaryformat
(h)SkyTraq :SkyTraqS1315Fbinaryformat
(i)GW10 :FurunoGW10II/IIIbinaryformat
(j)Javad :JAVADGRIL/GREISbinaryformat
(k)NVSBINR :NVSNV08CBINRformat
(l)BINEX :BINEXformat(onlysupportsbigendian,forward,regularCRC)
(m)SP3 :SP3preciseephemeris(onlyforCorrection)
(5) IfyouselectʺSerialʺasthestreamtype,push...buttonunderʺOptʺlabeltosettheoptionsofʺPortʺ
selection,ʺBitrateʺ,ʺBytesizeʺ,ʺParityʺ,numberofʺStopbitsʺ andʺFlowControlʺ withtheʺSerial
Optionsʺdialog.
RTKLIBver.2.4.2Manual
10
Figure3.24SerialOptionDialogofRTKNAVI
(6) IncaseofselectingʺSerialʺ,ʺTCPClientʺ orʺTCPServerʺ asthestreamtype,youcanconfigurethe
startupandshutdowncommandstobesenttotheGPS/GNSSreceiverthroughthestream.Tosetup
thecommands,push...buttonundertheʺCmdʺ label.Fillincommandsinthetextfieldsinthe
ʺSerial/TCPCommandsʺ dialog.IfyoudonotcheckʺCommandsatstartupʺ orʺCommandsat
shutdownʺ,thestartuporshutdowncommandisnotsenttothereceiver.Youcanalsoloadthe
commandsfromacommandfilebypushingLoad...buttonorsavethecommandstoacommandfile
withSave...button.Acommandfileisjustatextfileincludingstartupcommandsandshutdown
commandsseparatedbyalinestartingwithʺ@ʺ.SamplecommandfilesforsometypicalGPS/GNSS
receiversarefoundat<install dir>\rtklib_<ver>/data/*.cmd.
Figure3.25Serial/TCPCommandsDialogofRTKNAVI
(7) Alinestartingwithʺ!ʺ inthecommandsistreatedasareceiverbinarycommand.Thefollowing
commandscanbeusedforublox,SkyTraqandNVSreceivers.Referthereceiversʹmanualsfordetails.
!UBX ...:ubloxLEA4T/5T/6Tcommand
!UBX CFG-PRT portid res0 res1 mode baudrate inmask outmask flags
!UBX CFG-USB vendid prodid res1 res2 power flags vstr pstr serino
RTKLIBver.2.4.2Manual
11
!UBX CFG-MSG msgid rate0 rate1 rate2 rate3
!UBX CFG-NMEA filter version numsv flags
!UBX CFG-RATE meas nav time
!UBX CFG-CFG clear_mask save_mask load_mask
!UBX CFG-TP interval length status time_ref res adelay rdelay udelay
!UBX CFG-NAV2 ...
!UBX CFG-DAT maja flat dx dy dz rotx roty rotz scale
!UBX CFG-INF protocolid res0 res1 mask0 mask1 mask2 mask3
!UBX CFG-RST navbbr reset res
!UBX CFG-RXM gpsmode lpmode
!UBX CFG-ANT flags pins
!UBX CFG-FXN flags treacq tacq treacqoff tacqoff ton toff res basetow
!UBX CFG-SBAS mode usage maxsbas res scanmode
!UBX CFG-LIC key0 key1 key2 key3 key4 key5
!UBX CFG-TM intid rate flags
!UBX CFG-TM2 ch res0 res1 rate flags
!UBX CFG-TMODE tmode posx posy posz posvar svinmindur svinvarlimit
!UBX CFG-EKF ...
!STQ ...:SkyTraqS1315Fbinarycommand
!STQ RESTART [arg...] system restart
!STQ CFG-SERI [arg...] configure serial port property
!STQ CFG-FMT [arg...] configure output message format
!STQ CFG-RATE [arg...] configure binary measurement output rates
!NVS ...:NVSNV08Cbinarycommand
!NVS CFG-PVTRATE [arg...] configure PVT rate
!NVS CFG-RAWRATE [arg...] configure raw data rate
!NVS CFG-SMOOTH configure smooth range
!NVS CFG-BINR xx [...] send binary command for NVS
(input hexadecimal series)
!WAIT time:waitfortime(ms)
(8) IfyouselectʺTCPClientʺorʺTCPServerʺasthestreamtype,youcansettheoptionsofʺTCPserver
addressʺ (forTCPClientonly)andtheʺPortʺ numberwiththeʺTCPClientOptionsʺ orʺTCPServer
Optionsʺ dialog.IfyouselectʺTCPServerʺ asthestreamtype,multipleTCPclientconnectionsare
allowed.
RTKLIBver.2.4.2Manual
12
Figure3.26TCPClientOptionsDialogofRTKNAVI
Figure3.27TCPServerOptionsDialogofRTKNAVI
(9) IfyouselectʺNTRIPClientʺasthestreamtype,youcansettheoptionsofʺNTRIPCasterHostʺaddress,
ʺPortʺ number,ʺMountpointʺ ofNTRIPcaster,ʺUserIDʺ andʺPasswordʺ withtheʺNTRIPClient
Optionsʺdialog.IfyoukeeptheʺPortʺfieldblank,thedefaultportnumber(2101)ofNTRIPisused.
NotethatʺUserIDʺcannotcontainʺ:ʺ.
Figure3.28NTRIPClientOptionsDialogofRTKNAVI
(10) IfyouselectʺFileʺasthestreamtype,inputthefilepathtothetextfieldInputFilePaths.Fillinthepath
directlyorselectafilewiththefileselectiondialogbypushing...button.Theinputfileshouldbea
receiverrawdatalog.YoucansetthereplayspeedandthestarttimeoffsetofthelogfileinTimefield
(Tousethefeature,youhavetorecordthelogwiththetimetagfile.)
RTKLIBver.2.4.2Manual
13
Figure3.29InputStreamsDialogofRTKNAVI
(11) BypushingtheʺOptʺ buttonrightoftheinputstreamʺFormatʺ,youcansetreceiverdependent
optionslikeʺ-GL1X -RL1C -EPHALLʺwiththeʺReceiverOptionʺdialog.Multipleoptionscanbeused
separatedbyspaces.Fordetailedreceiverdependentoptions,referAppendixD.4ReceiverDependent
InputOptions.Iftheinputobservationdatastreamcontainmultiplesignalsinafrequency,asignalin
useforsolutionsisselectedbythedefaultsignalprioritieswithoutsuchoptions.ReferAppendixD.3
DefaultPrioritiesforMultipleSignals.
Figure3.210ReceiverOptionDialogofRTKNAVI
(12) IncaseofusingaNRTK(networkRTK)service,whichrequiresNMEAGPGGAmessagestoselect
referencestationortosetuptheVRS(virtualreferencestation)position,selectthemessagecontent
withthepulldownmenuatʺTransmitNMEAGPGGAtoBaseStationʺ.Ifyouselect
ʺLatitude/Longitudeʺ tosendafixedposition,fillinthelatitudeandlongitudeofthepositionfor
NMEAGPGGAmessagesindegree(minusmeanssouthorwest).

(13) Forthecorrectionstream,youcanselectʺFTPʺ orʺHTTPʺ asthestreamtype.AfterpushingʺOptʺ
button,youhavetoconfigureFTPorHTTPoptionswiththeʺFTPOptionʺorʺHTTPOptionʺdialog.At
first,fillintheserveraddressandthefilepathintheʺDownloadAddressʺfieldastheformat<server
address>/<file path>.Usuallyyoumightneedtoincludedayortimekeywordsin<file path>.
Forexample,incaseofdownloadingIGSultrarapidephemerisfromtheNASAGSFCCDDISdata
server,youcaninputthedownloadaddresslike:
RTKLIBver.2.4.2Manual
14
cddis.gsfc.nasa.gov/gps/products/%W/igu%W%D_%hb.sp3.Z
Inthiscase,thekeywords%W,%Dand%hbarereplacedbyGPSweeknumber,dayofweekand6hour
ofthedayaccordingtothedownloadtimeinGPSTime,respectively.Forotherkeywordswhichcanbe
usedinthefilepath,push?buttonandseethedialog.YoucanalsosetDownloadInterval,
DownloadOffset(forexample,Interval=6HandOffset=2Hmeansthedownloadwillbetriedat2:00,
8:00,14:00and20:00inGPSTime),TimeOffsetinPathforreplacingthekeywordsinthefilepath,
RetryInterval,User(forFTPonly)andPassword(forFTPonly)fortheserver.ForUserandPassword,
ʺanonymousʺandyourmailaddressareusuallyusedforanonymousFTPservers.
Figure3.211FTPOptionDialogofRTKNAVI
Tousedownloadfiles,youalsohavetosetthefileformatintheʺInputʺdialog.Currentversiononly
supportsSP3preciseephemerisforthispurpose.Downloadedfilesaresavedinalocaldirectory.The
localdirectorypathshallbesetwiththeʺOptionsʺdialog‐ʺFilesʺ‐ʺFTP/HTTPLocalDirectoryʺ.
(14) TooutputofthepositioningsolutionsbyRTKNAVI,youshallsettheoutputstreams.Tosettheoutput
streams,pushthebuttonOupperrightinthemainwindow.YoucanseetheʺOutputStreamsʺ
dialog.Checkandsetthestreamtypeofsolutioninthedialog.Youcanconfiguretwoindependent
outputstreamsasmaximum.YoucanselectthestreamtypeoutofʺSerialʺ,ʺTCPClientʺ,ʺTCPServerʺ,
ʺNTRIPServerʺ andʺFileʺ.Theoptionsaresimilartotheinputstreams.Youalsohavetoselectthe
followingoutputformatoptions.Thetimeandlatitude/longitudeformats,thetypeofheightandthe
geoidmodelandtheNMEAintervalinoutputmessagesalsocanbeconfiguredbythepositioning
optionsdescribedin3.5.
(a)Lat/Lon/Height :Latitude,longitudeandheight
(b)X/Y/ZECEF  :X/Y/ZcomponentsinECEFframe
(c)E/N/UBaseline :E/N/Ucomponentsofthebaseline
(d)NMEA0183  :NMEA0183GPRMC,GPGGA,GPGSA,GLGSA,GAGSA,
GPGSV,GLGSVandGAGSV
RTKLIBver.2.4.2Manual
15
Figure3.212OutputStreamsDialogofRTKNAVI
(15) IfyouselectʺFileʺ astheoutputstreamtype,youcanincludesomekeywordsinthefilepathtobe
replacedbydateortime.Push?buttontoshowthekeywordreplacementinthefilepaths.Ifyouset
theʺSwapIntvʺ option,theoutputfileisswappedperiodicallyinthespecifiedcycle.Tousethefile
swapfeature,thefilepathmustcontainthekeywordstobereplacedbytheswaptimeinordertoavoid
overwritingthepreviousfile.
Figure3.213KeywordReplacementDialogofRTKNAVI
(16) IfyouselectʺNTRIPServerʺastheoutputstreamtype,youhavetosetNTRIPserveroptionswiththe
ʺNTRIPServerOptionʺ dialog.TheoptionsincludetheaddressofʺNTRIPCasterHostʺ,theʺPortʺ
numbertoconnectNTRIPcaster,NTRIPʺMountpointʺ,ʺPasswordʺ andʺStringʺ showingthe
sourcetableparameterstoNTRIPCaster.IftheʺPortʺfieldblank,thedefaultportnumber(80)isused.
ThebuttonNtrip...launchestheNTRIPbrowserAPtoshowthesourcetableprovidedbytheNTRIP
caster.Refer3.10NTRIPBrowserfordetails.

RTKLIBver.2.4.2Manual
16
Figure3.214NTRIPServerOptionsDialogofRTKNAVI
(17) Tooutputaninputstreamasapaththroughlog,setthelogstreams.Toconfigurethelogstreams,
pushthebuttonLupperrightinthemainwindow.YoucanseetheʺLogStreamsʺ dialog.The
settingsaresimilartotheoutputstreams.Ifyouwanttoreplaythelogfileasaninputstreamlater,you
havetochecktheʺTimeTagʺoptionandoutputthetimetagfilesimultaneously.Theoutputpathofthe
timetagfileisautomaticallysetto<output file path>.tag.Thekeywordreplacementsinthefile
pathsandtheswapintervalarethesameastheʺOutputStreamsʺdialog.
Figure3.215LogStreamsDialogofRTKNAVI
(18) Toconfigurethepositioningoptions,pushOptions...buttonandsettheoptionsintheʺOptionsʺ
dialog.Fordetailsofthepositioningoptions,refer3.5ConfigurePositioningOptionsforRTKNAVI
andRTKPOST.
(19) PushStartbutton.Thestatusofeachstreamsareshownontheupperrightindicators.Fromtheleft,
theyshowthestream/processingstatusofInputRover,InputBaseStation,InputCorrection,the
positioningprocess,OutputSolution1,OutputSolution2,LogRover,LogBaseStationandLog
Correction.Grayrepresentsnotused,Orangemeanswaitingfortheconnection,Deepgreenmeans
connectedorrunning,Lightgreenmeansdataactive(input,outputorprocessing)andRedmeansa
communicationerroroccurs.Somestatusmessagesarealsoshowninthelowercentermessageareain
RTKLIBver.2.4.2Manual
17
themainwindow.TostopthepositioningprocessinRTKNAVIpushStopbutton.
Figure3.216MainWindowofRTKNAVI(RUNNING)
(20) Aftertheinputobservationdataandephemeridesarecompletedandvalid,RTKNAVIcomputesthe
positioningsolutionanddisplayitinthesolutiondisplayleftinthemainwindowwiththesolution
status(FIX,FLOAT,DGPS,SBAS,SINGLEorPPP),E/N/UorX/Y/Zcomponentsofthestandard
deviation,Age(ageofdifferential),Ratio(ratiofactorofambiguityvalidation)and#ofSat(numberof
validsatellites).Toswitchtheformatinthesolutiondisplay,pushbuttonupperrightcorner.You
canswitchthesolutiontoLat/Lon/Height(degree/minute/second),Lat/Lon/Height(degree),
X/Y/ZECEF(m),E/N/UBaseline(m),Pitch/Yaw/LengthBaseline(deg,m),alternatively.Inthe
Lat/Lon/Heightmodes,thelabelsʺHʺ andʺHeʺ indicatesthegeodeticandellipsoidalheight,
respectively.
Figure3.217SolutionStatusDisplayofRTKNAVI
(21) Toswitchtheformatinthetimedisplay,pushGPSTbuttonuppercenterinthemainwindow.You
canswitchthetimesystemtoGPST,UTC,LT(localtime)andGPST(GPSweek/TOW),alternatively.
(22) Inthestatusdisplayrightinthemainwindow,observationSNR(signaltonoiseratio,C/N0)statusor
visiblesatellitesinskyplotareshown.Bypushingbuttonupperrightcornerofthestatusdisplay,
youcanswitchthecontentstoRover:BaseSNR,RoverSNR,RoverSkyplot,BaseSkyplotandBaseline
RTKLIBver.2.4.2Manual
18
plot,WideRover:BaseSNR,WidemodeRoverSNR,alternatively.Youcanswitchthefrequency
showintheplotbypushingthesecondbuttonneartheupperrightcorner.IntheSNRplotsorthe
Skyplots,thecolorsexceptforGrayasnotinuseindicatethesignalSNRas:>45...40...35...25...<25
(dBHz).ThecolorsofthesatelliteIDsintheSNRplotsalsoindicatethesatellitesystemas:GPS(G),
GLONASS(R),Galileo(E),QZSS(J),BeiDou(C)andSBAS(S).
Figure3.218SatelliteandSignalStatusDisplayofRTKNAVI
(23) ThesizeofRTKNAVIwindowcanbechangedbydraggingtheedgeofthewindow.Theseparator
betweentheleftandtherightsubwindowscanbealsodraggedtochangethelayoutofthewindow.To
showthestatusofmanyofsatellites,usethisfeatureintroducedinver.2.4.2.ThefontintheSolution
subwindowcanbechangedbythesettingsbytheoptionsdialogtheʺOptionsʺ ‐ ʺMiscʺ ‐ ʺSolution
Fontʺ.
Figure3.219SizeExpandedMainWindowofRTKNAVI
(24) BypushingPlot...button,youcanexecuteRTKPLOTtoplotthecurrentpositionoftheroverreceiver
onthegraphastherealtimesolutionmode.FordetailstouseRTKPLOT,pleaserefer3.7Viewand
RTKLIBver.2.4.2Manual
19
PlotSolutionsandObservationDatawithRTKPLOT.
Figure3.220RTKPLOTWindowexecutedbyRTKNAVI
(25) Thepositioningsolutionsarerecordedintheinternalbuffersimultaneously.Youcansavetheinternal
solutionbuffertothefilebypushing...belowthesolutiondisplay.Thesizeofthesolutionbufferand
thesavedsolutionlogcanbeconfiguredwiththeʺOptionsʺdialog.
(26) Bypushingthebuttonlowerleftinthemainwindow,youcanseetheʺRTKMonitorʺ window.
Withthewindow,youcanseetheinternalstatusofRTKNAVI.Youcanselectthefollowingcontents
withtheupperleftpulldownmenu.MultipleʺRTKMonitorʺwindowsareallowedtobeshownatthe
sametime.Toclosethewindow,pushClosebutton.
RTKLIBver.2.4.2Manual
20
Figure3.221RTKMonitorWindowofRTKNAVI
(a)RTK :Generalstatusoftheinternalpositioningprocess
(b)ObsData :Inputobservationdata.RCV=1meansroverand2meansbasestation
(c)NavGPS :GPSsatellitenavigationmessages
(d)NavGLONASS:GLONASSsatellitenavigationmessages
(e)NavGalileo :Galileosatellitenavigationmessages
(f)NavQZSS :QZSSsatellitenavigationmessages
(g)NavBeiDou :BeiDousatellitenavigationmessages
(h)NavGEO :GEO/SBASsatellitenavigationmessages
(i)Time/Iono :TimeandIonosphereparameters
(j)Streams :Statusofinput,outputandlogstreams
(k)SatGPS :StatusofGPSsatellites
(l)SatGLONASS:StatusofGLONASSsatellites
(m)SatGalileo :StatusofGalileosatellites
(n)SatQZSS :StatusofQZSSsatellites
(o)SatBeiDou :StatusofBeiDousatellites
(p)SatGEO :StatusofGEO/SBASsatellites
(q)States :Statevectorvaluesoftheestimationfilter
(r)Covariance :Covariancematrixoftheestimationfilter
(s)SBASMsgs :HEXdumpofinputSBASmessages
(t)SBASLong :SBASlongtermsatellitecorrections
(u)SBASIono :SBASionosphericdelaycorrections
(v)SBASFast :SBASfastcorrections
(w)RTCMMsgs :StatusofRTCM2or3messages
RTKLIBver.2.4.2Manual
21
(x)RTCMDGPS :RTCMDGPScorrections
(y)RTCMSSR :RTCMSSRcorrections
(z)LEXMsgs :(reserved)
(aa)LEXEph/Clock:(reserved)
(ab)LEXIono :(reserved)
(ac)IonoCorrection:Ionospherecorrections
(ad)(1)Rover :DumpofInputRoverstream
(ae)(2)BaseStation:DumpofInputBaseStationstream
(af)(3)Correction:DumpofInputCorrectionstream
(ag)(4)(5)Solution1/2:DumpofOutputSolution1/2stream
(ah)Error/Warning:Errororwarningmessages
(27) Incaseofselecting(1)Rover,(2)BaseStationor(3)CorrectionforʺRTKMonitorʺ,youcanselectthe
inputmessageformatwiththepulldownmenuuppercenterofthewindowanddumpthemessages
intheinputstream.Adumplineshowsamessagecontainingthefields:messagetype,(messagelength
inbytes):messagecontentsdependingonthemessageformat.
Figure3.222StreamDumpinRTKMonitorWindowofRTKNAVI
(28) Bypushing buttonlowerrightinthemainwindow,youcanminimizethemainwindowasanicon
inthetasktrayofWindowsdesktop.Torestorethemainwindow,doubleclickthetasktrayiconor
clickrightbuttononthetasktrayiconandselectmenuʺMainWindow...ʺ.
RTKLIBver.2.4.2Manual
22
3.3 Configure Input, Output and Log Streams for RTKNAVI
ForrelativepositioninglikeRTKGPS/GNSS,theroverreceiverandthebasestationreceiverareusually
placedontheseparatedsites.Inothercases,usermightusethepositioningresultattheremotesitefarfrom
thesereceivers.Tointerconnectthesesites,userhastoestablishdatacommunicationlinks.Tofacilitateeasy
setupofthesecommunicationlinks,RTKLIBprovidesacommunicationserverutilityAPSTRSVR,with
whichusercanconfigureinputandoutputdatastreamviathesecommunicationlinks.STRSVRalsohas
thefunctionofrelayorsplitthedatastreamforrealtimepositioningwithRTKNAVI.
Forexample,toreceiveobservationdataofaremotebasestationataroverreceiversiteandtogetRTKGPS
solution,usercanplacearemotePCinstallingSTRSVRconnectingtothebasestationreceiverandcan
configureSTRSVRtosenddatatotheroversite.Thefollowingexamplesshowthetypicalapplicationsof
RTKNAVIandSVRSVR.
(1) Singlepointpositioningandoutputsolutionstoafile
(2) Singlepointpositioning,outputsolutionstoaserialdevice,logdatatoafile

GPS/GNSS
ReceiverRTKNAVI
Serial
(1)InputRover=Serial
(4)Out
p
utSolution1=File
File
RTKNAVI
Serial
(1)InputRover=Serial
(4)OutputSolution1=Serial
(6)LogRover=File
Serial
PC
PC
Log
GPS/GNSS
Receiver
RTKLIBver.2.4.2Manual
23
(3) RTKGPS/GNSS,inputtheroverandbasestationdatafromtwoserialdevices
(4) RTKGPS/GNSS,inputroverdatafromaserialportandinputbasestationdatafromaremotereceiver
viaWiFinetwork.
(5) RTKGPS/GNSS,inputroverdatafromaserialportandinputbasestationdataviamobilephone
Internetconnection

Rover
Receiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputBaseStation=Serial
(4)OutputSolution1=File
File
PC
BaseStation
ReceiverSerial
Rover
Receiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputBaseStation=TCPClient
(4)OutputSolution1=File
File
PC
BaseStation
Receiver
Serial
STRSVR
(0)Input=Serial
(
1
)
Out
p
ut1=TCPServer
PC
TCP
Server
TCP
Client
Rover
Receiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputBaseStation=TCPClient
(4)OutputSolution1=File
File
PC
BaseStation
Receiver
Serial
STRSVR
(0)Input=Serial
(
1
)
Out
p
ut1=TCPServer
PC
Internet
Mobile
Phone
Terminal
Mobile
Phone
N/W
RTKLIBver.2.4.2Manual
24
(6) RTKGPS/GNSS,inputdatafromaserialportandinputbasestationdataviaaNTRIPcasteron
Internet.ThecurrentversiondoesnotsupportNTRIPcasterfeature.Pleaseemploysomealternative
NTRIPcasterimplementation.
(7) RTKGPS/GNSSwithNRTK(NetworkRTK)serviceviaInternet

Rover
GPSReceiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputBaseStation=NTRIPClient
(4)OutputSolution1=File
File
PC
BaseStation
GPSReceiver
Serial
STRSVR
(0)Input=Serial
(
1
)
Out
p
ut1=NTRIPServer
PC
Internet
Ntrip
Caster
Rover
GPSReceiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputBaseStation=NTRIPClient
(4)OutputSolution1=File
File
PC
NTRIPCasterInternet
NRTKprovider
Reference
Station
Reference
Station
Reference
Station
Reference
Station
RTKLIBver.2.4.2Manual
25
(8)MultipleRTKGPS/GNSSwithsingleNRTKservice
(9) RealtimePPPwithrealtimesatelliteorbitandclockprovidedasaNTRIPstream.

RTKNAVI
PC
NTRIPCasterInternet
NRTKprovider
Reference
Station
Reference
Station
Reference
Station
Reference
Station
STRSVR
Rover
Receiver1
RTKNAVI
PC
Rover
Receiver2
RTKNAVI
PC
Rover
Receiver3
RTKNAVI
PC
Rover
Receiver4
(1)Input=NTRIPClient
(2)Out
p
ut=TCPServer
LAN
(1)InputRover=Serial
(2)InputBaseStation=TCPClient
PC
GPSReceiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputCorrection=NTRIPClient
(4)OutputSolution1=File
File
PC
NTRIPCasterInternet
NRTKprovider
RealtimeOrbit
andclock
Provider
RTKLIBver.2.4.2Manual
26
(10)LongbaselineRTKwithFTPdownloadofpreciseephemeris
ThefollowinginstructionsarefortheoperationofSTRSVR.
(1) ExecutethebinaryAPfile<install dir>\rtklib_<ver>\bin\strsvr.exe.Youcanseethe
mainwindowofSTRSVR.
Figure3.31MainWindowofSTRSVR
(2) Toconfiguretheinputstream,selectthestreamtypewithpulldownmenuatʺ(0)Inputʺ.Selectable
streamtypesareSerial,TCPClient,TCPServer,NTRIPClient,File,FTPorHTTP.Thestreamoptions
orthestartup/shutdowncommandcanbesetaswellasInputStreamsforRTKNAVI.
(3) Toconfiguretheoutputstreams,selectthestreamtypewithpulldownmenuat(1)Output,(2)Output
or(3)Output.ThesettingfortheoutputstreamsaresameasOutputStreamsorLogStreamsfor
Rover
GPSReceiver
RTKNAVI
Serial
(1)InputRover=Serial
(2)InputBaseStation=NTRIPClient
(3)InputCorrection=FTP
(4)OutputSolution1=File
File
PC
BaseStation
GPSReceiver
Serial
STRSVR
(0)Input=Serial
(
1
)
Out
p
ut1=NTRIPServer
PC
Internet
IGSDataServer
UltrarapidEphemeris(SP3)
RTKLIBver.2.4.2Manual
27
RTKNAVI.
(4) Inversion2.4.2,thestreamformatconversionfunctionisadded.Tousethefunction,pushConvbutton
rightofthepulldownmenuoftheoutputstream.YoucanseeʺConversionOptionsʺdialog.Toenable
thestreamformatconversionfunction,checktheupperleftcheckboxinthedialogandselectinputand
outputformatbythepulldownmenus.Currentversionsupportsthefollowinginputandoutput
formats.
(a)Input: RTCM3,RTCM2,NovAtelOEM6,NovAtelOEM3,ublox,SuperstarII,Hemisphere,
 SkyTraq,GW10,Javad,NVSBINRandBINEX
(b)Output: RTCM3(RTCM2isnotsupportedyet)
Figure3.32ConversionOptionDialogofSTRSVR
OutputmessagesshallbespecifiedintheMessageTypesfieldinthedialogastheform:
nnnn(ss), nnnn(ss), nnnn(ss), ....
Specifythemessagetypesasthefields nnnnandthemessageintervalsasthefields(ss)inseconds.
Themessageintervalcanbeomitted.Inthiscase,themessageintervalisdeterminedbytheinput
messageinterval.ThefollowingtableshowsallofthesupportedoutputRTCMmessages.Forantenna
infomessages,thefieldsaregivenbytheʺOptionsʺdialog.Messageinputoptionscanalsobespecified
intheʺOptionsʺfield.ReferD.5forthereceiverdependentoptionsfordetails.
SupportedoutputRTCM3messagetype
----------------------------------------------------------------------
TYPE GPS GLONASS Galileo QZSS BeiDou SBAS
----------------------------------------------------------------------
OBS C-L1 : 1001 1009 - - - -
F-L1 : 1002 1010 - - - -
C-L12 : 1003 1011 - - - -
F-L12 : 1004 1012 - - - -
NAV : 1019 1020 1045* 1044* - -
- - 1046* - - -
MSM 1 : 1071 1081 1091 1111* 1121* 1101*
2 : 1072 1082 1092 1112* 1122* 1102*
3 : 1073 1083 1093 1113* 1123* 1103*
4 : 1074 1084 1094 1114* 1124* 1104*
5 : 1075 1085 1095 1115* 1125* 1105*
6 : 1076 1086 1096 1116* 1126* 1106*
7 : 1077 1087 1097 1117* 1127* 1107*
ANT INFO : 1005 1006 1007 1008 1033
RTKLIBver.2.4.2Manual
28
----------------------------------------------------------------------
* draft version of RTCM 3 messages
(5) PushStartbuttoninthemainwindow.Thecommunicationstatusisshowninthemessagearealower
centerofthemainwindow.Statusindicatorsleftsideofthemainwindowalsoshowsthe
communicationstatus.Theindicatorcolorsmeans:Orange:waitingconnection,DarkGreen:
connected,LightGreen:dataactive,Red:error.Totaldataamount(bytes)anddatarate(bps)ofthe
inputandoutputstreamsarealsoshowninrightside.Tostopthecommunication,pushStopbutton.
(6) BypushingOptions...button,youcansetthecommunicationoptionswiththeʺOptionsʺdialog.To
sendNMEAGPGGAmessagetotheserverconnectedtheinputstream,checkʺNMEARequestCycleʺ
andsettherequestcycle(ms)andlatitude/longitudeinthemessages.ToconnectanexternalNTRIP
casterfromtheinsideofthefirewallviaaHTTPproxyserver,youcaninputtheaddressandtheport
numberastheform<address>:<port> intheʺHTTP/NTRIPProxyʺ field.Theotherfieldsinthe
dialogareforantennaandstationinformationmessagestobegeneratedincaseofusingtheformat
conversionfeatureandsendingantennainformationmessages.
Figure3.33OptionsDialogofSTRSVR
RTKLIBver.2.4.2Manual
29
3.4 Post-Processing Analysis with RTKPOST
RTKLIBcontainsapostprocessinganalysisAPRTKPOST.RTKPOSTinputsthestandardRINEX2.10,2.11,
2.12,3.00,3.01,3.02(draft)observationdataandnavigationmessagefiles(GPS,GLONASS,Galileo,QZSS,
BeiDouandSBAS)andcancomputesthepositioningsolutionsbyvariouspositioningmodesincluding
Singlepoint,DGPS/DGNSS,Kinematic,Static,PPPKinematicandPPPStatic.
(1) ExecutethebinaryAPfile<install dir>\rtklib_<ver>\bin\rtkpost.exe.Youcanseethe
mainwindowofRTKPOST.YoucanexecutethebinaryAPfile<install
dir>\rtklib_<ver>\bin\rtkpost_mkl.exe
instead,whichisaversionofRTKPOSTlinkingthe
IntelMKLlibraryforfastmatrixcomputation.
Figure3.41MainWindowofRTKPOST
(2) InputtheRINEXobservationdatafilepathoftheroverreceiverinthetextfieldʺRINEXOBS(:Rover)ʺ.
Fillinthefilepathorselectafileusingthefileselectiondialogshownbypushing...button.Youcan
usethecompressedfilebyGZIP[57](.gz),COMPRESS(.z)orHatanakaCompression[58](.yyd)for
theRINEXobservationdata.Ifthecompressionfileornotisrecognizedbythefileextension.Ifa
wildcard(*)isincludedinthefilepath,thewildcardisexpandedandthemultiplefilesareread.
(3) IfyouprocessRINEXdataintherelativepositioningmodesas:DGPS/DGNSS,Kinematic,Static,
MovingBaseorFixed,youhavetoinputthesecondfilepathofthebasestationreceiverintheʺRINEX
OBS:BaseStationʺfieldinadditiontotheroverobservationdatafile.
RTKLIBver.2.4.2Manual
30
(4) YoualsohavetoinputthepathofRINEXnavigationmessagefilesofGPS,GLONASS,Galileo,QZSS
andSBASintheʺRINEX*NAV/CLK,SP3,IONEXorSBS/EMSʺfield.Ifyouleavefirstandsecondfield
blank,theobservationdatafilepathwiththeextensionreplacedby.*nav (.obs)
or.yyN,.yyG,.yyH,.yyQand.yyP (.yyO)isusedforthenavigationmessagefilesofGPS,
GLONASS,Galileo,QZSS,BeiDouandSBAS.Ifawildcard(*)isincludedinthefilepath,the
wildcardisexpandedandthemultiplefilesareusedlikeobservationdatafiles.Touseprecise
ephemerisandclockforPPPKinematic,PPPStaticorPPPFixedmode,youcaninputaSP3c(for
precisesatelliteephemerisandclock)orRINEXCLK(forprecisesatelliteclock)filepathinthefield.
YoucaninputanIONEX1.0filepathforionosphericVTECgridcorrections.ForSBAScorrections,you
caninputaSBASmessagelogfilepathasRTKLIBformatorEMS(EGNOSmessageserver)2.0format
file.Youcanalsoincludewildcards(*)inthesefilepaths.Thewildcardsareexpandedandmultiple
filesareused.YoucaninputSSR(statespacerepresentation)correctionsasRTCM3messagesina
inputfilefield.Theformatsoftheseinputfilesarerecognizedbytheirextensionsasfollows:
(a).sp3,.SP3,.eph,.EPH:SP3cpreciseephemerisfile[22]
(b).sbs,.SBS,.ems,.EMS:SBASmessagelogfile(AppendixB.2and[26])
(c).rtcm3,.RTCM3 :RTCM3SSRcorrectionmessagefile[18]
(d).*i,.*I  :IONEXVTECgriddatafile[24]
(e)others  :RINEXOBS,NAVorCLK(automaticallyrecognized)[9][15]
(5) InputtheoutputfilepathinthetextfieldʺSolutionʺ.Thefieldisautomaticallysetasthefirstinputfile
pathwiththeextensionreplacedby.posor.nmea.IfyoucheckʺDirʺandfillinthefield,theoutput
directoryissettothespecifieddirectory.Youcanmodifytheoutputfilepathmanuallybyeditingthe
fieldcontent.
(6) PushOptions...buttontosettheprocessingoptions.ForthedetailedoptionsforRTKPOST,refer3.5
ConfigurePositioningOptionsforRTKNAVIandRTKPOST.Youcansetthestarttimeorendtimeby
checkingandsettingTimeStart(GPST)orTimeEnd(GPST)fieldinthemainwindow.Youalsosetthe
timeintervalbycheckingandsettingtheʺIntervalʺfield.Withthe?button,theinputtimeinGPStime
canbeconvertedtoUTC,GPSWeek/TOW,DayofYear,DayofWeek,TimeofDayandLeapSeconds.
RTKLIBver.2.4.2Manual
31
Figure3.42TimeDialogofRTKPOST
(7) IfyoucheckbothoftheʺTimeStartʺandʺTimeEndʺfields,youcancheckʺUnitʺformultiplesession
analysis.IftheʺUnitʺfieldcheckedandsettheʺUnitʺtimeinhours,theanalysissessionisseparatedto
multiplesessionsfortheunittime.Toavoidoverwritingthepreviousoutputfile,theoutputfilepath
hastocontainthekeywordreplacedaccordingtothesessiontime.Forthedetailsofthekeyword
replacementintheinputoroutputfilepaths,refer3.5ConfigurePositioningOptionsforRTKNAVI
andRTKPOST.
(8) PushExecutebuttontostarttheanalysis.Theprocessingstatusisshowninthestatusmessagefield
lowercenterinthemainwindow.Whenyouseeʺdoneʺmessagehere,theanalysisiscompleted.Ifyou
wanttostoptheprocessingontheway,pushAbortbutton.
(9) Aftercompletingtheanalysis,bypushingView...button,youcandisplaythecontentoftheoutput
filebyʺTextViewerʺ.Youcanreloadtheoutputfilebypushing buttonintheʺTextViewerʺ
window.Toclosethewindow,pushClosebutton.YoucanconfigureʺTextViewerʺ optionsby
pushingOptions...button.YoucanalsosearchstringsinthetextbyusingFindbutton.
RTKLIBver.2.4.2Manual
32
Figure3.43TextViewershowingSolutionsbyRTKPOST
(10) BypushingPlot...button,youcanalsoplottheresultwithRTKPLOT.Refer3.7ViewandPlot
SolutionsandObservationDatawithRTKPLOTfordetails.
Figure3.44RTKPLOTWindowexecutedbyRTKPOST
RTKLIBver.2.4.2Manual
33
(11) BypushingToKML...button,theoutputfilecanbeconvertedtoGoogleEarthKMLfilewiththe
ʺGoogleEarthConverterʺdialog.SetorselecttheoptionsandpushConvertbuttoninthedialog.You
canlaunchGoogleEarthwiththegeneratedKML/KMZfilebypushingGoogleEarthbutton.To
specifytheGoogleEarthexecutionfile,configureʺOptionsʺ‐ʺFilesʺ‐ʺGoogleEarthExeFileʺ.
Figure3.45GoogleEarthConverterDialogofRTKPOST
(12) With buttoninthemainwindow,youcanviewandplottheinputobservationdataRTKPLOT.
YoucanalsodisplaythecontentsoftheinputfileswithTextViewerbypushingbutton.
(13) Incaseofoutputsolutionstatisticsordebugtraceastheprocessingoptions,pushbuttonslower
leftofthewindowtoviewthesolutionstatisticsfileorthedebugtracefile.Tocheckprocessingerroror
warningincaseofimproperresults,setDebugTraceinʺOptionsʺ‐ʺOutputʺdialogtoʺLevel2ʺ(trace
ERRORandWARNIN G) andseetheoutputdebugtracefile.
RTKLIBver.2.4.2Manual
34
3.5 Configure Positioning Options for RTKNAVI and RTKPOST
BypushingOptions...buttoninthemainwindowsofRTKNAVIorRTKPOST,youcansetthepositioning
options.Selectableorchangeablepositioningoptionsareasfollows.Theseoptionscanbesavedtothe
configurationfilebypushingSavebuttononthedialogandselectthefilepath.Theoptionscanbe
loadedfromaconfigurationfilebypushingLoadbuttonandselectingaconfigurationfile.Forthe
configurationfile,referB.4.Thekeywordswhichcanbeincludedtheconfigurationfilearealsoshownin
thefollowingtables.ThemodelsspecifiedintheseoptionsarealsoexplainedinAppendixEfordetails.
(1) Setting1
Figure3.51OptionsDialog(Setting1)ofRTKNAVIandRTKPOST
ItemDescriptionsConfiguration
FileNotes
Positioning
Mode
Setpositioningmode
‐Single:SinglepointpositioningorSBASDGPS
‐DGPS/DGNSS:CodebaseddifferentialGPS
‐Static:CarrierbasedStaticpositioning
‐Kinematic:CarrierbasedKinematicpositioning
‐MovingBase:Movingbaseline
‐Fixed:Roverreceiverpositionisfixed*
‐PPPKinematic:PrecisePointPositioningwith
kinematicmode
‐PPPStatic:PrecisePointPositioningwithstaticmode
‐PPPFixed:RoverreceiverpositionisfixedwithPPP
mode*
pos1
-
posmode
*
Forresiduals
analysis
RTKLIBver.2.4.2Manual
35
ItemDescriptionsConfiguration
FileNotes
FrequenciesSetusedcarrierfrequencies
‐L1:L1Singlefrequency
‐L1+2:L1andL2Dualfrequency
‐L1+2+5:L1,L2andL5Triplefrequency
pos1
-
frequency N/AtoSingle,
PPP*modes
FilterTypeSetfiltertype
‐Forward:Forwardfiltersolution
‐Backward:Backwardfiltersolution*
‐Combined:Smoothercombinedsolutionwith
forwardandbackwardfiltersolutions*
pos1
-
soltype *
N/Ato
RTKNAVIand
Singlemode
Elevation
Mask
Setelevationmaskangleindegree.
pos1
-
elmask
SNRMaskSetSNRmask.Push...buttontoshowtheʺSNRMaskʺ
dialog.SetSNRthresholdstorejectsatellitesignalsfor
each5degelevationbinsinthedialog.Ifbothof
ʺRoverʺandʺBaseStationʺareunchecked,theseSNR
masksarenotapplied.
pos1
-
snrmask_r,
snrmask_b,
snrmask_L1,
snrmask_L2,
snrmask_L5
RecDynamicsSetthedynamicsmodeloftheroverreceiver.
‐OFF:Dynamicsisnotused
‐ON:Receivervelocityandaccelerationare
estimated.
Thereceiverpositionispredictedwiththeestimated
velocityandacceleration.
pos1
-
dynamics Only
applicableto
DGPS/DGNSS
orKinematic
modes
EarthTides
Correction
Setwhetherearthtidescorrectionisappliedornot
‐OFF:Notapplyearthtidescorrection
‐Solid:Applysolidearthtidescorrection
‐Solid/OTL:Applysolidearthtides,OTL(oceantide
loading)andpoletidecorrections.*
ToapplyOTLcorrection,settheOTLcoefficientsfile
pathinʺOceanLoadingBLQFormatʺintheʺFilesʺtab
andthemarkernamehavetobeincludeintheinput
RINEXfiletoselectthestationinBLQfile.
Toapplypoletide,setERP(earthrotationparameter)
filepathinʺEOPDataFileʺintheʺFilesʺtab.
pos1
-
tidecorr N/AtoSingle
mode
*
N/Ato
RTKNAVI
RTKLIBver.2.4.2Manual
36
ItemDescriptionsConfiguration
FileNotes
Ionosphere
Correction
Setionosphericcorrectionoptions.Ifyousetthe
parameterEstimated.Verticalionosphericdelayfor
eachsatellite)areestimated.Forlongbaseline
analysis,ionosphereestimationiseffectiveto
suppressionospheredelayeffects.
‐OFF:Notapplyionosphericcorrection
‐Broadcast:Applybroadcastionosphericmodel
‐SBAS:ApplySBASionosphericmodel
‐IonoFreeLC:Ionospherefreelinearcombination
withdualfrequency(L1L2forGPS/GLONASS/
QZSSorL1L5forGalileo)measurementsisusedfor
ionosphericcorrection
‐EstimateSTEC:Estimateionosphericparameter
STEC(slanttotalelectroncontent)*
‐IONEXTEC:UseIONEXTECgriddata
‐QZSSBroadcast:Applybroadcastionospheremodel
providedbyQZSS
‐QZSSLEX:(reserved)
pos1
-
ionoopt *
N/AtoSingle,
PPP*modes
Troposphere
Correction
Setwhethertroposphericparameters(zenithtotal
delay
atroverandbasestationpositions)areestimatedor
not.
‐OFF:Notapplytropospherecorrection
‐Saastamoinen:ApplySaastamoinenmodel
‐SBAS:ApplySBAStroposphericmodel(MOPS)
‐EstimateZTD:EstimateZTD(zenithtotaldelay)
parametersasEKFstates*
‐EstimateZTD+Grad:EstimateZTDandhorizontal
gradientparametersasEKFstates*
pos1
-
tropopt *N/AtoSingle
mode.
Satellite
Ephemeris/
Clock
Setthetypeofsatelliteephemeris.
‐Broadcast:Usebroadcastephemeris
‐Precise:Usepreciseephemeris*
‐Broadcast+SBAS:BroadcastephemeriswithSBAS
longtermandfastcorrection
‐Broadcast+SSRAPC:Broadcastephemeriswith
RTCM
SSRcorrection(antennaphasecentervalue)
‐Broadcast+SSRCoM:Broadcastephemeriswith
RTCM
SSRcorrection(satellitecenterofmassvalue)
‐QZSSLEX:(reserved)
pos1
-
sateph
SatPCVSetwhetherthesatelliteantennaPCV(phasecenter
variation)modelisusedornot.Tousethefeature,set
ʺSatelliteAntennaPCVFileʺinʺFilesʺtab.
pos1
-
posopt1 N/AtoSingle
mode
RecPCVSetwhetherthereceiverantennaPCVmodelisused
ornot.Tousethefeature,setʺReceiverAntennaPCV
FileʺinʺFilesʺtab.
pos1
-
posopt2 N/AtoSingle
mode
PhWindupSetwhetherthephasewindupcorrectionforPPP
modesisappliedornot.
pos1
-
posopt3 Only
applicableto
PPP*modes.
RTKLIBver.2.4.2Manual
37
ItemDescriptionsConfiguration
FileNotes
RejectEclSetwhethertheGPSBlockIIAsatellitesineclipseare
excludedornot.TheeclipsingBlockIIAsatellites
oftendegradethePPPsolutionsduetounpredicted
behaviorofyawattitude.
pos1
-
posopt4 Only
applicableto
PPP*modes.
RAIMFDESetwhetherRAIM(receiverautonomousintegrity
monitoring)FDE(faultdetectionandexclusion)
featureisenabledornot.IncaseofRAIMFDE
enabled,asatelliteisexcludedifSSE(sumofsquared
errors)ofresidualsisoverathreshold.Theexcluded
satelliteisselectedtoindicatetheminimumSSE.
pos1
-
posopt5
Excluded
Satellites
(+PRN:
Included)
Settheexcludedsatellitesforpositioning.Fillinthe
PRNnumbersofthesatellitesseparatedbyspaces.
ForGLONASS,Galileo,QZSS,BeiDouandSBAS,use
Rnn,Enn,Jnn,CnnandSnn,respectively(nn:satellite
PRNorslotnumber).
Ifʺ+ʺisaddedtotheheadofthesatelliteID,the
satelliteisincludedforpositioningevenifthesatellite
isunhealthy.
pos1
-
exclsats
Navigation
System
Checkusednavigationsatellitesystems.Ifunchecked,
satellitesofthesystemarenotusedforpositioning.
‐GPS
‐GLONASS
‐Galileo
‐QZSS
‐SBAS
‐BeiDou
pos1
-
navsys
Figure3.52SNRMaskDialogofRTKNAVIandRTKPOSTOptions
(2) Setting2
RTKLIBver.2.4.2Manual
38
Figure3.52OptionsDialog(Setting2)ofRTKNAVIandRTKPOST
ItemDescriptionsConfiguration
FileNotes
Integer
Ambiguity
Resolution
(GPS)
Setthestrategyofintegerambiguityresolutionfor
GPS
‐OFF:Noambiguityresolution
‐Continuous:Continuouslystaticintegerambiguities
areestimatedandresolved*
‐Instantaneous:Integerambiguityisestimatedand
resolvedbyepochbyepochbasis*
‐FixandHold:Continuouslystaticinteger
ambiguitiesareestimatedandresolved.Ifthe
validationOK,theambiguitiesaretightly
constrainedtotheresolvedvalues.*
‐PPPAR:AmbiguityresolutioninPPP
(Experimental)**
pos2
-
armode Default:
ContinuousNot
applicableto
Singlemode.
*Only
applicableto
Kinematic,
Static,Moving‐
baselineand
Fixedmodes.
**Only
applicable
toPPP*modes
andRTKPOST
Integer
Ambiguity
Resolution
(GLO)
SetthestrategyofGLONASSintegerambiguity
resolution
‐OFF:Ambiguitiesarenotfixed.
‐ON:Ambiguitiesarefixed.Usuallytheambiguityof
onlythesametypesreceiverpairfortheroverand
thebasestationcanbefixed.Thedifferentreceiver
typeshaveIFB(interfrequencybias)whichcannot
becanceledbyDD.
‐Autocalibration:Receiverinterchannelbiasterms
areestimatedasalinearequationbythefrequencies.
pos2
-
gloarmode Default:
ON
Onlyapplicable
toKinematic,
Static,Moving‐
baselineand
Fixedmodes.
MinRatioto
Fix
Ambiguity
Settheintegerambiguityvalidationthresholdfor
ʺratiotestʺ,whichusestheratioofsquaredresiduals
ofthebestintegervectortothesecondbestvector.
pos2
-
arthres Defaultvalue:
3.0
Min
Confidenceto
FixAmb.
Setminimumconfidenceleveltofixambiguityin
PPPARmode
MaxFCBto
FixAmb.
SetmaximumFCB(fractionalcyclebias)tofix
ambiguityinPPPARmode
RTKLIBver.2.4.2Manual
39
ItemDescriptionsConfiguration
FileNotes
MinLock/
Elevationto
Fix
Ambiguity
Settheminimumlockcountandtheminimum
elevationangle(deg)tofixintegerambiguity.Ifthe
lockcountortheelevationangleislessthanthevalue,
theambiguityisexcludedfromthefixedinteger
vector.
pos2
-
arlockcnt,
arelmask
Defaultvalue:
0,0
MinFix/
Elevationto
Hold
Ambiguity
IfyouselectʺFixandHoldʺmodeforInteger
AmbiguityResolution,settheminimumfixcountand
theminimumelevationangle(deg)toholdambiguity.
pos2
-
arminfix,
elmaskhold
Defaultvalue:
10,0
Outageto
Reset
Ambiguity/
SlipThres
Settheoutagecounttoresetambiguity.Ifthedata
outagecountisoverthevalue,theestimated
ambiguityisresettotheinitialvalue.Andsetthe
cycleslipthreshold(m)ofgeometryfreeLC
carrierphasedifferencebetweenepochs.
pos2
-
aroutcnt,
pos2-
slipthres
Defaultvalue:
5,0.05
MaxAgeof
Differential
Setthemaximumvalueofageofdifferential(s)
betweentheroverandthebasestation.
pos2
-
maxage Defaultvalue:
30
SyncSolutionSettimesynchronizationmodeofsolutions:
‐OFF:Minimumlatencymode.Thesolutionisoutput
soonafterroverdatainput.Thedelayedbasestation
orcorrectiondataareextrapolatedtotherovertime.
‐ON:Matchedsolutionmode.Thesolutionisoutput
afterbothroverdataandbasestationorcorrection
dataprepared.Thesolutiontimemaybebehindthe
rovertimewithacertaindelay.
Thisfeatureisnotimplementedinver.2.4.2.
pos2
-
syncsol N/Ato
RTKPOSTand
Singlemode
Defaultvalue:
OFF
Reject
Threshold
ofGDOP/
Innov.
SettherejectthresholdofGDOPandinnovation
(prefitresidual)(m).IftheGDOPortheinnovationis
overthevalue,theobservableisexcludedforthe
estimationprocessasanoutlier.
pos2
-
rejgdop,
rejionno
Defaultvalue:
30,30
Numberof
Iteration
Setthenumberofiterationinthemeasurement
updateoftheestimationfilter.Ifthebaselinelengthis
veryshortlike1m,theiterationmaybeeffectiveto
handlethenonlinearityofmeasurementequation.
pos2
-
niter Defaultvalue:1
Baseline
Length
Constraint
IfMovingBasemode,checkandsettheconstraintof
thebaselinelength.Fillinthelengthinmandthe
standarddeviation(m)oftheconstraint.
pos2
-
baselen,
basesig

RTKLIBver.2.4.2Manual
40
(3) Output
Figure3.53OptionsDialog(Output)ofRTKNAVIandRTKPOST
ItemDescriptionsConfiguration
FileNotes
Solution
Format
Settheoutputsolutionformat.
‐Lat/Lon/Height:Latitude,longitudeandheight
‐X/Y/ZECEF:X/Y/ZcomponentsofECEF
coordinates
‐E/N/UBaseline:E/N/Ucomponentsofbaseline
vector
‐NMEA0183:NMEAGPRMC,GPGGA,GPGSA,
GLGSA,GAGSA,GPGSV,GLGSVandGAGSV
o
ut
-
solformat ForRTKNAVI,
specifyoptions
asOutput
Streams
setting.
Output
Header
Setwhethertheheaderisoutputornot.
o
ut
-
outhead N/AtoNMEA
Output
Processing
Options
Setwhethertheprocessingoptionsareoutputornot.
o
ut
-
outopt RTKPOSTonly
N/AtoNMEA
TimeFormatSettheformatoftime
‐ssssssss.sssGPST:GPSweekandtimeofweek
‐hh:mm:ssGPST:yyyy/mm/ddhh:mm:ssGPST
‐hh:mm:ssUTC:yyyy/mm/ddhh:mm:ssUTC
‐hh:mm:ssJST:yyyy/mm/ddhh:mm:ssJST
o
ut
-
timesys,
timeform
N/AtoNMEA
#ofDecimalsSetnumberofdecimalsinthetimeformat
o
ut
-
timendec N/AtoNMEA
Latitude/
Longitude
Format
Settheformatsoflatitudeandlongitudeifthe
solutionformatissettoLat/Lon/Height.
‐ddd.dddddddd:Degree
‐dddmmss.sss:Degreeminutesecond
o
ut
-
degform N/AtoNMEA
Field
Separator
Settheseparatorforfields.
o
ut
-
fieldsep N/AtoNMEA
RTKLIBver.2.4.2Manual
41
ItemDescriptionsConfiguration
FileNotes
DatumSetthedatumifthesolutionformatoptionissetto
Lat/Lon/Height.
‐WGS84:WGS84datum
‐Tokyo:Tokyodatum
(currentversionsupportsonlyWGS84)
-
HeightSetthetypeofheight.
‐Ellipsoidal:Ellipsoidalheight
‐Geodetic:Geodeticheight
o
ut
-
h
eight
GeoidModelSetthegeoidmodeliftheHeightoptionissetto
Geodetic.
‐Internal:Internalgeoidmodel
‐EGM96BE(15ʺ):EGM96(15ʺx15ʺgrid)*1
‐EGM2008SE(2.5ʺ):EGM2008(2.5x2.5ʺgrid)*2
‐EGM2008SE(1ʺ):EGM2008(1x1ʺgrid)*2
‐GSI2000(1x1.5ʺ):GSI2000(1x1.5ʺgrid)*3
Ifusingexternalgeoidmodel,specifythegeoidfile
pathinʺFilesʺtab.
o
ut
-
g
eoi
d
Solutionfor
Static
Mode
SetthesolutiontypeforStaticorPPPStaticmode
‐All:allsolutionsfortheprocessingperiodare
outputted
‐Single:Onlyonesolutionfortheprocessingperiodis
output.Thetimeofsolutionisfirstepochinthe
processingperiod.
o
ut
-
solstatic RTKPOSTonly
NMEA
Interval(s)
RMC/GGA
SettheoutputintervalofNMEAGPRMC,GPGGA
messages
o
ut
-
nmeaintv1 RTKNAVIonly
NMEA
Interval(s)
GSA/GSV
SettheoutputintervalofNMEAGPGSA,GLGSA,
GAGSA,GPGSV,GLGSV,GAGSVmessages
o
ut
-
nmeaintv2 RTKNAVIonly
Output
Solution
Status
Settheoutputlevelofthesolutionstatusfile.The
solutionstatusfilecontainsestimatedstatesand
residuals.Thesolutionstatusfileiscreatedinthe
currentdirectory(RTKNAVI)orintheoutputfile
directory(RTKPOST).
o
ut
-
outstat
Output
DebugTrace
Settheoutputlevelofdebugtracefile.IfsettingOFF,
anydebugtracefileisnotoutput.Thedebugtracefile
iscreatedinthecurrentdirectory(RTKNAVI)orin
theoutputfiledirectory(RTKPOST).
-
*1WW15MGH.DAC(http://earthinfo.nga.mil/GandG/wgs84/gravitymod/egm96/binary/binarygeoid.html)
*2Und_min1x1_egm2008_isw=82_WGS84_TideFree_SE,
Und_min2.5x2.5_egm2008_isw=82_WGS84_TideFree_SE
(http://earthinfo.nga.mil/GandG/wgs84/gravitymod/egm2008/egm08_wgs84.html)
*3gsigeome.ver4(http://vldb.gsi.go.jp/sokuchi/geoid/download/down.html)

RTKLIBver.2.4.2Manual
42
(4) Statistics
Figure3.54OptionsDialog(Statistics)ofRTKNAVIandRTKPOST
ItemDescriptionsConfiguration
FileNotes
Measurement
Errors
 
Code/Carrier
PhaseError
RateL1/L2
Settheratioofstandarddeviationsofpseudorange
errorstocarrierphaseerrorsforL1andL2/L5/L6.
s
tats
-
eratio1,
eratio2
Defaultvalue:
100,
100
CarrierPhase
Error
Setthebasetermofcarrierphaseerrorstandard
deviation(m).
s
tats
-
errphase Defaultvalue:
0.003
CarrierPhase
Error/sinEl
Settheelevationdependenttermofcarrierphase
errorstandarddeviation(m/sin(el)).
s
tats
-
errphaseel Defaultvalue:
0.003
CarrierPhase
Error/Baseline
Setthebaselinelengthdependenttermof
carrierphaseerrorstandarddeviation(m/10km).
s
tats
-
errphasebl Defaultvalue:0
Doppler
Frequency
SetthestandarddeviationofDopplererrors(Hz)
(Currentversiondoesnotusethevalue)
s
tats
-
errdoppler Defaultvalue:1
Process
Noises
 
Receiver
Accel
Horiz/Vertical
Settheprocessnoisestandarddeviationofthe
receiveraccelerationasthehorizontalorvertical
component.(m/s2/sqrt(s)).IfReceiverDynamicsisset
toOFF,theyarenotused.
s
tats
-
prnaccelh,
prnaccelv
Defaultvalue:
1and0.1
CarrierPhase
Bias
Settheprocessnoisestandarddeviationof
carrierphase
bias(ambiguity)(cycle/sqrt(s)).
s
tats
-
prnbias Defaultvalue:
1E4
Vertical
Ionospheric
Delay
Settheprocessnoisestandarddeviationofvertical
ionosphericdelayper10kmbaseline(m/sqrt(s)).
s
tats
-
prniono Defaultvalue:
1E3
Zenith
Tropospheric
Delay
Settheprocessnoisestandarddeviationofzenith
troposphericdelay(m/sqrt(s)).
s
tats
-
prntrop Defaultvalue:
1E4
RTKLIBver.2.4.2Manual
43
ItemDescriptionsConfiguration
FileNotes
SatelliteClock
Stability
Setthesatelliteclockstability(s/s).Thevalueisused
forinterpolationofbasestationobservables.
s
tats
-
clkstab Defaultvalue:
5E12
(5) Positions
Figure3.55OptionsDialog(Positions)ofRTKNAVIandRTKPOST
ItemDescriptionsConfiguration
FileNotes
Rover

Lat/Lon/
Height
(deg/m)
Setthepositionoftheroverantennaiftherover
antennaisfixed.SeethesamefieldforBaseStation.
a
nt1
-
postype,
pos1, pos2,
pos3
AntennaTypeSelectthetypeoftheroverantenna.
Toselecttheantennatype,settheReceiverAntenna
PCVFilepathinFiles.Ifʺ*ʺisused,antennatypeand
antennadeltaarerecognizedbytheantenna
informationofRINEXOBSheader(RTKPOST)or
RTCMantennainformation(RTKNAVI).
a
nt1
-
anttype
DeltaE/N/USetthedeltapositionoftheroverantennaasthe
E/N/UoffsetsofARP(antennareferencepoint)
positionwithrefertothemarker(m).
a
nt1
-
antdele,
antdeln,
antdelu
BaseStation
 
RTKLIBver.2.4.2Manual
44
ItemDescriptionsConfiguration
FileNotes
Lat/Lon/Heig
ht(deg/m)
Setthepositionofthebasestationantenna.
‐Lat/Lon/Height(deg/m):Latitude/longitude/height
indegreeandm
‐Lat/Lon/Height(dms/m):Latitude/longitude/height
indegree/minute/secondandm
‐X/Y/ZECEF(m):X/Y/ZcomponentsinECEFframe.
‐RTCMStationPosition:Usetheantennaposition
includedinRTCMmessages*
‐AverageofSinglePos:Usetheaverageofsingle
pointsolutions**
‐GetfromPositionFile:Usethepositioninthe
positionfile.Thestationissearchedbyusingthe
head4characterIDoftheroverobservationdatafile
path.**
‐RINEXHeaderPosition:Usetheapproximate
positioninRINEXOBSheader.**
a
nt2
-
postype,
pos1, pos2,
pos3
Heightis
specifiedas
ellipsoidal
height
*RTKNAVIonly
**RTKPOST
only
AntennaTypeSelectthetypeofthebasestationantenna.
Toselecttheantennatype,setReceiverAntennaPCV
FileinFiles.Ifʺ*ʺisused,antennatypeandantenna
deltaarerecognizedbytheantennainformationof
RINEXOBSheader(RTKPOST)orRTCMantenna
information(RTKNAVI).
a
nt2
-
anttype
DeltaE/N/USetthedeltapositionofthebasestationantennaas
E/N/UoffsetsofARPpositionwithrefertothemarker
(m).
a
nt2
-
antdele,
antdeln,
antdelu
Station
PositionFile
Inputthestationpositionfilepathtoretrievethe
positionfromthestationlist.Thestationpositionfile
isatextfilewhichcontainsthemultiplelines.Each
linerepresentsarecordforastation.Arecord
contains:
- Latitude (deg)
- Longitude (deg)
- Ellipsoidal height (m)
- Station ID
- Station name
separatedbyspaces.Thelinestartingʺ%ʺistreatedas
thecommentline.Anexamplestationpositionfileis
foundatrtklib_<ver>\data\stations.pos.
SINEXstationpositionscanbeusedaswell.An
sampleSINEXfileisfoundat
rtklib_<ver>\data\igs10P1565_wocov.snx
f
ile
-
staposfile
IfyousetStationPositionFileinʺFilesʺ tab,youcanselectthepotionoftheroverorthebasestation
antennafromthestationlistinʺStationsʺdialogbypushing...button.YoucanloadLat/Lon/Hgtformator
SINEXformatfile.Thefiletypeisautomaticallyrecognized.YoucansearchastationIdorNamewith
FindbuttonwithaspecifiedwordintheFindfield.
RTKLIBver.2.4.2Manual
45
Figure3.56PositionsDialogofRTKNAVIandRTKPOSTOptions
(6) Files
Figure3.57OptionsDialog(Files)ofRTKNAVIandRTKPOST

RTKLIBver.2.4.2Manual
46
ItemDescriptionsConfiguration
FileNotes
Satellite
Antenna
PCVFile
ANTEX
IfyouusethepreciseephemerisorSSRcorrection,
inputtheANTEXantennaparametersfilepathforthe
satelliteantennaPCV(phasecentervariation)
correction.Usuallyuselatestigs08.atx file
providedbyIGS.
AnexampleoftheANTEXfileisfoundat
rtklib_<ver>\data\igs08.atx.
f
ile
-
satantfile
Receiver
Antenna
PCVFile
ANTEXor
NGSPCV
Ifyouapplythereceiverantennaphasecenteroffset
andPCVcorrection,inputANTEXorNGStype
antennaparametersfilepath.
Anexampleoftheantennaparameterfileisfoundat
rtklib_<ver>\data\igs08.atx.
or
rtklib_<ver>\data\ngs_abs.pcv.
f
ile
-
rcvantfile
GeoidData
File
Inputthefilepathofthegeoiddatafileifselectingthe
externalmodelasGeoidModel.
f
ile
-
geoidfile
DCBDataFileInputthefilepathofDCBcorrectionforPPPinCODE
format.
Anexampleoftheantennaparameterfileisfoundat:
rtklib_<ver>\data\P1C1_ALL.DCB
rtklib_<ver>\data\P2C2.DCB
rtklib_<ver>\data\P1P2_ALL.DCB
f
ile
-
dcbfile
EOPDataFileInputthefilepathofanEOPdatafile.Theformatof
theEOPdatafileshallbeIGSERPformatversion.2
[62].
f
ile
-
eopfile
Ocean
LoadingBLQ
Format
InputthefilepathofanOTLcoefficientsfile.The
formatoftheOTLcoefficientsfileisBLQformat.[63]
f
ile
-
blqfile
GoogleEarth
ExeFile
InputtheexecutionfilepathofGoogleEarth.
-
RTKPOSTonly
FTP/HTTP
Local
Directory
InputthelocaldirectoryforFTP/HTTPdownload.
Thedownloadedfilesaresaveinthedirectory.
f
ile
-
tempdir RTKNAVIonly

RTKLIBver.2.4.2Manual
47
(7) Misc(RTKNAVI)
Figure3.58OptionsDialog(Misc)ofRTKNAVI
ItemDescriptionsConfiguration
FileNotes
Processing
Cycle/Buffer
Size
Settheprocessingcycletimeofinms.Usuallyset100
msorlessvalue.
Settheinputmessagebuffersizeinbytes.Usuallyset
itto32768ormore.
misc
-
svrcycle
Timeout/
ReConnect
Interval
SetthetimeoutandreconnectintervalforTCPclient
andNTRIPclientconnectionsinms.Ifthetimeout
timeexpiredwithoutseverresponse,RTKNAVI
retriestoconnecttoserverafterwaitingforthe
reconnectinterval.
misc
-
timeout,
reconnect
NMEACycle/
FileSwap
Margin
SettheNMEAGPGGAtransmissioncycletoNRTK
serverinms.
Ifoutputorlogfileswapenabled,settheoverlapped
periodsbetweenthepreviousandthenewoutput
filesinsecond.Ifyousetitto0,theperiodsofthese
filesarenotoverlapped.Thisfeatureistoavoidthe
missingoftransientdatabytheoutputfileswapping.
misc
-
nmeacycle
Solution
Buffer/Log
Size
Settheinternalsolutionbuffersizeandlogsizein
epochs.Toincreasethelengthofthereceiver
trajectoryonʺRTKMapʺ,increasethesolutionbuffer
size.
misc
-
buffsize
Navigation
Message
Selection
Selectnavigationmessagestobeused.
‐(1)All:Inanyoftheinputstreams
‐(2)Rover:Intheroverreceiverstream
‐(3)BaseStation:Inthebasestationreceiverstream
‐(4)Correction:Inthecorrectionstream
misc
-
navmsgsel
SBASSatellite
Selection
IfSBASDGPScorrectionenabled,inputSBASsatellite
PRNnumbertobeused.Ifyouinput0,allavailable
SBASsatellitesareused.
misc
-
sbasatsel Default:52001
RTKLIBver.2.4.2Manual
48
ItemDescriptionsConfiguration
FileNotes
MonitorPortSetmonitorportnumber.ThemonitorportisTCP
serverporttoconnectfromoutsideorbyRTKPLOT
forrealtimesolutionmonitor.Ifmultipleinstancesof
RTKNAVIaregenerated,thefollowingnumbersare
usedautomatically.If0isset,themonitorportisnot
used.
-
HTTP/NTRIP
Proxy
SetHTTP/NTRIPproxyserveraddressandport
numberas <address>:<port> formtoconnectthe
NTRIPCasterviaaHTTPProxyserver.
misc
-
proxyaddr
SolutionFontSelectthefontofthesolutiondisplayinthemain
window.
-
TLEDataSpecifyNORADTLE(twolineelement)satelliteorbit
elementdatafile.TLEdataareusedtocompute
satellitepositionsforskyplotifthesatelliteephemeris
isunavailable.Bothoftwolineformatorthreeline
formatofTLEdatacanbeused.AsampleTLEdata
canbefoundat:
rtklib_<ver>/data/
catalbe_2l_2013_01_09_pm.txt.
-
*1
SatNoSpecifythesatellitenumberfilewhichistoconnect
GNSSsatellite/PRNnumbersandTLEsatellitecatalog
numbersinNORADTLEdatafile.Asamplesatellite
numberfilecanbefoundat
rtklib_<ver>/data/TLE_GNSS_SATNO.txt.
-
*1ToobtainthelatestTLEdatafile,referthefollowingURLs:
(a)CelesTrack:http://celestrak.com
(b)SpaceTrack:http://www.spacetrack.org
(8) Misc(RTKPOST)
Figure3.59OptionsDialog(Misc)ofRTKPOST
RTKLIBver.2.4.2Manual
49
ItemDescriptionsConfiguration
FileNotes
Time
Interpolation
ofBase
Station
Observation
Data
SelectONtoenabletimeinterpolationofbasestation
data.IfselectingON,thebasestationdataarelinearly
interpolatedtotheroverepochandDD(double‐
difference)ismadewiththem.Ifnotchecked,nearest
epochofbasestationdataisusedforDD.
misc
-
timeinterp
SBASSatellite
Selection
IfSBASDGPScorrectionenabled,inputSBASsatellite
PRNnumbertobeused.Ifyouinput0,allavailable
SBASsatellitesareused.
misc
-
sbasatsel
RINEXOpt
(Rover)
SpecifyRINEXreadoptionsforroverRINEX
observationdataasfollows.Multipleoptionscanbe
inputseparatedbyspaces.
-GLss[=+n.nn]: select GPS signal ss
-RLss[=+n.nn]: select GLO signal ss
-ELss[=+n.nn]: select GAL signal ss
-JLss[=+n.nn]: select QZS signal ss
-CLss[=+n.nn]: select BDS signal ss
-SLss[=+n.nn]: select SBS signal ss
ss : signal id (refer Appendix D.3)
=+n.nn: phase shift +n.nn (cycle) to be
add to carrier-phase observables
Withouttheoptionandmultiplesignalsina
frequency,RTKLIBselectasignalforafrequency
accordingtothedefaultprioritiesofsignals.Refer
AppendixD.4DefaultPrioritiesofMultipleSignals.
misc
-
rnxopt1
RINEXOpt
(Base)
SpecifyRINEXreadoptionsforbasestationRINEX
observationdatasameastheRINEXOpt(Rover).
misc
-
rnxopt2
StationIDListForbatchprocessingwithmultipleinputfilesor
multiplesessions,youcansetinputfilepathsor
outputfilepathcontainingthefollowingkeywords:
%Y, %y, %m, %d, %n, %W, %D, %h, %H, %r, %b
Thekeywordsarereplacedbythepropervaluesor
expandedformultiplesessionanalysis.
Toenabletimekeywords,setTimeStart,TimeEnd
andUnit(optional)inthemainwindow.For
keywords%r,%b,inputRoverListorBaseStation
Listbelow.
Foronlinereference,pushʺ?ʺbutton.
RoversInputtheroverIDlisttoreplacekeyword%rininput
andoutputfilepaths.Thelinestartingwithʺ#ʺis
treatedasacomment.
-
BaseStationsInputthebasestationIDlisttoreplacekeyword%bin
inputandoutputfilepaths.Thelinestartingwithʺ#ʺ
istreatedasacomment.
-
RTKLIBver.2.4.2Manual
50
3.6 Convert Receiver Raw Data to RINEX with RTKCONV
RINEX(ReceiverIndependentExchangeFormat)isastandardGPS/GNSSdataformatsupportedbymany
receiversorGPS/GNSSpostprocessinganalysissoftware.RTKLIBpostprocessinganalysisAPRTKPOST
canalsohandleRINEXdatafilesasinputs.ForpreparingRINEXfiles,RTKLIBprovidestheconverterAP
RTKCONV,whichtranslatesreceiverraw,RTCMandBINEXmessagestoRINEXOBS(observationdata),
RINEXNAV(GNSSnavigationmessages).RTKCONVcanalsoextractSBASmessagesfromthereceiver
rawdataandoutputtheSBASlogfile.
ThesupportedRINEXversionsare2.10,2.11,2.12,3.00,3.01and3.02(draft)withRTKLIBextensions.Refer
AppendixB.2forSBASlogfilesandAppendixD.1forsupportedRINEXfiles.
(1) ExecutethebinaryAPfile<install dir>\rtklib_<ver>\bin\rtkconv.exe.Youcanseethe
mainwindowofRTKCONV.
Figure3.61MainWindowofRTKCONV
(2) InputthereceiverrawdatafilepathtothetextfieldRTCM,RCVRAWorRINEXOBS.Fillinthefile
pathdirectlyorselectthefilewiththefileselectiondialogbypushing...button.Youcanalsodrag
anddroptheiconoftherawdatafiletothemainwindowofRTKCONV.Supportedreceiverrawdata
formatsareasfollows.ReferAppendixD.2fordetailedsupportedmessagesforeachformat.Refer
AppendixD.3fortherelationshiptobeusedforconversionbetweenmultipleobservationcodes
expressedinRINEXversion2,RINEXversion3,RTCM3MSMandBINEX.
RTKLIBver.2.4.2Manual
51
(a)RTCM2 :RTCM2.3
(b)RTCM3 :RTCM3.0,3.1(withamendment15)and3.2
(c)NovAtelOEM6:NovAtelOEM4/OEMV/OEM6andOEMStarbinaryformat
(d)NovAtelOEM3:NovAtelOEM3(Millennium)binaryformat
(e)ublox :ubloxLEA4T,5T,6Tbinaryformat
(f)SuperstarII :NovAtelSuperstarIIbinaryformat
(g)Hemisphere :HemisphereCrescent/Eclipsebinaryformat
(h)SkyTraq :SkyTraqS1315Fbinaryformat
(i)GW10 :FurunoGW10II/IIIbinaryformat
(j)Javad :JAVADGRIL/GREISbinaryformat
(k)NVSBINR :NVSNV08CBINRbinaryformat
(l)BINEX :BINEXformat(onlybigendian,forward,regularCRCmessages)
(m)RINEX :RINEXOBS/NAVformat.
Ifthewildcard(*)isusedinthefilepath,thewildcardisexpandedtomultiplefilesandtheywillbe
read.BysettingʺRINEXʺastheinputfileformatandsettingoutputRINEXversion,youcanconvert
RINEXversion2toversion3orRINEXversion3toversion2.Inthiscase,youcanextractandoutput
RINEXdatawithselectedsatellites,signals,timespanortimeintervalofinputRINEXdata.
(3) SelecttheformatwiththepulldownmenuFormat.IfyouselectʺAutoʺ,RTKCONVrecognizesthefile
formataccordingtothefollowingfileextensions.
(a)RTCM2 :.rtcm2
(b)RTCM3 :.rtcm3
(c)NovAtelOEM6:.gps
(d)ublox :.ubx
(e)SuperstarII :.log
(f)Hemisphere :.bin
(g)SkyTraq :.stq
(h)Javad :.jps
(i)BINEX :.bnx, .binex
(j)RINEX :.obs,.*o,.nav,.*n,.*p,.*g,.*h,.*q,.*l
(4) InputtheoutputpathsofRINEXOBS(observationdata),RINEXNAV(GPSnavigationmessages),
RINEXGNAV(GLONASSnavigationmessages),RINEXHNAV(GEOsatellitenavigationmessages),
RTKLIBver.2.4.2Manual
52
RINEXQNAV(QZSSnavigationmessages),RINEXLNAV(Galileonavigationmessages)andSBAS
Logfiles.Fillinthefilepathdirectlyorselectthefilewiththefileselectiondialogbypushing...
button.Ifyoudonotcheckthecheckboxleft,thefileisnotoutput.RINEXGNAV,HNAV,QNAVand
LNAVaresupportedonlyinRINEXversion2.Ifselectingversion3astheoutputRINEX,all
navigationdataareoutputtoacombined(mixed)NAVtypeRINEXfile.Theoutputfilescaninclude
keywords.Thekeywordsarereplacedbytime,dateorstationID.Pushʺ?ʺbutton,toreferthekeyword
replacementsinoutputfiles.
(5) Ifyouwanttooutputthefilestoadirectory,checkʺOutputDirectoryʺandinputtheoutputdirectory.
Thedirectorycanbeselectedbypushing...button.IftheʺOutputDirectoryʺisnotchecked,thefiles
areoutputtothesamedirectoryoftheinputfile.Iftheoutputdirectoryisnotexist,thedirectoryis
automaticallycreated.Eveninthiscase,theparentdirectoryalwaysmustbeexist.Otherwise,the
directorycreationisfailed.
(6) YoucansetthestarttimeorendtimeoptionallybycheckingandsettingtheʺTimeStart(GPST)ʺ or
ʺTimeEnd(GPST)ʺ fieldupperinthemainwindow.Youcanalsosetthetimeintervaloptionby
checkingandsettingthefieldʺIntervalʺ.IfyouinputʺTimeStartʺ andʺTimeEndʺ,checkʺUnitʺand
inputʺTimeUnitʺ,youcaninitiatemultiplesessionconversion.Inthiscase,pleaseincludekeywords
tobereplacedbydateandtimeintheinputfilepathandtheoutputfilepaths.NotethatRTKCONV
doesnotconfirmtheoverwriteiftheoutputfileexistsinsuchamultisessionconversioncase.
(7) YoucanpushOptions...buttontoconfigureRINEXoptions.SettheoptionsforRINEXheaders,
navigationsystems,observationtypesorfrequencieswithʺOptionsʺdialog.IfyoucheckRINEXName,
theoutputfilepathsarecomplianttotheRINEXfilenameconvention.PleaseinputStationIDto
completetheoutputfilenamesforRINEXfilenameconvention.TheʺOptionʺ fieldis
receiverdependentoptions.Specifytheoptionsseparatedbyspaceslikeʺ
-EPHALL -GL1Xʺ.For
details,referAppendixD.5ReceiverDependentInputOption.ForRINEX3,youhadbettercheck
ʺScanObsTypesʺtoobtaineffectiveOBSTYPESininputfiles.Inthiscase,theinputfilesarescannedto
obtainavailableOBSTYPElistasthefirstconversionpathandthenRTKCONVoutputsRINEXasthe
secondconversionpath.IfʺScanObsTypesʺ unchecked,theOBSTYPESinoutputRINEXfilesare
determinedbythedefaultOBSTYPESsetdependingontheinputformatandtheʺSignalMaskʺ
settingsdescribedbelow.
RTKLIBver.2.4.2Manual
53
Figure3.62OptionsDialogofRTKCONV
(9) TosetthemaskofOBSTYPEStooutputtotheobservationfile,usetheʺSignalMaskʺdialogshownby
pushingMask...buttonintheʺOptionsʺ dialog.YoushallchecksignalstobeoutputtoRINEX
observationfileinthedialog.YoushallunchecksignalsnottooutputtotheRINEXobservationfile.
NotethatthesignalsnotinthedefaultOBSTYPESsetornotininputdataarenotoutputevenif
checked.UseSetAllorUnsetAllbuttontoselectordeselectallsignals.ReferAppendixD.3for
observationtypesorsignalIDsintheinputdataandtheoutputRINEXfiles.
Figure3.63SignalMaskDialogofRTKCONVOptions
(8) PushConvertbuttontostartconvertingthereceiverrawdatatoRINEXandSBASlogfiles.Ifyou
wanttostoptheconversionontheway,pushAbortbutton.Thestatusisdisplayedinthemessage
RTKLIBver.2.4.2Manual
54
arealowercenterinthemainwindow.ThemessageO=nnn meansthenumberofconverted
observationdata(epochs).ThemessageN=nnn, G=nnn, H=nnn,Q=nnn, L=nnn, S=nnn and
E=nnnmeansthenumberofnavigationmessages(NAV,GNAV,HNAV,QNAVandLNAV),SBAS
messagesanderrors,respectively.
(14) Afterfinishingtheconversion,youcanseetheobservationdataplotbypushingPlot...buttonwith
RTKPLOT.Refer3.7PlotandViewSolutionsandObservationDatafordetails.Youcanalsoviewthe
outputfilewithTextViewerbypushingbutton.
(15) BypushingProcess...button,youcanexecuteRTKPOST_MKLAPtoprocesstheconvertedRINEX
OBS/NAVfiles.Refer3.4PostprocessingAnalysiswithRTKPOSTfordetails.
RTKLIBver.2.4.2Manual
55
3.7 View and Plot Solutions with RTKPLOT
RTKLIBcontainstheAPRTKPLOTtoviewandplotthepositionigsolutionsbyRTKPOSTandRTKNAVI
withgraphicaluserinterface.RTKPLOTalsoacceptsgeneralNMEA0183filesorstreamstogeneratethe
solutionplot.
(1) ExecutethebinaryAPfile<install dir>\rtklib_<ver>\bin\rtkplot.exe.Youcanseethe
mainwindowofRTKPLOT.BypushingPlot...buttonorsomebuttonsofRTKPOSTandRTKCONV,
RTKPLOTisalsoexecuted.
 
Figure3.71MainWindowofRTKPLOT
(2) ExecutethemenuʺFileʺ‐ʺOpenSolution1ʺandselectthesolutionfilewiththefileselectiondialog.
TheinputsolutionfilecanbeRTKLIBsolutionformatorNMEA0183.IfthefileformatisNMEA0183,
thefilemustcontainatleastNMEAGPRMCandGPGGAsentences.Ifthesolutionfileisvalid,the
receivergroundtrackisplotinthewindowonthemap.Thecolorofthemarks,linesandgridinthe
plotcanbechangedwiththemenuʺEditʺ‐ʺOptionsʺ.Thestatusbaratthebottomofthemainwindow
alsoshowsthetimerange,thenumberofsolutionepochs(N=nnnn),thebaselinelength
StatusBar
ToolBar
Reload/
Clear
Button
Time
Scrollbar
PlotType
Selection
PlotArea
Tool
Buttons
QualityFlag
Selection
RTKLIBver.2.4.2Manual
56
(B=0.0-x.xkm),thenumberandpercentageofeachqualitysolutions(Q=1:nnn(pp%),
2:nnn(pp%),...).ThequalityflagQandthemarkercolormeans:1:Fixed,2:Float,4:DGPS,5:
Single(thecolorsarechangeablewiththeplotoptions).ToscreenthemarksbythequalityflagQ,
selectthesecondpulldownmenuintheToolBar.Bydraganddropofthesolutionfileicontothemain
windowofRTKPLOT,youcanalsoreadandplotthesolutionfile.

Figure3.72GNDTRKPlotbyRTKPLOT
(3) Bydraggingthemousewiththeleftbuttondownontheplot,youcandragthemapup,down,leftand
right.Youalsochangethescaleofthemapbydraggingthemouseupordownwiththerightbutton
orbyrotatingthescrollwheelofthemouse.
(4) ByselectingtheplottypepulldownmenurightinToolBar,youcanswitchtheplottoE/N/U
componentsofreceiverposition(Position),E/N/Ucomponentsofreceivervelocity(Velocity)orE/N/U
componentsofreceiveracceleration(Accel).YoucandragtheX/Yaxiswithleftbuttondraggingand
changethescalewithrightbuttondraggingattheX/Yaxisarea.Youcanhideorshowthethreeplots
bypushingthreebuttonsrightoftheplottypepulldownmenu.
RTKLIBver.2.4.2Manual
57
Figure3.73POSITIONPlotbyRTKPLOT
(5) Byselectingtheplottypepulldownmenu,youcanswitchtheplottoNSat/Age/Ratio(numberofvalid
satellites,ageofdifferential,ratiofactorofambiguityvalidation).IfyousettheʺOutputSolution
StatusʺoptiontoʺResidualsʺ,youcanshowaresidualsplot.Youcanswitchthefrequencybyselecting
L1/LC,L2orL5.Intheresidualsplotmode,youcanselectasatellitewithrightpulldownmenuaswell
asallsatellites.Intheresidualsplotofcarrierphases,theredlinesindicatecycleslipsandgraylines
indicateparityunknownflags(Thatmeanthehalfcycleambiguitiesincarrierphasearenotresolved).
RTKLIBver.2.4.2Manual
58
Figure3.74RESIDUALSPlotbyRTKPLOT
(6) BypushingtoolbuttonsintheToolBar,youcancenterthecurrentpositionwith,adjustthescale
ofXaxiswith,adjustthescaleofYaxiswith,displaythecurrentpositionasalargemarkwith
,fixthecurrenttrackpositionatthehorizontalcenterwith,fixthecurrenttrackpositionatthe
verticalcenterwith,startanimationwithandstopanimationwith.YoucanalsoslideʺTime
ScrollBarʺtochangethecurrentepoch.Toclearreaddata,executethemenuʺFileʺ‐ ʺClearʺorpush
buttonintheToolBar.Toreloadthesolutionfile(s),executethemenuʺFileʺ‐ʺReloadʺorpush
buttonintheToolBar.
(7) ByexecutingthemenuʺFileʺ ‐ ʺOpenMapImageʺ,youcanreadaJPEGimageanddrawthemap
imageonthebackgroundoftheplotincaseoftheʺGndTrkʺplottype.Theimagecanbeenabledor
disabledbypushingbuttonintheToolBar.
RTKLIBver.2.4.2Manual
59
Figure3.75MapImageOverlaybyRTKPLOT
(8) Toadjustthepositioninthemapimage,executethemenuʺEditʺ‐ʺMapImageʺandinputlatitudeand
longitudeoftheimagecenter,imagescalealongXorYaxisinʺMapImageʺ dialog.Ifyoufinishit,
pushSaveTagbuttontosavetheadjustmentinformationtoanimagetagfile.Thepathofthe
imagetagfileistheoriginalmapimagefilepath+.tag.Iftheimagetagfilealreadyexists,itis
automaticallyreadwiththemapimageitself.Thecurrentversiondoesnotsupportrotationofthemap
image.Pleaseselectthemapimageinwhichthenorthdirectionisproperlyalignedtotheupper
direction.Forexample,youcangetaJPEGimagebythemenuʺFileʺ ‐ʺSaveʺofGoogleEarth.Tofix
northtoupper,pushʺNʺ buttoninGoogleEarth.Toavoidthedistortionofthemapimage,setthe
coordinatesorigininsideofornearthemapimage.
Figure3.76MapImageOptionsDialogofRTKPLOT
(9) Inversion2.4.2,GoogleEarthViewandGoogleMapViewforRTKPLOTareaddedtoplotthesolution
onGoogleEarthorGoogleMap.ToopenGoogleEarthVieworGoogleMapView,executethemenu
RTKLIBver.2.4.2Manual
60
View‐GoogleEarthView...orView‐GoogleMapViewofRTKPLOTafterthesolutionread.The
toolbarbuttonsorcanalsobeusedtoshowtheseviews.NotesthattheInternetconnectionis
alwaysnecessarytousetheseviewsbasedonservicesprovidedbyGoogle.
(10) IntheGoogleEarthView,thetoolbarbuttonscanbeusedtoshow/hidenavigationcontrol,show/hide
Lat/Longrid,show/hidescalelegend,show/hideoverviewmap,show/hidestatusbar,enable/disable
layers(terrain,loads,buildingsandborders),switchobjective/perspectiveviews,zoomup/out,rotate
left/rightandfixnorth/headingup.IfthetoolbarbuttonʺshowtrackpointʺbuttononRTKPLOTmain
windowisdown,thetrackpointpositionisalsoshownintheGoogleEarthViewasayellow(solution
1)orred(solution2)marker.ThepositionsofmarkersarelinkedtothemarkerpositionsinRTKPLOT
mainwindow.Inthiscase,themarkerpositioncanbefixedtothecenteroftheGoogleEarthViewby
pushingʺFixTrackCenterʺ toolbarbutton.Toenablealtitudeinformationofthetrackpoint,push
ʺEnableAltitudeʺtoolbarbuttonintheGoogleEarthView.
Figure3.77GoogleEarthViewofRTKPLOT
(11) IntheGoogleMapView,theonlyatoolbarbuttontofixthetrackpointcenterassameastheGoogle
EarthView.OtheroperationsfortheGoogleMapView,usethecontrolsintheGoogleMapView.
RTKLIBver.2.4.2Manual
61
Figure3.78GoogleMapViewofRTKPLOT
(12) ByexecutingthemenuʺEditʺ‐ʺWaypoints...ʺ,youcanseetheʺWaypointsʺdialog.Withthedialog,
youcanload,save,addanddeletethewaypointsasthelistform.BypushingAddbuttonand
editingthepointname,thecurrentreceiverpositioncanbeaddedtothewaypointlist.Thepositions
ofthewaypointsareshownontheʺGndTrkʺplotwhenbuttondown.
Figure3.79WaypointsDialogofRTKPLOT
(13) Toplotmultiplesolutionfile,executethemenuʺFileʺ‐ʺOpenSolutions2ʺandselectfilewiththefile
selectiondialog.Youcanswitchtheploton/offofthesolution1and2with12buttonsinToolBar.
ToPlotthedifferenceofthesolution1andthesolution2,push12buttoninToolBar.
(14) Tosetthetimerangeandtimeintervalofthesolutions,executethemenuʺEditʺ‐ʺTimeSpan/Intervalʺ
andcheckandsettheTimeStart,TimeEndandIntervalfieldinʺTimeSpan/Intervalʺdialog.
RTKLIBver.2.4.2Manual
62
Figure3.710TimeSpan/IntervalDialogofRTKPLOT
(15) ByExecutingthemenuʺEditʺ‐ʺSolutionSourceʺ,youcanviewthesourceofsolutionsasthetext
form.
Figure3.711SolutionSourceViewofRTKPLOT
(16) Toplotsolutionsinrealtime,executethemenuʺFileʺ‐ʺConnectionSettingsʺandsetsolution
parametersinʺConnectionSettingʺdialog.YoucanselectStreamType,StreamOption(Opt),Stream
Commands(Cmd),SolutionFormat,TimeFormat,Lat/LonFormatandFieldSepforbothof
solution1andsolution2.Aftersettingtheconnectionparameters,executethemenuʺFileʺ‐ʺConnectʺ
orpushbuttoninToolBar.Todisconnecttheexternaldevice,executemenuʺFileʺ‐ʺDisconnectʺor
pushconnectbuttonagain.Forexample,ifselectingserialasStreamTypeandNMEA0183asSolution
Format,youcanmonitorexternalreceiverʹsNMEAoutputintheRTKPLOTwindow.
RTKLIBver.2.4.2Manual
63
Figure3.712ConnectionSettingsDialogofRTKPLOT
(17) BypushingPlot...buttonofRTKNAVI,RTKPLOTautomaticallyrunsandconnectstothemonitor
portofRTKNAVI.IfyouwanttoconnecttoRTKNAVIexecutedontheremotePC,configurethe
connectionsettingintheConnectionSettingdialoglikeTCPClientasStreamType,IPaddressofthe
remotePCandportnumberofmonitorportofRTKNAVIandconnecttotheremoteRTKNAVI.Inthis
case,multipleclientconnectionsareallowedfrommultiplePCsrunningRTLPLOTs.
(18) ToconfiguretheplottingoptionsforRTKPLOT,executethemenuʺEditʺ‐ʺOptions...ʺandsetthe
optionswiththefollowingʺOptionsʺdialog.
Figure3.713OptionsDialogofRTKPLOT
RTKLIBver.2.4.2Manual
64
ItemDescriptionsNotes
TimeFormatSelecttimeformat.
(wwww/ssss,h:m:sGPST,h:m:sUTCorh:m:sLT).
Lat/LonFormatSelectlatitudeandlongitudeformat.
(ddd.dddddordddmmss.ss)
ShowStatisticsSetwhetherstatisticsareshownornot.
CycleSlipSetwhethercycleslippositionisshownornotinthesatellite
visibilityplot.IfʺLGJumpʺselected,dualfrequencygeometry
freeLC(linearcombination)isusedtodetectcycleslips.Inthe
caseofʺLLIFlagʺ,LLI(lossofflockindicator)inRINEX
observationdataisused.Cycleslipsareshownasredvertical
linesintheSatelliteVisibilityplot.
ParityUnknownSetwhetherparityunknownstatusisshownornotinthe
satellitevisibilityplot.Parityunknownepochsareshownas
grayverticallinesinthesatellitevisibilityplot.
EphemerisSetwhetherephemerisstatusisshownornotinthesatellite
visibilityplot.Ephemeridesareshownasthegreylineunder
theobservationdata.GraydotsmeantheToe(timeof
ephemeris).Redephemerislinesmeanthesatelliteunhealthy.
ElevationMaskSettheelevationmaskangle(deg)forthesatellitevisibilityplot.
TheelevationmaskisalsousedforDOP/NSatplot.
ElevationMask
Pattern
Setwhetherelevationmaskpatternisusedornot.
HideLowSatelliteSetwhetherlowelevationsatellitesundertheelevationmask
andtheelevationmaskpatternareshownornot.
MaximumDOPSettheyaxislimitofDOP/NSatplot.
ReceiverPositionSetthereceiverpositionforthesatellitevisibilityplotor
skyplot.ʺSingleSolutionʺusessinglepointresultsasreceiver
positionsbyusingobservationandnavigationdata.For
movingreceivers,youshallsetit.ʺLat/Lon/Hgtʺuseslatitude,
longitudeandheightforstaticreceiversspecifiedasthe
followingLat/Lon/Hgtfields.ʺRINEXHeaderʺusesʺAPPROX
POSITIONXYZʺinRINEXobservationdataheaderasthe
receiverposition.
SatelliteSystemCheckselectednavigationsystemsforplots.
ExcludedSatsSetexcludedsatellites.FillinthesatellitenumberorID
separatedbyspaces.
ErrorBar/CircleSetwhethererrorbarorerrorcircleisshownornotinsolution
display.YoucanselectʺBar/CircleʺorʺDotsʺastheformat.
DirectionArrowSetwhetherdirectionarrowandvelocityarrowareshownor
notinthesolutiongroundtrackplot.
GraphLabelSetwhethergraphlabelsareshownornotinsolutiondisplay.
Grid/GridLabelSetwhethergridandgridlabelsareshownornotinsolution
display.SetittoʺCirclesʺorʺCircles/Labelʺforcirculargrids.
CompassSetwhethercompassisshownornotinthesolutionground
trackplot.
ScaleSetwhetherscaleisshownornotinthesolutiongroundtrack
plot.
RTKLIBver.2.4.2Manual
65
ItemDescriptionsNotes
AutoFitSetwhetherscaleisadjustedautomaticallyornotforsolution
plots.
YRange(+/)SettherangeofYaxisinsolutionplots.
RTBufferSizeSetthebuffersizeforrealtimesolutionplotsinepochs.The
oldersolutionsoverthebuffersizearedeletedforrealtime
plots.
CoordinateOriginSelecttheoriginpositionofsolutiondisplayasfollows.
‐StartPos:thefirstsolutionposition
‐EndPos:thelastsolutionposition
‐AveragePos:theaverageofallsolutionpositions
‐LinearFitPos:basedonthelinearlyfittedpositions
‐BaseStation:thebasestationposition.
‐Lat/Lon/Hgt:latitude,longitudeandheightspecified
‐AutoInput:autopositionasfollows
‐Waypoint110:awaypointposition
IfyouselectʺLat/Lon/Heightʺ,youhavetoinputlatitude,
longitudeandellipsoidalheightinthetextfieldsbelowforthe
origin.IfselectingʺAutoInputʺ,receiverIDisassumedasthe
4charactorsofthesolutionfilenameheadandthepositionis
readfromthepositionfile.Thepositionfilecanbeselectedby
pushing...buttonandpushingʺLoadʺbuttoninthepositionlist
dialog.
MarkColor1
(16)
SetthemarkcolorsforsolutionNo.1orobservationdatain
plots.Clickcolorpanelrightandselectcolorwithcolor
selectiondialog.
MarkColor2
(16)
SetthemarkcolorsforsolutionNo.2inplots.
LineColorSetthelinecolorinplots.
TextColorSetthetextcolorinplots.
GridColorSetthegridcolorinplots.
BackgroundColorSetthebackgroundcolorinplots.
PlotStyleSelecttheplotstyleinplots.Todeleteallofmarkersandlines
exceptforthetrackpointmark,setitʺNoneʺ.
MarkSizeSetthemarksizeinplots.
FontSelectthefontinplots.Push...buttonandselectthefontwith
thefontselectiondialog.
Animation
Interval
Settheanimationintervalforsolutionorobservationdata
plots.
UpdateCycle(ms)Settheplotupdatecycletimeinmsforrealtimeplots
Lat/Lon/HgtSetlatitude,longitudeandheightfortheorigin.Fillinthe
valuesdirectlyorpush...buttonandselectastationposition.
RTKLIBver.2.4.2Manual
66
ItemDescriptionsNotes
QCCommandSetQCcommandanditsoptionsforobservationdata.
Asdefault,TEQCQCmodeoptionsareset.Thecommandis
usedforexecutingthemenuʺEditʺ‐ʺObsDataQC...ʺ.The
commandmustbeinthecommandsearchpathorinthe
directoryfortheRTKLIBexecutablefiles.
RINEXOptSetRINEXreadoptions.ForRINEXreadoptions,refer
<install dir>\rtklib_<ver>\src\rinex.cfordetails.
TLEDataSpecifyNORADTLEsatelliteorbitelementdatafile.TheTLE
dataareusedtocomputesatellitepositionsfortheskyplotif
thesatelliteephemerisunavailable.Bothoftwolineformator
threelineformatofTLEdatacanbeused.AsampleTLEdata
canbefoundat:
<iinstall dir>\rtklib_<ver>\data\
catalbe_2l_2013_01_09_pm.txt.
Seealso
RTKNAVI
Optionsdialog
SatNoSpecifythesatellitenumberfilewhichistoconnectGNSS
satellite/PRNnumbersandTLEsatellitecatalognumbersin
NORADTLEdatafile.Asamplesatellitenumberfilecanbe
foundat
<install dir>\rtklib_<ver>\data\
TLE_GNSS_SATNO.txt.
(19) ThefollowingmenusareprovidedinRTKPLOT.Somemenuscanbeexecutedbypushingbuttonon
theToolBar.
MenuTool
BarDescriptionNotes
File
OpenSolution1...*OpensolutiondataNo.1.*double
click
OpenSolution2...*OpensolutiondataNo.2.*double
click
OpenMapImage...‐Openmapimagedataforthesolutionplot.
OpenMapPath...‐Openmappathdataforthesolutionplot.
BrowseSolution‐
ShowʺSolutionBrowserʺwindowandbrowse
solutiondata.
OpenObsData...‐
Openobservationdata.Navigationdataarealso
openautomatically.
OpenNavData...‐Opennavigationdatamanually.
OpenElevMask...‐Openelevationmaskdata.
VisibilityAnalysis...‐Executesatellitevisibilityanalysis.
SaveImage...‐Savetheimageoftheplottoanimagefile.
Save#ofSats/DOP...‐
SavethenumberofsatellitesandDOPtoantext
file.
RTKLIBver.2.4.2Manual
67
MenuTool
BarDescriptionNotes
SaveSNR,MPand
AZ/EL..‐ SavetheSNR,multipathandazimuth/elevation
datatoantextfile.
Connect...Connecttoexternalrealtimesolutionstreams.
Disconnect...Disconnecttheconnection.
ConnectionSettings...‐
ShowtheʺConnectionSettingʺdialogto
configuretheconnectionoptions.
Reload
Reloadsolution,observationandnavigation
data.
ClearClearsolution,observationandnavigationdata.
Exit‐CloseandexitRTKPLOT.
Edit
TimeSpan/Interval...‐
SettheʺTimeSpan/Intervalʺdialogtosettime
spanandtimeinterval.
MapImage...‐
ShowtheʺMapImageʺdialogtoconfigurethe
size,positionandscaleoftheimagedata.
Waypoints...‐
ShowtheʺWaypointʺdialogtoaddormodifythe
waypoints.
SolutionSource...‐
ShowthesourceofthesolutiondatabyText
Viewer.
ObsDataSource...‐
ShowthesourceoftheobservationdatabyText
Viewer.
ObsDataQC...‐
ExecuteQCoftheobservationdataandshowthe
resultsbyTextViewer.
CopyToClipboard‐CopytheimageoftheplottoClipboard.
Options
ShowtheʺOptionsʺdialogtoconfigureplot
options.
View
ShowToolBar‐ShoworhidetheToolBar.
ShowStatusBar‐ShoworhidetheStatusBar.
GoogleEarthView...ShowGoogleEarthView.
GoogleMapView...ShowGoogleMapView.
InputMonitor1...‐
ShowtheʺInputMonitorʺwindowforrealtime
inputstreamNo.1.
InputMonitor2...‐
ShowtheʺInputMonitorʺwindowforrealtime
inputstreamNo.2.
CenterOriginMovethecoordinatesorigintothecenterofthe
plot.
FitHorizontal
Fitthehorizontalrangeofthesolutionor
observationdataintheplot.
FitVertical
Fittheverticalrangeofthesolutiondatainthe
plot.
ShowTrackPointShoworhidethetrackpointofthesolutionor
observationdataintheplot.
RTKLIBver.2.4.2Manual
68
MenuTool
BarDescriptionNotes
FixTrackCenterFixthetrackpointonthecenteroftheplot.
FixTrackHorizontalFixthetrackpointhorizontallyontheplot.
FixTrackVerticalFixthetrackpointverticallyontheplot
ShowMapImageShoworhidethemapimage.
ShowPath/WaypointsShoworhidethemappathdata.
AnimationStartStarttheanimationoftheplot.
AnimationStopStoptheanimationoftheplot.
HelpAbout...‐ShowtheʺAbout...ʺdialog.
RTKLIBver.2.4.2Manual
69
3.8 View and Plot Observation Data with RTKPLOT
RTKPLOTisalsousedtoviewandplottheRINEXobservationdataaswellassatellitevisbilityanalysis.
(1) ToplottheRINEXobservationdata,executemenuʺFileʺ‐‐ʺOpenObsDataʺofRTKPLOTandselect
theRINEXobservationandnavigationmessagefiles.YoucanselectmultipleRINEXfiles.Ifyoudonot
selecttheRINEXnavigationmessagefile,RTKPOSTreadstheobservationdatafilepathswiththe
extensionreplacedby.*nav (.obs)or.yyN,.yyG,.yyH,.yyQ,.yyL,.yyP (.yyO)astheGPS,
GLONASS,SBAS,QZSS,Galileoorcombinednavigationdata.IfyouwantreadtheRINEXnavigation
messagefileseparately,executethemenuʺFileʺ‐ʺOpenNavMessagesʺ.Iftheinputfilescanberead
properly,youcanseeasatellitevisibilityplot.Youcanuseleftbuttonorrightbuttondragtochange
thetimespan.Youcanalsousesometoolbarbuttonsaswellasforthesolutionplot.
Figure3.81SatelliteVisibilityPlotofRTKPLOT
(20) ByselectingthepulldownmenuinToolBar,youcanswitchtheplottothesatellitevisibilityinskyplot
(SkyPlot)ortheplotofthenumberofvisiblesatellites,theDOP/NSatplot(DOP/NSat),the
SNR/Multipath/Elevationplot(SNR/MP/EL)andtheSNR/Multipath‐ELplot(SNR/MPEL).Toshow
theSNRplots,theobservationdatamustcontainSNR(C/N0)information.Toshowtheproper
multipathplots,theobservationdatamustcontaindualfrequency(L1L2forGPS,GLONASSand
QZSS,L1L5forGalileo,L2L7forBeiDou)pseudorangeandcarrierphase.RTKPLOTinternally
RTKLIBver.2.4.2Manual
70
generatesMPLC(linearcombination)withtheseobservablestoplotthemultipath.Tocomputethe
elevationangleofsatellites,RTKPLOTalsoneedsatellitepositions.IncaseofRINEXNAVfilesinput,
thesatellitepositionsarecomputedbyusingsatelliteephemeridesinRINEXNAVfiles.IftheRINEX
NAVfilesarenotavailable,RTKPLOTalternativelyusesNORADTLE(twolineelement)datasetfor
satellitepositions.Inthiscase,youmustspecifythereceiverpositionasthelatitude,longitudeand
heightformintheʺOptionsʺdialog.Youcanselectsignalsandsatelliteswithupperpulldownmenus
onthetoolbar.Inthesatelliteselection,ʺGʺ,ʺRʺ,ʺEʺ,ʺJʺ,ʺCʺandʺSʺ meanGPS,GLONASS,Galileo,
QZSS,BeiDouandSBAS,respectively.
Figure3.82SkyplotbyRTKPLOT
RTKLIBver.2.4.2Manual
71
Figure3.83#ofVisibleSatellitesandDOPPlotbyRTKPLOT
Figure3.84SNR/MultipathPlotbyRTKPLOT
RTKLIBver.2.4.2Manual
72
Figure3.85SNR/Multipath‐ElevationPlotbyRTKPLOT
(21) YoucanapplytheelevationmaskbyreadingtheelevationmaskdatabythemenuʺFileʺ‐ʺOpenElev
MaskʺandbysettheoptionʺElevMaskPatternʺON.Fortheformatoftheelevationmaskdata,refer
theexamplefilefoundin<install dir>\rtklib_<ver>\data\elmask_sample.txt.
Figure3.86ElevationMaskinSkyplotbyRTKPLOT
(22) ByExecutingthemenuʺEditʺ ‐ ʺObsDataSourceʺ orʺObsDataQCʺ,youcanviewthesourceof
RTKLIBver.2.4.2Manual
73
solutionsortheQCresultasthetextform.
Figure3.87QCResultViewbyRTKPLOT
(23) Inver.2.4.2,thesatellitevisibilityanalysisfunctionisadded.WithNORAD(NorthAmerican
AerospaceDefenseCommand)TLE(twolineelement)dataset,youcanpredictGNSSsatellite
visibilitybyRTKPLOTanywhereandanytime.Toenablethisfeature,settheTLEdataandthesatellite
numberfilepathbyʺOptionsʺdialog.Thefollowingfiguresshowexamplesofthesefiles.
RTKLIBver.2.4.2Manual
74
Figure3.88ExamplesofTLEData(upper)andSatelliteNumberFile(lower)
NORADTLEdatafilesarefreelyavailableatCelesTrak(http://celestrack.com)orSpaceTrack
(http://www.spacetrack.org).YouhavetodownloadTLEdatacontainingorbitelementsoftarget
GNSSsatellites.ForallofGNSSsatellites,youhadbettertouseʺfullcatalogʺforallavailablesatellites
providedbySpaceTrack.Formoreaccuratesatellitepositions,youhadbettertousenewerTLEdata.
AnothersatellitenumberfileisusedtotranslatetheTLEsatellitenumberstotheGNSSsatellite
numberslikeG23,R03,139.Asamplesatellitenumberfilecanbefoundat<install
dir>\rtklib_<ver>\data\TLE_GNSS_SATNO.txt.NotethatthecorrespondenceofGNSS
satellitenumberswithsatellitesissometimeschangedbythesystemconstellationchange.Inthiscase,
youshalleditandmodifythesatellitenumberfilebyyourself.
TopredicttheGNSSsatellitevisibility,setuserlocationaslatitude,longitudeandheightbyʺOptionsʺ
dialog.YouhavetosetʺReceiverPositionʺtoʺLat/Lon/Hgtʺ.ThenexecutethemenuʺFileʺ‐ʺVisibility
Analysis...ʺ,youcanseeʺTimeSpan/Intervalʺdialog.
Figure3.89TimeSpan/IntervalDialogofRTKPLOT
RTKLIBver.2.4.2Manual
75
Bythedialog,setʺTimeStartʺ,ʺTimeEndʺ inGPSTime,ʺIntervalʺ fortheanalysisandpushʺOKʺ
button.Youcanobtainasatellitevisibilitychartatthespecifiedlocation.Inthechart,thecolors
indicatesatellitesystemasGPS,GLONASS,Galileo,QZSS,BeiDouandSBASasdefault.Youcan
switchtheplottoSkyplot,DOP/NSatorSNR/MP/ELassameastheobservationdataplots.
Figure3.810SatelliteVisibility(Predicted)PlotbyRTKPLOT
Figure3.811Skyplot(Predicted)byRTKPLOT
RTKLIBver.2.4.2Manual
76
(24) FortheplottingoptionsforsolutiondatabyRTKPLOTandthemenusprovidedbyRTKPLOT,refer
3.7ViewandPlotSolutiondatawithRTKPLOT.
RTKLIBver.2.4.2Manual
77
3.9 Download GNSS Products and Data with RTKGET
ForPPP(precisepointpositioning)analysis,youwouldoftenneedtodownloadIGS(InternationalGNSS
service)preciseGNSSproductslikesatelliteorbitandclockinformation.Inothercases,youmightwantto
downloadtheobservationdataofaCORS(continuousoperatingreferencestations)networkfromaGNSS
dataarchiveviaInternet.TodownloadtheseGNSSrelatedproductsanddata,RTKLIBoffersausefulGUI
downloadutilityAPRTKGET.RTKGETisnewlyaddedinver.2.4.2.
(1) ExecutethebinaryAPfile<install dir>\rtklib_<ver>\bin\rtkget.exe.Youcanseethe
mainwindowofRTKGET.
Figure3.91MainWindowofRTKGET
(2) Atfirst,youhavetoconfiguretheURLlistfileforGNSSdata.PushOptions...buttoninthemain
window.YoucanseetheʺOptionsʺdialog.
RTKLIBver.2.4.2Manual
78
Figure3.92OptionsDialogofRTKGET
(3) Fillinthefilepathorselectthefilebypushing...ofʺURLListFileforGNSSDataʺ.ReferAppendix
B.5fortheformatofthefile.AnexampleoftheURLlistfileforGNSSdataisfoundat<install
dir>\rtklib_<ver>\data\URL_LIST.txt.Ifyouleavethefieldblank,RTKGETusesthedefault
URLListfile<install dir>\rtklib_<ver>\data\URL_LIST.txt.
(4) Selectdownloaddatatypebytheleftlistboxinthemainwindow.Youcanselectmultipledatatypes
inthelist.Byusingcomboboxabovethelistbox,youcanfilterthelistbydatatypecategories.The
URLaddressofdownloaddataisshownatthecenterofthefirstmessagearea.Thelocaldirectoryis
alsoshowninthesecondmessagearea.
Figure3.93SelectionofDownloadDataTypebyRTKGET
RTKLIBver.2.4.2Manual
79
(5) SpecifythetimespaninGPSTimewithʺStartʺ,ʺEndʺandʺIntvʺfields.ThetimekeywordsintheURL
addressofdownloaddataarereplacebythetimespecifiedasthetimespan.IftheURLaddress
containsthekeyword%N,thekeywordisreplacedbythenumberintheʺNo.ʺ field.Tospecifya
sequenceofnumbers,useʺ-ʺtoexpresstherangelikeʺ1-99ʺintheʺNo.ʺfield.
(6) TheURLaddresscontainskeyword%s,%Sor%r,thekeywordisreplacedbythestationnames
selectedintherightlistboxʺStationsʺ.Toselectthestationname,push...buttonattherightupper
cornerinthemainwindow.YoucanseetheʺStationsʺdialog.Youcaninputoreditthestationname
listsinthedialog.Alineofthestationnamelistsindicateastationnametobeusedtoreplacethe
keywordsintheURLaddress.Toloadstationnamelistfromaexternaltextfile,pushLoad...button
toselectthefile.YoucansavethestationnamelisttoexternaltextfilebypushingSave...button.
Theexternaltextfileissimpletextfilecontainingstationnamesastextlines.Afterinputoreditthe
stationnamelist,pushOKbuttontoclosethedialogandsetthestationnamelisttothemain
window.
Figure3.94StationsDialogofRTKGET
(7) IncaseofFTPdownload,setʺFTPLoginʺandʺPasswordʺ forFTPserverlogin.Forthemostofthe
anonymousFTPservers,youcanuseʺanonymousʺandyourEmailaddressforthefileds.Thencheck
oruncheckthefollowingdownloadoptions:
(a)SkipExistingFiles:Setwhetheryouskipthedownloadornotifthelocalfileexists
(b)Unzip/UncompactFiles:Setwhetheryouunzipofuncompressthedownloadfilesiftheseare
compressed.
RTKLIBver.2.4.2Manual
80
(c)LocalDirectory:Checkandsetthelocaldirectorypathfordownloadedfiles.Push...toselect
directorybytheʺDirectorySelectionʺdialog.Ifnotchecked,thedefaultdownloaddirectoryinthe
URLlistfile.Thedirectorypathcancontainkeywordstobereplacedbydate,time,stationnameand
envrionmentvariableassameasURLlist.Push?buttontoshowdetailedreplacementinthe
directorypath.
Figure3.95KeywordReplacementDialogofRTKGET
(8) SelectstationnamesinʺStationsʺlistbox.PushAbuttontoselectallofstationsandDbuttonto
deselectallofstations.
(9) PushDownloadbuttontostartdownload.Thethirdmessageareashowsthedownloadstatus
indicatorforeachfile.Theindicatorʺ
_ʺ meansinprogress,ʺ
oʺ meansdownloadOK,ʺ
.ʺ means
skipped,ʺ
xʺ meansnodataandʺ
Xʺ meanssomedownloaderror.Toabortthedownloadhalfway,
pushAbortbutton.Eveninpushingthebutton,thelastdownloadstillinprogresscannotcanceled.
Pleasewaitawhiletofinishthelastdownloadtoabort
Figure3.96DataDownloadingbyRTKGET
RTKLIBver.2.4.2Manual
81
(10) Aftercompletingallofthedownloadsorabortingthedownload,pushFiles...buttoninthemain
windowtoexecuteWindowsexplorershowingthedownloadedlocaldirectory.Toseethedownload
log,pushLog...button.YoucanseethedownloadloginʺTextViewerʺ window.Toenablethe
downloadlogfunction,youhavetosettheʺDownloadLogFileʺ fieldintheʺOptionsʺ dialog.If
ʺAppendʺcheckedforthedownloadlog,thelogsareaddedtotheexistinglogfileifitexists.Ifnot
checked,thedownloadlogisnewlygeneratedforeverytriesofdownloads.
Figure3.97DownloadLogViewbyRTKGET
(11) TotestGNSSdataexistenceaslocalfilesbeforeactualdatadownload,pushTest...buttonafter
settingsassameastheactualdownloaddescribedabove.Youcanseethelocaldataavailabilityreport
intheʺTextViewerʺwindow.YoucansavethereportbypushingSave...buttonandspecifythefile
pathinthefilesavedialog.Thenumberofcolumnsanddateformatofthelocaldataavailability
reportcanbemodifiedbytheʺOptionsʺdialog.
RTKLIBver.2.4.2Manual
82
Figure3.98LocalFileTestViewbyRTKGET
(12) Bydefault,thedetailedlogforthedownloadprogressanderrorsisautomaticallydeleted.Tokeep
sucherrorlogs,checkʺKeepErrorInfoonDownloadErrorʺintheʺOptionsʺdialog.Thedetailederror
logissavedasthefile<local dir>\<file>.errforeachdownloadfile.Tokeepremotefilelistfile
inordertoanalyzetroubleseasily,checkʺKeepRemoteDirectoryListingʺaswell.Theremotefilelist
issavedasthefile.listinginthecurrentdirectory.
RTKLIBver.2.4.2Manual
83
3.10 NTRIP Browser
NTRIP(NetworkedTransportofRTCMviaInternetProtocol)isacommunicationprotocoltointerchange
GPS/GNSSrelateddatasuchasreceiverrawobservationdata,ephemeridesandcorrectionsforDGPSor
RTKGPS.NTRIPspecifiesthetableformatofsocalledSourceTable,whichrepresentscontentslistof
provideddatabyNTRIPservers.RTKLIBincludesasimplebrowserforNTRIPSourceTables.
(1) ExecutethebinaryAPfilertklib_<ver>\bin\srctblbrows.exe.Youcanseethemainwindow
ofNTRIPSourceTableBrowser.
Figure3.101MainWindowofNTRIPBrowser
(2) Pushbuttonupperleftinthemainwindow,leavingrightpulldownmenuofNTRIPcasterlist
blank.Ifthebottomstatusbarshowsʺconnecting...ʺandthenʺupdatecasterlistʺ,theNTRIPcasterlist
isupdated.Ifthepulldownmenuisblank,thebrowseracquirestheNTRIPcasterlistfromthedefault
NTRIPinfocasterrtcm-ntrip.org:2101andupdatethelist.Tochangethesourceofthelist,fillthe
NTRIPcasteraddressastheformof<address>:<port>
inthepulldownmenuandpushbutton.
Ifyouomitportnumber,thebrowserusesthedefaultportnumber2101.
(3) Selectthecasterinthepulldownmenuandpushbutton.Ifthestatusbarshowsʺsourcetable
receivedʺ,thebrowserproperlyreceivedaNTRIPSourceTablefromtheselectedNTRIPcasterand
showsitinthewindow.Thestatusbaralsoindicatetheerrormessageifaproblemarises.
RTKLIBver.2.4.2Manual
84
Figure3.102NTRIPStreamListViewbyNTRIPBrowser
(4) Bypushingfieldtitle,youcansortthelistbythefieldcolumn.YoualsocanpushSTR,CAS,NET,
SRCtoswitchthecontentsoftheSourceTabletoStreamList,CasterList,NetworkListandOriginal
SourceTable.
Figure3.103NTRIPSourceTableViewbyNTRIPBrowser
RTKLIBver.2.4.2Manual
85
(5) BypushingtheMAPinToolBar,youcanopenthemapviewofthepositionsoftheNTRIPmount
pointsbyGoogleMap.Byclickthemarkerinthemapview,youcanshowthedetailinformationofthe
mountpoint.ByselectingamountpointintheNTRIPbrowserwindow,indicatethemountpoint
positioninthemapbychangethemarkerʹscolor(red).
Figure3.104MapViewofStationPositionsbyNTRIPBrowser
RTKLIBver.2.4.2Manual
86
3.11 Use CUI APs of RTKLIB
RTKLIBincludesthefollowingCUIAPs.TheseCUIAPsonlyusestandardANSIC(C89)functionsanda
smallnumberofstandardClibrariestoensuretheportability.SoyoucouldbuildtheseCUIAPsonthe
nonWindowsenvironmentlikeLINUX,UNIX,MACOSXandsoon.Youcanalsobuildandexecutethese
APsonembeddedCPUlikeARM.ReferAppendixACUICommandReferencesfortheseAPsincluding
commandlineoptions.FortheproceduretobuildtheseAPs,refer4.2BuildCUIAPsofRTKLIB.Notesthat
youmighthavetomodifymakefiletoadjustthebuildenvironmentbuttheprogramitselfdoesnotneed
tomodifytoportitonthemostofenvironments.
(1) RTKRCV
RealtimePositioning.TheconsoleAPversionofRTKNAVI.
(2) RNX2RTKP
PostProcessingAnalysis.TheconsoleAPversionofRTKPOST.
(3)POS2KML
GoogleEarthKMLconverterforsolutionfiles.
(4) CONVBIN
RINEXConverterofreceiverrawdata.TheconsoleAPversionofRTKCONV.
(5) STR2STR
StreamServer.ConsoleAPversionofSTRSVR.
RTKLIBver.2.4.2Manual
87
4 Build APs or Develop User APs with RTKLIB
4.1 Rebuild GUI and CUI APs on Windows
TomodifysomefunctionsofRTKLIBortoinstallyournewmodelstoRTKLIB,youmaywanttorebuild
APs.Tofixexistingbugs,youalsomayneedtorebuildAPstoapplypatches.TorebuildGUIandCUIAPs
onWindows,youneedEmbarcaderoC++BuilderXE2orXE3(http://www.embarcadero.com).RTKLIB
internallyonlyutilizesfundamentalVCL(visualcomponentlibrary)functionsprovidedbyC++builder.At
least,thebasicʺstartereditionʺisenoughtorebuildRTKLIBAPs.Thefollowinginstructionsshowshowto
rebuildGUIandCUIAPsonWindows.
(1) ExecuteEmbarcaderoC++BuilderXE2orXE3.
(2) ExecutethemenuʺFileʺ‐ʺOpenProject...ʺofC++buildertoopentheC++builderprojectfileofthe
targetAP(<app>.cbproj or _<app>.cbproj, <app> isthetargetAPlikertkpost,rtkplotor
rtknavi)intheapplicationprogramdirectory(<install dir>\rtklib_<ver>\app\<app> or
<install dir>\rtklib_<ver>\app\<app>\bcc\).
(3) ExecutethemenuʺProjectʺ‐ʺRebuild<app>ʺofC++buildertorebuildthetargetAP.
(4) Execute(doubleclickthefileorinputthecommand)theWindowsbatchfileinstall.batinthesame
directoryastheprojectfile.Itcopiesanewlybuiltexecutablebinaryprogramtothedirectoryof
RTKLIBbinaryprograms(<install dir>\rtklib_<ver>\bin).
(5) TorebuildalloftheGUIAPsortheCUIAPs,opentheC++buildergroupprojectfile<install
dir>\rtklib_<ver>\app\rtklib_winapp.gourpprojor<install
dir>\rtklib_<ver>\app\rtklib_consapp.gourpproj. ExecutethemenuʺProjectʺ‐ʺBuild
AllProjectsʺofC++builder.Executethebatchfileinstall_winapp.bator
install_consapp.batinthesamedirectorytocopythemtothebinaryprogramdirectory.
RTKLIBver.2.4.2Manual
88
4.2 Build CUI APs
TobuildCUIAPs,youcanusemanyCcompilerslikegcc.TheRTKLIBpackageincludesstandard
makefileforgcc.Accordingtoyourcompiler,librariesordirectories,youmayneedtomodifythe
makefile togenerateAPsdependingtoyourenvironment.
(1) Movetotheapplicationprogramdirectory(rtklib_<ver>/app/<app>)ofthetargetAP.
>> cd <install_dir>/rtklib_<ver>/app/<app>
(2) Movetogccdirectory.
>> cd gcc
(3) Editandmodifymakefiletoadjustthefiletoyourenvironment.
>> vi makefile
(4) ExecutemaketobuildtheAPandmake installtoinstallthebinaryfiletoappropriateBINdirectory.
>> make
>> make install
RTKLIBver.2.4.2Manual
89
4.3 Develop and Link User APs with RTKLIB
RTKLIBprovidethefollowinggeneralpurposeCfunctionscallablefromuserAP(applicationprogram).
UsercanusethesefunctiontodevelopuseroriginalpositioningAPs.
(1) Matrixandvectorfunctions
(2) Timeandstringfunctions
(3) Coordinatestransformationandgeoidmodel
(4) Navigationprocessing
(5) Positioningmodels(troposphere,ionosphere,antennaPCV)
(6) SBASDGPS/DGNSScorrection
(7) Singlepointpositioning
(8) Carrierbasedandcodebasedrelativepositioning
(9) OTFintegerambiguityresolution
(10) Receiverrawbinarydatainput
(11) Positioningsolution/NMEAinput/output
(12) RINEXobservationdata/navigationmessageinput/output
(13) Preciseephemerisinput
(14) Streamdatacommunicationlibrary
(15) NTRIP(NetworkedTransportofRTCMviaInternetProtocol)library
(16) RTKGPS/GNSSpositioningserver
(17) RTCM2.3and3.0/3.1/3.2messagehandling
(18) Downloaderfunctions
ThefollowinginstructionsshowsthewaytoutilizethelibraryofRTKLIBinuserAP.
(1) AddthefollowingincludedirectivetothesourceprogramofuserAP.
#include "rtklib.h"
(2) SetthefollowingcompileroptiontoaddRTKLIBsourcedirectorypathtocompilerincludepaths.
-I rtklib_<ver>\src
(3) AddthenecessaryRTKLIBlibrarysourcefilestosourceprogramssetfortheAPbuild.ReferAppendix
CLibraryAPIsforthelibraryfunctionlistandsourceprogramsprovidedbyRTKLIB.
RTKLIBver.2.4.2Manual
90
Appendix A CUI Command References
A.1 RTKRCV
SYNOPSIS
rtkrcv [-s][-p port|-d dev][-o file][-t level]
DESCRIPTION
AcommandlineversionoftherealtimepositioningAPbyRTKLIB.TostartorstopRTKserver,to
configureoptionsortoprintsolution/status,loginaconsoleandinputcommands.Asdefault,stdin/stdout
areusedfortheconsole.Use‐poptionfornetworkloginwithtelnetprotocol.Toshowtheavailable
commands,type?orhelpontheconsole.Theinitialprocessingoptionsareloadedfromdefault
configurationfilertkrcv.conf.Tochangethefile,use‐ooption.Toconfiguretheprocessingoptions,edit
theconfigurationfileoruseset,loadorsavecommandontheconsole.Toshutdowntheprogram,use
shutdowncommandontheconsoleorsendtheUSR2signaltotheprocess.Forconfigurationfile,referB.4.
OPTIONS
-s start RTK server on program startup
-p port port number for telnet console
-m port port number for monitor stream
-d dev terminal device for console
-o file configuration file
-r level output solution status file (0:off,1:states,2:residuals)
-t level debug trace level (0:off,1-5:on)
COMMANDS
start
Start RTK server. No need the command if the program runs with -s option.
stop
Stop RTK server.
restart
Restart RTK server. If the processing options are set, execute the command to enable
the changes.
RTKLIBver.2.4.2Manual
91
solution [cycle]
Show solutions. Without option, only one solution is shown. With option, the
solution is displayed at intervals of cycle (s). To stop cyclic display, send break
(ctr-C).
status [cycle]
Show RTK status. Use option cycle for cyclic display.
satellite [cycle]
Show satellite status. Use option cycle for cyclic display.
observ [cycle]
Show observation data. Use option cycle for cyclic display.
navidata [cycle]
Show navigation data. Use option cycle for cyclic display.
stream [cycle]
Show stream status. Use option cycle for cyclic display.
error
Show error/warning messages. To stop messages, send break (ctr-C).
option [opt]
Show the values of processing options. Without option, all options are displayed.
With option, only pattern-matched options are displayed.
set opt [val]
Set the value of a processing option to val. Without option val, prompt message
is shown to input the value. The change of the processing option is not enabled
before RTK server is restarted.
load [file]
Load processing options from file. Without option, default file rtkrcv.conf is used.
To enable the changes, restart RTK server.
RTKLIBver.2.4.2Manual
92
save [file]
Save current processing options to file. Without option, default file rtkrcv.conf
is used.
log [file|off]
Record console log to file. To stop recording the log, use option off.
help|? [path]
Show the command list. With option path, the stream path options are shown.
exit
Exit and logout console. The status of RTK server is not affected by the command.
shutdown
Shutdown RTK server and exit the program.
!command [arg...]
Execute command by the operating system shell. Do not use the interactive command.
NOTES
Short form of a command is allowed. In case of the short form, the command is
distinguished according to header characters.
RTKLIBver.2.4.2Manual
93
A.2 RNX2RTKP
SYNOPSIS
rnx2rtkp [option ...] file file [...]
DESCRIPTION
ReadRINEXOBS/NAV/GNAV/HNAV/CLK,SP3,SBASmessagelogfilesandcomputereceiver(rover)
positionsandoutputpositionsolutions.
ThefirstRINEXOBSfileshallcontainreceiver(rover)observations.Fortherelativemode,thesecond
RINEXOBSfileshallcontainreference(basestation)receiverobservations.AtleastoneRINEX
NAV/GNAV/HNAVfileshallbeincludedininputfiles.TouseSP3preciseephemeris,specifythepathin
thefiles.TheextensionoftheSP3fileshallbe .sp3or.eph.Alloftheinputfilepathscaninclude
wildcards(*).Toavoidcommandlinedeploymentofwildcards,useʺ...ʺforpathswithwildcards.
Commandlineoptionsareasfollows([]:default).With‐koption,theprocessingoptionsareinputfromthe
configurationfile.Inthiscase,commandlineoptionsprecedeoptionsintheconfigurationfile.Forthe
configurationfile,referB.4.
OPTIONS
-? print help
-k file input options from configuration file [off]
-o file set output file [stdout]
-ts ds ts start day/time (ds=y/m/d ts=h:m:s) [obs start time]
-te de te end day/time (de=y/m/d te=h:m:s) [obs end time]
-ti tint time interval (sec) [all]
-p mode mode (0:single,1:dgps,2:kinematic,3:static,4:moving-base,
5:fixed,6:ppp-kinematic,7:ppp-static) [2]
-m mask elevation mask angle (deg) [15]
-f freq number of frequencies for relative mode (1:L1,2:L1+L2,3:L1+L2+L5) [2]
-v thres validation threshold for integer ambiguity (0.0:no AR) [3.0]
-b backward solutions [off]
-c forward/backward combined solutions [off]
-i instantaneous integer ambiguity resolution [off]
-h fix and hold for integer ambiguity resolution [off]
-e output x/y/z-ecef position [latitude/longitude/height]
-a output e/n/u-baseline [latitude/longitude/height]
RTKLIBver.2.4.2Manual
94
-n output NMEA-0183 GGA sentence [off]
-g output latitude/longitude in the form of ddd mm ss.ss [ddd.ddd]
-t output time in the form of yyyy/mm/dd hh:mm:ss.ss [sssss.ss]
-u output time in utc [gpst]
-d col number of decimals in time [3]
-s sep field separator [' ']
-r x y z reference (base) receiver ecef pos (m) [average of single pos]
-l lat lon hgt reference (base) receiver latitude/longitude/height (deg/m)
-y level output solution status (0:off,1:states,2:residuals) [0]
-x level debug trace level (0:off) [0]
EXAMPLES
Example1.KinematicPositioning,L1+L2,outputLatitude/Longitude/HeighttoSTDOUT.
> rnx2rtkp 07590920.05o 30400920.05o 30400920.05n
Example2.SinglePointPositioning,ElMask=15deg,outputNMEAGGAtofileout.pos
> rnx2rtkp -p 0 -m 15 -n -o out.pos 07590920.05o 30400920.05n
Example3.StaticPositioning,L1,timeformyyyy/mm/ddhh:mm:ss,outputX/Y/ZECEFpositions
> rnx2rtkp -p 3 -f 1 -t -e 07590920.05o 30400920.05o 30400920.05n
Example4.KinematicPositioning,InstantaneousAR,validationthreshold=2,commaseparator
> rnx2rtkp -i -v 2 -s , 07590920.05o 30400920.05o 30400920.05n
RTKLIBver.2.4.2Manual
95
A.3 POS2KML
SYNOPSIS
pos2kml [option ...] file [...]
DESCRIPTION
Readpositionfile(s)andconvertittoGoogleEarthKMLfile.Eachlineintheinputfileshallcontainfields
oftime,positionfields(Latitude/Longitude/HeightorX/Y/ZECEF),andQualityflag(option).Theline
startedwithʹ%ʹ,ʹ#ʹ,ʹ;ʹistreatedascomment.Commandoptionsareasfollows.([]:default)
OPTIONS
-h print help
-o file output file [infile + .kml]
-c color track color
(0:off,1:white,2:green,3:orange,4:red,5:yellow) [5]
-p color point color
(0:off,1:white,2:green,3:orange,4:red,5:by qflag) [5]
-a output altitude information [off]
-ag output geodetic altitude [off]
-tg output time stamp of gpst [off]
-tu output time stamp of utc [gpst]
-i tint output time interval (s) (0:all) [0]
-q qflg output q-flags (0:all) [0]
-f n e h add north/east/height offset to position (m) [0 0 0]
RTKLIBver.2.4.2Manual
96
A.4 CONVBIN
SYNOPSIS
convbin [-ts y/m/d h:m:s] [-te y/m/d h:m:s] [-ti tint] [-r format] [-ro opts]
[-f freq] [-hc comment] [-hm marker] [-hn markno] [-ht marktype]
[-ho observ] [-hr rec] [-ha ant] [-hp pos] [-hd delta] [-v ver] [-od]
[-os] [-x sat] [-y sys] [-d dir] [-c satid] [-o ofile] [-n nfile]
[-g gfile] [-h hfile] [-q qfile] [-s sfile] file
DESCRIPTION
ConvertRTCM,receiverrawdatalogandRINEXfiletoRINEXandSBAS/LEXmessagefile.SBASmessage
filecomplieswithRTKLIBSBAS/LEXmessageformat.Itsupportsthefollowingmessagesorfiles.
RTCM 2 : Type 1, 3, 9, 14, 16, 17, 18, 19, 22
RTCM 3 : Type 1002, 1004, 1005, 1006, 1010, 1012, 1019, 1020
Type 1071-1127 (MSM except for compact msg)
NovAtel OEMV/4/6,OEMStar: RANGECMPB, RANGEB, RAWEPHEMB, IONUTCB, RAWWASSFRAMEB
NovAtel OEM3 : RGEB, REGD, REPB, FRMB, IONB, UTCB
u-blox LEA-4T/5T/6T : RXM-RAW, RXM-SFRB
NovAtel Superstar II : ID#20, ID#21, ID#22, ID#23, ID#67
Hemisphere : BIN76, BIN80, BIN94, BIN95, BIN96
SkyTraq S1315F : msg0xDD, msg0xE0, msg0xDC
GW10 : msg0x08, msg0x03, msg0x27, msg0x20
Javad : [R*],[r*],[*R],[*r],[P*],[p*],[*P],[*p],[D*],[*d],
[E*],[*E],[F*],[TC],[GE],[NE],[EN],[QE],[UO],[IO],
[WD]
NVS : NVS NV08C BINR
BINEX : big-endian, regular CRC, forward record (0xE2)
0x01-01,0x01-02,0x01-03,0x01-04,0x01-06,0x7f-05
RINEX : OBS, NAV, GNAV, HNAV, LNAV, QNAV
OPTIONS
file input receiver binary log file
-ts y/m/d h:m:s start time [all]
-te y/m/d h:m:s end time [all]
RTKLIBver.2.4.2Manual
97
-tr y/m/d h:m:s approximated time for rtcm messages
-ti tint observation data interval (s) [all]
-r format log format type
rtcm2= RTCM 2
rtcm3= RTCM 3
nov = NovAtel OEMV/4/6,OEMStar
oem3 = NovAtel OEM3
ubx = ublox LEA-4T/5T/6T
ss2 = NovAtel Superstar II
hemis= Hemisphere Eclipse/Crescent
stq = SkyTraq S1315F
javad= Javad
nvs = NVS BINR
binex= BINEX
rinex= RINEX
-ro opt receiver options
-f freq number of frequencies [2]
-hc comment rinex header: comment line
-hm marker rinex header: marker name
-hn markno rinex header: marker number
-ht marktype rinex header: marker type
-ho observ rinex header: observer name and agency separated by /
-hr rec rinex header: receiver number, type and version separated by /
-ha ant rinex header: antenna number and type separated by /
-hp pos rinex header: approx position x/y/z separated by /
-hd delta rinex header: antenna delta h/e/n separated by /
-v ver rinex version [2.11]
-od include doppler frequency in rinex obs [off]
-os include snr in rinex obs [off]
-oi include iono correction in rinex nav header [off]
-ot include time correction in rinex nav header [off]
-ol include leap seconds in rinex nav header [off]
-x sat exclude satellite
-y sys exclude systems (G:GPS,R:GLO,E:Galileo,J:QZSS,S:SBAS,C:BeiDou)
-d dir output directory [same as input file]
-c staid use RINEX file name convention with staid [off]
RTKLIBver.2.4.2Manual
98
-o ofile output RINEX OBS file
-n nfile output RINEX NAV file
-g gfile output RINEX GNAV file
-h hfile output RINEX HNAV file
-q qfile output RINEX QNAV file
-l lfile output RINEX LNAV file
-s sfile output SBAS message file
Ifanyoutputfilespecified,defaultoutputfiles(<file>.obs, <file>.nav, <file>.gnav,
<file>.hnav, <file>.qnav, <file>.lnav and <file>.sbs)areused.
Ifreceivertypeisnotspecified,typeisrecognizedbytheinputfileextensionasfollows.
*.rtcm2 RTCM 2
*.rtcm3 RTCM 3
*.gps NovAtel OEMV/4/6,OEMStar
*.ubx u-blox LEA-4T/5T/6T
*.log NovAtel Superstar II
*.bin Hemisphere Eclipse/Crescent
*.stq SkyTraq S1315F
*.jps Javad
*.bnx,*binex BINEX
*.obs,*.*o RINEX OBS
RTKLIBver.2.4.2Manual
99
A.5 STR2STR
SYNOPSIS
str2str -in stream[#...] -out stream[#...] [-out stream[#...]...] [options]
DESCRIPTION
InputdatafromastreamanddivideandoutputthemtomultiplestreamsTheinputstreamcanbeserial,
TCPclient,TCPserver,NTRIPclient,orfile.Theoutputstreamcanbeserial,TCPclient,TCPserver,NTRIP
server,orfile.str2strisaresidenttypeapplication.Tostopit,typeCtrlCinconsoleifrunforegroundor
sendsignalSIGINTforbackgroundprocess.ifrunforegroundorsendsignalSIGINTforbackground
process.ifbothoftheinputstreamandtheoutputstreamfollow#format,theformatofinputmessages
areconvertedtooutput.Tospecifytheoutputmessages,use-msgoption.
Commandoptionsareasfollows.
OPTIONS
-in stream[#format] input stream path and format
-out stream[#format] output stream path and format
stream path
serial : serial://port[:brate[:bsize[:parity[:stopb[:fctr]]]]]
tcp server : tcpsvr://:port
tcp client : tcpcli://addr[:port]
ntrip client : ntrip://[user[:passwd]@]addr[:port][/mntpnt]
ntrip server : ntrips://[:passwd@]addr[:port][/mntpnt[:str]] (only out)
file : [file://]path[::T][::+start][::xseppd][::S=swap]
format
rtcm2 : RTCM 2 (only in)
rtcm3 : RTCM 3 (in and out)
nov : NovAtel OEMV/4/6,OEMStar (only in)
oem3 : NovAtel OEM3 (only in)
ubx : ublox LEA-4T/5T/6T (only in)
ss2 : NovAtel Superstar II (only in)
hemis : Hemisphere Eclipse/Crescent (only in)
stq : SkyTraq S1315F (only in)
RTKLIBver.2.4.2Manual
100
javad : Javad (only in)
nvs : NVS BINR (only in)
binex : BINEX (only in)
-msg type[(tint)][,type[(tint)]...]
rtcm message types and output intervals (s)
-sta sta station id
-opt opt receiver dependent options
-s msec timeout time (ms) [10000]
-r msec reconnect interval (ms) [10000]
-n msec nmea request cycle (m) [0]
-f sec file swap margin (s) [30]
-c file receiver commands file [no]
-p lat lon hgt station position (latitude/longitude/height) (deg,m)
-l local_dir ftp/http local directory []
-x proxy_addr http/ntrip proxy address [no]
-t level trace level [0]
-h print help
RTKLIBver.2.4.2Manual
101
Appendix B File Formats
B.1 Positioning Solution File
DESCRIPTION
ApositioningsolutionfileisjustatextfileasoutputofRTKNAVIorRTKPOST.Thefileisseparatedto
recordsorlinesbyCR/LF.Eachrecordsconsistsoffields.Thefollowingtableshowstheformatofthe
positioningsolutionfile.
NoRecord/FieldDescriptionNotes
1FileheaderThelinesstartingwithʺ%ʺareheaderlines.Theheaderlines
containssomeadditionalinformationorprocessingoptionsas
follows.
% program:programversion
% inp file:Inputfilepath
% obs start:ObservationdatastarttimeinGPStime
% obs end:ObservationdataendtimeinGPStime
% pos mode:Positioningmodeoption
% freqs:Frequenciesoption
% solution:Solutiontypeoption
% elev mask:Elevationmaskangleoption
% snr mask:SNRmaskoption
% ionos est:Ionosphericparameterestimationoption
% tropos est:Troposphericparametersestimationoption
% amb res:Integerambiguityresolutionoptions
% val thres:Integerambiguityvalidationoption
% ref pos:positionoftheantennaofthebasestation
2FieldindicatorFieldindicatorstartingwithʺ%ʺlinefollowsafterFileheader.
Torecognizethefieldformats,RTKLIBusestheselines.Donot
deletethem.
3SolutionbodySolutionbodyconsistsofthefollowingfields.
Thefieldcontentsarevariedaccordingtothepositioningoptions.
(1)TimeTheepochtimeofthesolutionindicatingthetruereceiversignal
receptiontime(notindicatesthetimebyreceiverclock).Theformat
isvariedtotheoptions.
yyyy/mm/dd HH:MM:SS.SSS :
CalendartimeinGPST,UTCorJST,thetimesystemisindicatedin
Fieldindicator
WWWW SSSSSSS.SSS :
GPSweekandTOW(timeofweek)inseconds.
(2)Receiver
Position
Theroverreceiveantennaormarkerpositionestimatedvaried
accordingtothepositioningoptions.
RTKLIBver.2.4.2Manual
102
NoRecord/FieldDescriptionNotes
+ddd.ddddddddd +ddd.dddddddd hhhh.hhhh:
Latitude,longitudeindegreesandheightinm.Minusvaluemeans
southlatitudeorwestlongitude.Theheightindicatesellipsoidalor
geodeticaccordingtothepositioningoptions.
+ddd mm ss.sss +ddd mm ss.sss hhhh.hhhh:
Latitude,longitudeindegree,minuteandsecondandheightinm.
+xxxxxxxxx.xxxx +yyyyyyyyy.yyyy +zzzzzzzz.zzzz:
X/Y/ZcomponentsofECEFframeinm.
+eeeeeeeee.eeee +nnnnnnnnn.nnnn +uuuuuuuuu.uuuu:
E/N/Ucomponentsofbaselinevectorinm.Thelocalcoordinateis
referencedtotheroverposition.
(3)Qualityflag
(Q)
Theflagwhichindicatesthesolutionquality.
1:Fixed,solutionbycarrierbasedrelativepositioningandthe
integerambiguityisproperlyresolved.
2:Float,solutionbycarrierbasedrelativepositioningbutthe
integerambiguityisnotresolved.
3:Reserved
4:DGPS,solutionbycodebasedDGPSsolutionsorsinglepoint
positioningwithSBAScorrections
5:Single,solutionbysinglepointpositioning
(4)Numberof
validsatellites
(ns)
Thenumberofvalidsatellitesforsolutionestimation.
(5)Standard
deviations
(sdn,sde,sdu,
sdne,sdeu,
sdun)
Theestimatedstandarddeviationsofthesolutionassumingapriori
errormodelanderrorparametersbythepositioningoptions.
Thesdn,sdeorsdumeansN(north),E(east)orU(up)
componentofthestandarddeviationsinm.Theabsolutevalueof
sdne,sdeuorsdunmeanssquarerootoftheabsolutevalueofNE,
EUorUNcomponentoftheestimatedcovariancematrix.Thesign
representsthesignofthecovariance.Withallofthevalues,usercan
reconstructthefullcovariancematrix.
(6)Ageof
differential
(age)
Thetimedifferencebetweentheobservationdataepochsofthe
roverreceiverandthebasestationinsecond.
(7)Ratiofactor
(ratio)
Theratiofactorofʺratiotestʺforstandardintegerambiguity
validationstrategy.Thevaluemeanstheratioofthesquaredsumof
theresidualswiththesecondbestintegervectortowiththebest
integervector.
EXAMPLE
% program : RTKLIB ver.2.3.0b
% inp file : G:\rtklibtest\20090831\omre196a.09o
% inp file : G:\rtklibtest\20090831\tevc196a.09o
% inp file : G:\rtklibtest\20090831\omre196a.09n
% obs start : 2009/07/15 07:10:00.0 GPST (week1540 285000.0s)
% obs end : 2009/07/15 07:59:50.0 GPST (week1540 287990.0s)
% pos mode : kinematic
% freqs : L1+L2
RTKLIBver.2.4.2Manual
103
% solution : forward
% elev mask : 15.0 deg
% snr mask : 0.0 dBHz
% ionos est : on
% tropo est : on
% amb res : continuous
% val thres : 3.0
% ref pos : 32.574831620 -117.126551777 -28.1471
%
% (lat/lon/height=WGS84/ellipsoidal,Q=1:fix,2:float,4:dgps,5:single,ns=# of satellites)
% GPST latitude(deg) longitude(deg) height(m) Q ns sdn(m) sde(m)
sdu(m) sdne(m) sdeu(m) sdun(m) age(s) ratio
2009/07/15 07:10:00.000 32.560273272 -116.953525346 118.6783 1 10 0.0186 0.0202
0.0899 -0.0072 0.0089 -0.0249 0.00 4.5
2009/07/15 07:10:10.000 32.560273266 -116.953525340 118.6877 1 10 0.0144 0.0154
0.0776 -0.0058 0.0082 -0.0199 0.00 5.3
2009/07/15 07:10:20.000 32.560273262 -116.953525365 118.6853 1 10 0.0124 0.0131
0.0720 -0.0051 0.0078 -0.0173 0.00 5.3
2009/07/15 07:10:30.000 32.560273251 -116.953525345 118.6825 1 10 0.0111 0.0117
0.0686 -0.0046 0.0075 -0.0157 0.00 5.6
2009/07/15 07:10:40.000 32.560273275 -116.953525412 118.6827 1 10 0.0103 0.0108
0.0662 -0.0043 0.0073 -0.0146 0.00 4.7
2009/07/15 07:10:50.000 32.560273277 -116.953525429 118.6812 1 10 0.0097 0.0102
0.0644 -0.0041 0.0071 -0.0138 0.00 4.1
2009/07/15 07:11:00.000 32.560273249 -116.953525449 118.6817 1 10 0.0092 0.0097
0.0630 -0.0039 0.0069 -0.0132 0.00 4.2
2009/07/15 07:11:10.000 32.560273271 -116.953525464 118.6729 1 10 0.0088 0.0093
0.0618 -0.0038 0.0067 -0.0127 0.00 5.2
2009/07/15 07:11:20.000 32.560273246 -116.953525468 118.6772 1 10 0.0085 0.0089
0.0607 -0.0037 0.0066 -0.0123 0.00 6.1
2009/07/15 07:11:30.000 32.560273219 -116.953525461 118.6733 1 10 0.0083 0.0087
0.0598 -0.0036 0.0065 -0.0119 0.00 7.9
2009/07/15 07:11:40.000 32.560273216 -116.953525478 118.6771 1 10 0.0081 0.0085
0.0590 -0.0035 0.0064 -0.0117 0.00 9.0
2009/07/15 07:11:50.000 32.560273206 -116.953525489 118.6726 1 10 0.0079 0.0083
0.0582 -0.0035 0.0062 -0.0114 0.00 8.6
2009/07/15 07:12:00.000 32.560273201 -116.953525497 118.6744 1 10 0.0078 0.0081
0.0575 -0.0034 0.0061 -0.0112 0.00 7.5
2009/07/15 07:12:10.000 32.560273212 -116.953525455 118.6731 1 10 0.0077 0.0080
0.0568 -0.0034 0.0060 -0.0110 0.00 7.9
RTKLIBver.2.4.2Manual
104
B.2 SBAS Log File
DESCRIPTION
ASBASlogfileisoutputofRTKCONV,thatisatextfileinwhichalinecontainsaSBASmessagecaptured
bytheGPS/GNSSreceiver.ThefollowingtableshowstheformatoftheSBASlogfile.
NoRecord/FieldDescriptionNotes
1SBAS
messages
AlinecontainsaSBASnavigationdataframe,whichconsistsofthe
followingfields.
(1)GPSweek
number
GPSweeknumberofSBASnavigationdataframe.
(2)TimeofweekTimeofweekofSBASnavigationdataframeinseconds.
(3)PRNnumberPRNnumberofSBASsatellitetransmittingthenavigationdata
(4)MessagetypeThetypeIDoftheSBASmessageintheframe(0‐63).ReferSBAS
specificationsfordetails:
RTCA/DO229C,Minimumoperationalperformancestandardsfor
GlobalPositioningSystem/WideAreaAugmentationsystem
airborneequipment
(5)Separator
:

(6)SBASmessageHexadecimaldumpofa226bitSBASmessagewithout24bit
parityfield.Themessagetailis0paddedtoalignto8bitboundary.
ReferSBASspecificationsforthedetailedmessageformat.
EXAMPLE
1471 349007 137 25 : C666A0A7F1FE6000027F80000003468000000000000000000000000000
1471 349007 129 25 : C666A0A7F4FE6004047F80000003468000000000000000000000000000
1471 349008 129 4 : 53109FFFFF5FFDFFDFFDFFFFC7FA9FFDFFDFFDFFDFFF9BBBBB33FFFFC0
1471 349008 137 4 : 53129FFC001FFDFFDFFDFFFFA0009FFDFFDFFDFFDFFF9BBBBB33FFFFC0
1471 349009 137 3 : 9A0C9FFDFFDFFFFFDFFC017FF9FFDFFC009FFC015FFFBB97B9BB9FBB80
1471 349009 129 2 : 9A0A9FFFFC9FFFFE9FFDFFDFFDFFDFFDFFFFF7F93FFBE79BBBBBB9FA00
1471 349010 137 2 : C60A9FFFFD1FFFFFDFFDFFDFFDFFDFFDFFC003F88003E79FBBFBB9FA00
1471 349010 129 3 : C60E9FFDFFDFFFFE9FFC007FEDFFDFFFFFDFFFFFDFFFBB97B9BB9FBB80
1471 349011 137 26 : 536A0029E0EF0FF05F829C11C076033015A09D047037C1DE14F08FE000
1471 349011 129 26 : 536A0821A0DD05E82B813E0EF0F7897C27C12E08683B419C0BE057E000
1471 349012 137 28 : 9A723440E44E810029FF1F1F379C0BC35D4BE2B8078F15903253960200
1471 349012 129 28 : 9A722CB5D8739087B46B107DA8D9E828694B55F843782100AF146AD980
1471 349013 129 9 : C62434198D3F5D92BA855704800236DFE84FE06FFA47FE7FF0008E0240
1471 349013 137 9 : C6260C198D32310732404C1D40183CDFD187C8F3FF7FFD800FF7D6BE40
1471 349014 129 4 : 53119FFFFF9FFDFFDFFDFFFFD3FA5FFDFFDFFDFFDFFF9BBBBB33FFFFC0
1471 349014 137 4 : 53109FFC005FFDFFDFFDFFFFAFFFDFFDFFDFFDFFDFFF9BBBBB33FFFFC0
1471 349015 129 2 : 9A089FFFFC5FFFFEDFFDFFDFFDFFDFFDFFFFFBF8FFFFE79BBBBBB9FA00
1471 349015 137 3 : 9A0D9FFDFFDFFFFF9FFC017FFDFFDFFC00DFFC015FFFBB97B9BB9FBB80
1471 349016 137 2 : C6089FFFFD5FFC001FFDFFDFFDFFDFFDFFFFFFF8BFFFE79FBBFBB9FA00
1471 349016 129 3 : C60C9FFDFFDFFFFE5FFC007FF1FFDFFC001FFFFFDFFFBB97B9BB9FBB80
1471 349017 137 25 : 5366587803FE3FF0010080FFFF835E8000000000000000000000000000
1471 349017 129 25 : 5366587FFDFEDFF40400800000035E8000000000000000000000000000
1471 349018 129 63 : 9AFC000000000000000000000000000000000000000000000000000000
1471 349018 137 63 : 9AFC000000000000000000000000000000000000000000000000000000
1471 349019 129 26 : C66A0C53E26F09704781DC0DE06702FC19E1EF09F047821C0EF05FE000
RTKLIBver.2.4.2Manual
105
1471 349019 137 26 : C66A0431E17E0A704741F80DC05E827815C0EF09F877C2FC15E096E000
1471 349020 137 4 : 53119FFC001FFDFFDFFDFFFF9C001FFDFFDFFDFFDFFF9BBBBB33FFFFC0
1471 349020 129 4 : 53129FFFFF5FFDFFDFFDFFFFC3FA9FFDFFDFFDFFDFFF9BBBBB33FFFFC0
RTKLIBver.2.4.2Manual
106
B.3 Solution Status File
DESCRIPTION
AsolutionstatusfileisoutputofRTKNAVIorRTKPOST,thatisatextfilewhichcontainstheinternalstatus
ofthepositioningprocess.TheinternalstatusincludeestimatedstatesofKalmanfilterandresidualsof
measurementstoanalyzethesolutionquality.Thefollowingtableshowstheformatofthesolutionstatus
file.
NoRecord/FieldDescriptionNotes
1PositionStatesEstimatedroverpositioninthefilter.Theformatofarecordisas
follows.
$POS,week,tow,stat,posx,posy,posz,posxf,posyf,poszf
week/tow:gpsweekno/timeofweek(s)
stat:solutionstatus
posx/posy/posz:positionx/y/zecef(m)float
posxf/posyf/poszf:positionx/y/zecef(m)fixed
2Velocity/
Acceleration
States
Estimatedrovervelocityandaccelerationinthefilter.Theformatof
arecordisasfollows.

$VELACC,week,tow,stat,vele,veln,velu,acce,accn,accu,velef,velnf,\
veluf,accef,accnf,accuf
week/tow:gpsweekno/timeofweek(s)
stat:solutionstatus
vele/veln/velu:velocitye/n/u(m/s)float
acce/accn/accu:acceleratione/n/u(m/s^2)float
velef/velnf/veluf:velocitye/n/u(m/s)fixed
accef/accnf/accuf:acceleratione/n/u(m/s^2)fixed
3Receiver
Clockbias
States
Estimatedreceiverclockbiasparameters.Theformatofarecordis
asfollows.
$CLK,week,tow,stat,rcv,clk1,clk2,clk3,clk4
week/tow:gpsweekno/timeofweek(s)
stat:solutionstatus
rcv:receiver(1:rover,2:basestation)
clk1:receiverclockbiasGPS(ns)
clk2:receiverclockbiasGLONASS(ns)
clk3:reserved
clk4:reserved
4Ionosphere
Parameter
States
Estimatedionosphereparameter(verticalL1ionospheredelay
difference).Theformatofarecordisasfollows.
$ION,week,tow,stat,sat,az,el,ion,ionfixed
week/tow:gpsweekno/timeofweek(s)
stat:solutionstatus
sat:satelliteid
RTKLIBver.2.4.2Manual
107
NoRecord/FieldDescriptionNotes
az/el:azimuth/elevationangle(deg)
ion:verticalionosphericdelayL1(m)float
ionfixed:verticalionosphericdelayL1(m)fixed
5Troposphere
Parameter
States
Estimatedtroposphereparameter(verticaltropospheredelay
residual).Theformatofarecordisasfollows.
$TROP,week,tow,stat,rcv,ztd,ztdf
week/tow:gpsweekno/timeofweek(s)
stat:solutionstatus
rcv:receiver(1:rover,2:basestation)
ztd:zenithtotaldelay(m)float
ztdf:zenithtotaldelay(m)fixed
6ReceiverH/W
biasStates
EstimatedGLONASSreceiverH/Wbiasdifference.Theformatofa
recordisasfollows.
$HWBIAS,week,tow,stat,frq,bias,biasf
week/tow:gpsweekno/timeofweek(s)
stat:solutionstatus
frq:frequency(1:L1,2:L2,3:L5,...)
bias:h/wbiascoefficient(m/MHz)float
biasf:h/wbiascoefficient(m/MHz)fixed
7ResidualsResidualsofpseudorangeandcarrierphaseobservables.The
formatofarecordisasfollows.
$SAT,week,tow,sat,frq,az,el,resp,resc,vsat,snr,fix,slip,lock,outc,\
slipc,rejc
week/tow:gpsweekno/timeofweek(s)
sat/frq:satelliteid/frequency(1:L1,2:L2,3:L5,...)
az/el:azimuth/elevationangle(deg)
resp:pseudorangeresidual(m)
resc:carrierphaseresidual(m)
vsat:validdataflag(0:invalid,1:valid)
snr:signalstrength(dbHz)
fix:ambiguityflag(0:nodata,1:float,2:fixed,3:hold)
slip:cycleslipflag(bit1:slip,bit2:parityunknown)
lock:carrierlockcount
outc:dataoutagecount
slipc:cycleslipcount
rejc:datareject(outlier)count
EXAMPLE
$POS,1557,432000.000,2,-3869295.9628,3436570.2567,3717367.6546,0.0000,0.0000,0.0000
$HWBIAS,1557,432000.000,2,1,-0.3503,0.0000
$HWBIAS,1557,432000.000,2,2,0.0108,0.0000
$SAT,1557,432000.000,3,1,253.2,64.3,0.3219,-0.0006,1,48,1,1,1,0,1,0
$SAT,1557,432000.000,3,2,253.2,64.3,-0.0629,-0.0006,1,33,1,1,1,0,1,0
$SAT,1557,432000.000,13,1,298.4,24.1,-0.6732,0.0003,1,42,1,1,1,0,1,0
$SAT,1557,432000.000,13,2,298.4,24.1,0.8081,0.0003,1,17,1,1,1,0,1,0
$SAT,1557,432000.000,16,1,42.0,59.5,0.5037,-0.0005,1,47,1,1,1,0,1,0
$SAT,1557,432000.000,16,2,42.0,59.5,-0.5170,-0.0005,1,30,1,1,1,0,1,0
$SAT,1557,432000.000,19,1,229.8,39.0,-0.1948,-0.0003,1,44,1,0,1,0,0,0
$SAT,1557,432000.000,19,2,229.8,39.0,-0.0806,-0.0003,1,28,1,1,1,0,1,0
$SAT,1557,432000.000,21,1,61.1,28.1,-1.0704,0.0001,1,41,1,1,1,0,1,0
$SAT,1557,432000.000,21,2,61.1,28.1,1.0139,0.0001,1,19,1,1,1,0,1,0
RTKLIBver.2.4.2Manual
108
$SAT,1557,432000.000,23,1,257.9,29.9,-1.3258,-0.0000,1,45,1,1,1,0,1,0
$SAT,1557,432000.000,23,2,257.9,29.9,0.4155,0.0000,1,23,1,1,1,0,1,0
$SAT,1557,432000.000,25,1,317.0,24.7,0.8868,0.0002,1,41,1,1,1,0,1,0
$SAT,1557,432000.000,25,2,317.0,24.7,0.1811,0.0003,1,19,1,1,1,0,1,0
$SAT,1557,432000.000,31,1,145.1,32.5,0.6140,-0.0001,1,44,1,1,1,0,1,0
$SAT,1557,432000.000,31,2,145.1,32.5,-0.2397,-0.0001,1,26,1,1,1,0,1,0
$SAT,1557,432000.000,R9,1,105.7,78.1,-0.1172,-0.0001,1,45,1,1,1,0,1,0
$SAT,1557,432000.000,R9,2,105.7,78.1,0.0000,0.0000,0,0,0,0,0,1,0,0
$SAT,1557,432000.000,R10,1,331.5,41.7,-0.1425,0.0002,1,43,1,1,1,0,1,0
$SAT,1557,432000.000,R10,2,331.5,41.7,0.0349,0.0001,1,30,1,1,1,0,1,0
$SAT,1557,432000.000,R19,1,18.6,61.2,-0.7708,-0.0000,1,46,1,1,1,0,1,0
$SAT,1557,432000.000,R19,2,18.6,61.2,0.1898,-0.0001,1,39,1,0,1,0,0,0
$SAT,1557,432000.000,R20,1,235.7,55.6,1.0305,-0.0000,1,42,1,1,1,0,1,0
$SAT,1557,432000.000,R20,2,235.7,55.6,-0.2247,-0.0001,1,39,1,1,1,0,1,0
RTKLIBver.2.4.2Manual
109
B.4 Configuration File
DESCRIPTION
Aconfigurationfilecontainingprocessingoptions,solutionoptionsandfileoptionsforRTKNAVI,
RTKPOST,RTKRCVandRNX2RTKP.ThatisatextfilewhichcontainstheKeyword = Valueformrecords
indicatingthevariousoptions.Forenumerationvalues,theselectablevalueiseitherofanumber(0,1,2,...)
oranenumerationlabel(off,on,...).Thelinestartingwith#andthetextsafter#inalinearetreatedas
comments.Forthecontentsoftheconfigurationfile,refer3.5ConfigurePositioningOptionsforRTKNAVI
andRTKPOST.
EXAMPLE
# RTKNAVI options (2013/03/01 10:41:04, v.2.4.2)
pos1-posmode =single #
(0:single,1:dgps,2:kinematic,3:static,4:movingbase,5:fixed,6:ppp-kine,7:ppp-static)
pos1-frequency =l1+l2 # (1:l1,2:l1+l2,3:l1+l2+l5)
pos1-soltype =forward # (0:forward,1:backward,2:combined)
pos1-elmask =10 # (deg)
pos1-snrmask_r =off # (0:off,1:on)
pos1-snrmask_b =off # (0:off,1:on)
pos1-snrmask_L1 =0,0,0,0,0,0,0,0,0
pos1-snrmask_L2 =0,0,0,0,0,0,0,0,0
pos1-snrmask_L5 =0,0,0,0,0,0,0,0,0
pos1-dynamics =off # (0:off,1:on)
pos1-tidecorr =off # (0:off,1:on)
pos1-ionoopt =brdc #
(0:off,1:brdc,2:sbas,3:dual-freq,4:est-stec,5:ionex-tec,6:qzs-brdc,7:qzs-lex,8:vtec_sf,9
:vtec_ef,10:gtec)
pos1-tropopt =saas # (0:off,1:saas,2:sbas,3:est-ztd,4:est-ztdgrad)
pos1-sateph =brdc # (0:brdc,1:precise,2:brdc+sbas,3:brdc+ssrapc,4:brdc+ssrcom)
pos1-posopt1 =on # (0:off,1:on)
pos1-posopt2 =on # (0:off,1:on)
pos1-posopt3 =on # (0:off,1:on)
pos1-posopt4 =on # (0:off,1:on)
pos1-posopt5 =off # (0:off,1:on)
pos1-exclsats = # (prn ...)
pos1-navsys =63 # (1:gps+2:sbas+4:glo+8:gal+16:qzs+32:comp)
pos2-armode =fix-and-hold # (0:off,1:continuous,2:instantaneous,3:fix-and-hold)
pos2-gloarmode =off # (0:off,1:on,2:autocal)
pos2-arthres =3
pos2-arlockcnt =0
pos2-arelmask =20 # (deg)
pos2-arminfix =0
pos2-elmaskhold =0 # (deg)
pos2-aroutcnt =5
pos2-maxage =30 # (s)
pos2-slipthres =0.05 # (m)
pos2-rejionno =30 # (m)
pos2-rejgdop =30
pos2-niter =1
pos2-baselen =0 # (m)
pos2-basesig =0 # (m)
out-solformat =llh # (0:llh,1:xyz,2:enu,3:nmea)
out-outhead =off # (0:off,1:on)
out-outopt =off # (0:off,1:on)
out-timesys =gpst # (0:gpst,1:utc,2:jst)
out-timeform =hms # (0:tow,1:hms)
RTKLIBver.2.4.2Manual
110
out-timendec =3
out-degform =deg # (0:deg,1:dms)
out-fieldsep =
out-height =geodetic # (0:ellipsoidal,1:geodetic)
out-geoid =internal # (0:internal,1:egm96,2:egm08_2.5,3:egm08_1,4:gsi2000)
out-solstatic =all # (0:all,1:single)
out-nmeaintv1 =1 # (s)
out-nmeaintv2 =1 # (s)
out-outstat =off # (0:off,1:state,2:residual)
stats-eratio1 =300
stats-eratio2 =300
stats-errphase =0.003 # (m)
stats-errphaseel =0.003 # (m)
stats-errphasebl =0 # (m/10km)
stats-errdoppler =1 # (Hz)
stats-stdbias =30 # (m)
stats-stdiono =0.03 # (m)
stats-stdtrop =0.3 # (m)
stats-prnaccelh =10 # (m/s^2)
stats-prnaccelv =10 # (m/s^2)
stats-prnbias =0.0001 # (m)
stats-prniono =0.001 # (m)
stats-prntrop =0.0001 # (m)
stats-clkstab =5e-12 # (s/s)
ant1-postype =llh # (0:llh,1:xyz,2:single,3:posfile,4:rinexhead,5:rtcm)
ant1-pos1 =90 # (deg|m)
ant1-pos2 =0 # (deg|m)
ant1-pos3 =-6335367.6285 # (m|m)
ant1-anttype =NOV702GG
ant1-antdele =0 # (m)
ant1-antdeln =0 # (m)
ant1-antdelu =0 # (m)
ant2-postype =rtcm # (0:llh,1:xyz,2:single,3:posfile,4:rinexhead,5:rtcm)
ant2-pos1 =0 # (deg|m)
ant2-pos2 =0 # (deg|m)
ant2-pos3 =0 # (m|m)
ant2-anttype =TRM29659.00
ant2-antdele =0 # (m)
ant2-antdeln =0 # (m)
ant2-antdelu =0 # (m)
misc-timeinterp =off # (0:off,1:on)
misc-sbasatsel =0 # (0:all)
misc-rnxopt1 =
misc-rnxopt2 =
file-satantfile =Y:\madoca\data\igs08.atx
file-rcvantfile =Y:\madoca\data\igs08.atx
file-staposfile =
file-geoidfile =
file-ionofile =
file-dcbfile =Y:\madoca\data\dcb\P1P21201.DCB
file-eopfile =
file-blqfile =
file-tempdir =C:\Temp
file-geexefile =
file-solstatfile =
file-tracefile =
inpstr1-type =ntripcli #
(0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)
inpstr2-type =off #
(0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)
inpstr3-type =off #
(0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http)
inpstr1-path =kaiyodai:tuomsat00@mgex.igs-ip.net:2101/CUT07:
inpstr2-path =
inpstr3-path =
inpstr1-format =rtcm3 #
(0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:gw10,9:javad,15:sp3)
inpstr2-format =rtcm3 #
(0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:gw10,9:javad,15:sp3)
inpstr3-format =rtcm3 #
(0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:gw10,9:javad,15:sp3)
RTKLIBver.2.4.2Manual
111
inpstr2-nmeareq =off # (0:off,1:latlon,2:single)
inpstr2-nmealat =26.37293571 # (deg)
inpstr2-nmealon =127.143649075 # (deg)
outstr1-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
outstr2-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
outstr1-path =
outstr2-path =
outstr1-format =llh # (0:llh,1:xyz,2:enu,3:nmea)
outstr2-format =nmea # (0:llh,1:xyz,2:enu,3:nmea)
logstr1-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
logstr2-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
logstr3-type =off # (0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr)
logstr1-path =
logstr2-path =
logstr3-path =
misc-svrcycle =10 # (ms)
misc-timeout =30000 # (ms)
misc-reconnect =10000 # (ms)
misc-nmeacycle =5000 # (ms)
misc-buffsize =32768 # (bytes)
misc-navmsgsel =all # (0:all,1:rover,2:base,3:corr)
misc-proxyaddr =
misc-fswapmargin =30 # (s)
RTKLIBver.2.4.2Manual
112
B.5 URL List File for GNSS Data
DESCRIPTION
AfilecontainingURLlistofGNSSdatainInternetresources.ThefileisusedbyRTKGETtodownload
GNSSdata.AlineindicatesarecordofURLforaGNSSdatatype.Thestringsafter#aretreatedas
comments.ThefollowingtableshowstheformatoftheURLlistfileforGNSSdata.
NoRecord/FieldDescriptionNotes
1URLAlinecontainsaURLforaGNSSdatatype,whichconsistsofthe
followingfieldsseparatedbyspaces.
(1)DatatypeGNSSdatatypeID.TheIDdoesnotcontainspaces.Underbarʺ_ʺ
inthedatatypeIDmeanstheseparatorofeachdatatypecategory.
(2)URLaddressURLaddressoftheGNSSdatatype.TheURLaddressshallbe:
ftp://<host address>/<file path> or
http://<host address>/<file path>
ftp, http :useddownloadprotocol
<host address>:addressofthehost
<file path> :downloadfilepathinthehost.thefilepathcan
containthefollowingkeywordsreplacedbydate,time,station
nameandenvironmentvariable.
%Y -> yyyy : year (4 digits) (2000-2099)
%y -> yy : year (2 digits) (00-99)
%m -> mm : month (01-12)
%d -> dd : day of month (01-31)
%h -> hh : hours (00-23)
%H -> a : hour code (a-x)
%M -> mm : minutes (00-59)
%n -> ddd : day of year (001-366)
%W -> wwww : gps week (0001-9999)
%D -> d : day of gps week (0-6)
%N -> d : sequence number (0- )
%s -> ssss : station name (lower-case)
%S -> SSSS : station name (upper-case)
%r -> rrrr : station name
%{env} -> env : environment variable
(3)Defaultlocal
directory
IfthelocaldirectoryisnotspecifiedinRTKGET,thedownloaded
filesaresavedinthedirectory.Thedirectorypathcancontain
keywordassameasURLaddress.
RTKLIBver.2.4.2Manual
113
EXAMPLE
#--------------------------------------------------------------------------------------
# data type url Address default local dir
#--------------------------------------------------------------------------------------
#! PRODUCT (CDDIS)
IGS_EPH ftp://cddis.gsfc.nasa.gov/gps/products/%W/igs%W%D.sp3.Z c:\product\%W
IGS_EPH_GLO ftp://cddis.gsfc.nasa.gov/gps/products/%W/igl%W%D.sp3.Z c:\product\%W
IGS_CLK ftp://cddis.gsfc.nasa.gov/gps/products/%W/igs%W%D.clk.Z c:\product\%W
IGS_CLK_30S ftp://cddis.gsfc.nasa.gov/gps/products/%W/igs%W%D.clk_30s.Z c:\product\%W
IGS_ERP ftp://cddis.gsfc.nasa.gov/gps/products/%W/igs%W7.erp.Z c:\product\%W
IGR_EPH ftp://cddis.gsfc.nasa.gov/gps/products/%W/igr%W%D.sp3.Z c:\product\%W
IGR_CLK ftp://cddis.gsfc.nasa.gov/gps/products/%W/igr%W%D.clk.Z c:\product\%W
IGR_ERP ftp://cddis.gsfc.nasa.gov/gps/products/%W/igr%W%D.erp.Z c:\product\%W
IGU_EPH ftp://cddis.gsfc.nasa.gov/gps/products/%W/igu%W%D_%h.sp3.Z c:\product\%W
IGU_ERP ftp://cddis.gsfc.nasa.gov/gps/products/%W/igu%W%D_%h.erp.Z c:\product\%W
IGS_POS ftp://cddis.gsfc.nasa.gov/gps/products/%W/igs%yP%W.snx.Z c:\product\%W
IGS_TEC ftp://cddis.gsfc.nasa.gov/gps/products/ionex/%Y/%n/igsg%n0.%yi.Z c:\product\%W
IGR_TEC ftp://cddis.gsfc.nasa.gov/gps/products/ionex/%Y/%n/igrg%n0.%yi.Z c:\product\%W
...
RTKLIBver.2.4.2Manual
114
Appendix C API References
ThefollowingtableshowsthelistofRTKLIBlibraryfunctions.FordetailedAPI(callingconvention,
descriptionofthefunction,inputandoutputparametersandtypes,returnvalueandtype)foralibrary
function,refertheheadercommentofeachfunctioninthesourceprogramin<install
dir>\rtklib_<ver>\src.ThedefinitionofdatatypesregardingtotheAPIs,refertheheaderfile
rtklib.hin<install dir>\rtklib_<ver>\src.
ThedetailedspecificationsandsomeexamplesofAPIusageswillbealsoprovidedasRTKLIBAPI
ReferenceManual.
TableC1RTKLIBAPIfunctionList(*:addedinver.2.4.2, **:modifiedinver.2.4.2)
FunctionDescriptionSourceProgram
Satellitenumber/systemfunctions
satno() SatellitesystemandPRN/slotnumbertosatellitenumber rtkcmn.c
satsys() Satellitenumbertosatellitesystemrtkcmn.c
satid2no() SatelliteIDtosatellitenumberrtkcmn.c
satno2id() SatellitenumbertosatelliteID rtkcmn.c
obs2code() Observationtypestringtoobservationcode rtkcmn.c **
code2obs() Observationcodetoobservationcodestring rtkcmn.c **
satexclude() Testexcludedsatellitesrtkcmn.c *
testsnr() TestSNRmaskrtkcmn.c *
setcodepri() Setcodepriorityformultiplecodesrtkcmn.c *
getcodepri() Getcodepriorityformultiplecodesrtkcmn.c *
Matrixandvectorfunctions
mat() Newmatrixrtkcmn.c
imat() Newintegermatrixrtkcmn.c
zeros() Newzeromatrixrtkcmn.c
eye() Newidentitymatrixrtkcmn.c
dot() InnerProductrtkcmn.c
norm() Euclidnormrtkcmn.c
cross3() Outerproductof3Dvectorsrtkcmn.c
normv3() Normalize3Dvectorrtkcmn.c
matcpy() Copymatrixrtkcmn.c
matmul() Multiplymatrixrtkcmn.c
matinv() Inverseofmatrixrtkcmn.c
solve() Solvelinearequationrtkcmn.c
lsq() Leastsquareestimationrtkcmn.c
filter() Kalmanfilterstateupdatertkcmn.c
smoother() Kalmansmoother rtkcmn.c
matprint() Printmatrixrtkcmn.c
matfprint() Printmatrixtofilertkcmn.c
Timeandstringfunctions
RTKLIBver.2.4.2Manual
115
FunctionDescriptionSourceProgram
str2num() Stringtonumberrtkcmn.c
str2time() Stringtotimertkcmn.c
time2str() Timetostringrtkcmn.c
epoch2time() Calendarday/timetotimertkcmn.c
time2epoch() Timetocalendarday/timertkcmn.c
gpst2time() GPSweek/TOWtotimertkcmn.c
time2gpst() TimetoGPSweek/TOWrtkcmn.c
gst2time() GSTweek/TOWtotimertkcmn.c
time2gst() TimetoGSTweek/TOWrtkcmn.c
bdt2time() BDTweek/TOWtotimertkcmn.c *
time2bdt() TimetoBDTweek/TOWrtkcmn.c *
time_str() GetTimeStringrtkcmn.c
timeadd() Addtimertkcmn.c
timediff() Timedifferencertkcmn.c
gpst2utc() GPSTimetoUTCrtkcmn.c
utc2gpst() UTCtoGPSTimertkcmn.c
gpst2bdt() GPSTimetoBDTrtkcmn.c *
bdt2gpst() BDTtoGPSTimertkcmn.c *
timeget() GetcurrenttimeinUTCrtkcmn.c
timeset() SetcurrenttimeinUTCrtkcmn.c
time2doy() TimetoDayofYearrtkcmn.c
utc2gmst() UTCtoGreenwichMeanSiderealTimertkcmn.c *
adjgpsweek() AdjustGPSweeknumberrtkcmn.c
tickget() Getcurrentticktimertkcmn.c
sleepms() Sleepformillisecondsrtkcmn.c
reppath() Replacefilepathrtkcmn.c
reppaths() Replacefilepathsrtkcmn.c
Coordinatesfunctions
ecef2pos() ECEFtogeodeticpositionrtkcmn.c
pos2ecef() GeodetictoECEFpositionrtkcmn.c
ecef2enu() ECEFtolocalcoordinatesrtkcmn.c
enu2ecef() LocaltoECEFcoordinatesrtkcmn.c
covenu() Covarianceinlocalcoordinatesrtkcmn.c
covecef() CovarianceinECEFcoordinatesrtkcmn.c
xyz2enu() ECEFtoENUlocalcoordinatetransformationmatrixrtkcmn.c
eci2ecef() ECItoECEFtransformationmatrixrtkcmn.c **
deg2dms() Convertdegreetodegminsecrtkcmn.c
dms2deg() Convertdegminsectodegreertkcmn.c
Input/outputfunctions
readpos() Readstationpositionsrtkcmn.c
sortobs() Sortobservationdatartkcmn.c
uniqnav() Deleteduplicatedephemeridesinnavigationdatartkcmn.c
screent() Screendatabytimeandintervalrtkcmn.c
readnav() Readnavigationdatafromfilertkcmn.c
savenav() Savenavigationdatatofilertkcmn.c
freeobs() Freememoryforobservationdatartkcmn.c
freenav() Freememoryfornavigationdatartkcmn.c
Debugtracefunctions
RTKLIBver.2.4.2Manual
116
FunctionDescriptionSourceProgram
traceopen() Opentracefilertkcmn.c
traceclose() Closetracefilertkcmn.c
trace() Outputtracertkcmn.c
tracet() Outputtracewithtimetagrtkcmn.c
tracemat() Outputtraceasmatrixprintingrtkcmn.c
traceobs() Outputtraceasobservationdataprintingrtkcmn.c
traceonav() OutputtraceasGPSnavigationmessagesrtkcmn.c
tracegnav() OutputtraceasGLONASSnavigationmessagesrtkcmn.c
tracehnav() OutputtraceasGEOnavigationmessagesrtkcmn.c
tracepeph() Outputtraceaspreciseephemerisrtkcmn.c
tracepclk() Outputtraceaspreciseclockrtkcmn.c
traceb() Outputtraceasbinarydumprtkcmn.c
Platformdependentfunctions
execcmd() Executecommandrtkcmn.c
expath() Expandfilepathrtkcmn.c
createdir() Createdirectoryrtkcmn.c
Positioningmodels
satwavelen() Satellitesignalcarrierwavelengthrtkcmn.c
satazel() Satelliteazimuth/elevationanglertkcmn.c
geodist() Geometricdistancertkcmn.c
dops() ComputeDOPsrtkcmn.c
csmooth() Carriersmoothingrtkcmn.c
Atmospheremodels
ionmodel() Ionosphericmodelrtkcmn.c
ionmapf() Ionosphericmappingfunctionrtkcmn.c
ionppp() Ionosphericpiercepointpositionrtkcmn.c
tropmodel() Troposphericmodelrtkcmn.c
tropmapf() Troposphericmappingfunctionrtkcmn.c
iontec() IonospheremodelbyTECgriddataionex.c
readtec() ReadIONEXTECgridfileionex.c
ionocorr() Ionospherecorrectionpntpos.c
tropcorr() Tropospherecorrectionpntpos.c
Antennamodels
readpcv() Readantennaparametersrtkcmn.c
searchpcv() Searchantennaparametersrtkcmn.c
antmodel() Receiverantennamodelrtkcmn.c **
antmodel_s() Satelliteantennamodelrtkcmn.c
Earthtidesmodels
sunmoonpos() Sunandmoonpositionrtkcmn.c **
tidedisp() Displacementsbyearthtidesppp.c
Geoidmodel
opengeoid() Openexternalgeoidfilegeoid.c
closegeoid() Closeexternalgeoidfilegeoid.c
geoidh() Geoidheightgeoid.c
Datumtransformation
loaddatump() Loaddatumtransformationparameterdatum.c
RTKLIBver.2.4.2Manual
117
FunctionDescriptionSourceProgram
tokyo2jgd() TokyodatumtoJGD2000datumdatum.c
jgd2tokyo() JGD2000datumtoTokyodatumdatum.c
RINEXfunctions
readrnx() ReadRINEXfilerinex.c **
readrnxt() ReadRINEXfileintimerange/intervalrinex.c **
readrnxc() ReadRINEXclockfilerinex.c
outrnxobsh() OutputRINEXOBSheaderrinex.c **
outrnxobsb() OutputRINEXOBSbodyrinex.c
outrnxnavh() OutputRINEXNAVheaderrinex.c
outrnxgnavh() OutputRINEXGLONASSNAVheaderrinex.c
outrnxhnavh() OutputRINEXGEONAVheaderrinex.c
outrnxlnavh() OutputRINEXGalileoNAVheaderrinex.c
outrnxqnavh() OutputRINEXQZSSNAVheaderrinex.c
outrnxcnavh() OutputRINEXBeiDouNAVheaderrinex.c *
outrnxnavb() OutputRINEXNAVbodyrinex.c
outrnxgnavb() OutputRINEXGLONASSNAVbodyrinex.c
outrnxhnavb() OutputRINEXGEONAVbodyrinex.c
uncompress() Uncompressfilerinex.c
init_rnxctr() InitializeRINEXcontrolrinex.c *
free_rnxctr() FreeRINEXcontrolrinex.c *
open_rnxctr() OpenRINEXcontrolrinex.c *
input_rnxctr() InputnextRINEXdatabyRINEXcontrolrinex.c *
convrnx() RINEXconverterconvrnx.c
Ephemerisfunctions
eph2clk() Broadcastephemeristosatelliteclockbiasephemeris.c
geph2clk() GLONASSephemeristosatelliteclockbiasephemeris.c
seph2clk() GEOephemeristosatelliteclockbiasephemeris.c
eph2pos() Broadcastephemeristosatelliteposition/clockbiasephemeris.c
geph2pos() GLONASSephemeristosatelliteposition/clockbiasephemeris.c
seph2pos() GEOephemeristosatelliteposition/clockbiasephemeris.c
peph2pos() Preciseephemeristosatelliteposition/clockbiaspreceph.c
satantoff() Satelliteantennaphasecenteroffsetephemeris.c
satpos() Satelliteposition/clockbiasephemeris.c
satposs() Satellitepositions/clockbiasesephemeris.c
readsp3() ReadSP3filepreceph.c **
readsap() Readsatelliteantennaphasecenterparameterspreceph.c
readdcb() ReadDCBparameterspreceph.c
alm2pos() Almanactosatelliteposition/clockbiaspreceph.c
tle_read() ReadTLEdatafiletle.c *
tle_name_read() ReadTLEsatellitenamefiletle.c *
tle_pos() SatellitepositionandvelocitywithTLEdatatle.c *
Receiverrawdatafunctions
getbitu() Extractunsignedbits rtkcmn.c
getbits() Extractsignedbits rtkcmn.c
setbitu() Setunsignedbits rtkcmn.c *
setbits() Setsignedbits rtkcmn.c *
crc32() CRC32parityrtkcmn.c
crc24q() CRC24Qparityrtkcmn.c
RTKLIBver.2.4.2Manual
118
FunctionDescriptionSourceProgram
crc16() CRC16parityrtkcmn.c *
decode_word() Decodenavigationdataword rcvraw.c
decode_frame() Decodenavigationdataframe rcvraw.c
init_raw() Initializereceiverrawdatacontrol rcvraw.c
free_raw() Freereceiverrawdatacontrol rcvraw.c
input_raw() Inputreceiverrawdatafromstream rcvraw.c
input_rawf() Inputreceiverrawdatafromfile rcvraw.c
Receiverdependentfunctions
input_oem4() InputOEM4/Vrawdatafromstream rcv/novatel.c
input_oem3() InputOEM3rawdatafromstreamrcv/novatel.c
input_ubx() Inputubloxrawdatafromstreamrcv/ublox.c
input_ss2() InputSuperstarIIrawdatafromstreamrcv/ss2.c
input_cres() InputCrescentrawdatafromstreamrcv/crescent.c
input_stq() InputSkyTraqrawdatafromstreamrcv/skytraq.c
input_gw10() InputFurunoGW10II/IIIrawdatafromstreamrcv/gw10.c
input_javad() InputJAVADGRIL/GREISrawdatafromstreamrcv/javad.c
input_nvs() InputNVSBINRrawdatafromstreamrcv/nvs.c *
input_binex() InputBINEXdatafromstreamrcv/binex.c *
input_oem3f() InputOEM3rawdatafromfilercv/novatel.c
input_oem4f() InputOEM4/Vrawdatafromfilercv/novatel.c
input_ubxf() Inputubloxrawdatafromfilercv/ublox.c
input_ss2f() InputSuperstarIIrawdatafromfilercv/ss2.c
input_cresf() InputCrescentrawdatafromfilercv/crescent.c
input_stqf() InputSkyTraqrawdatafromfilercv/skytraq.c
input_gw10f() InputFurunoGW10II/IIIrawdatafromfilercv/gw10.c
input_javadf() InputJAVADGRIL/GREISrawdatafromfilercv/javad.c
input_nvsf() InputNVSBINRrawdatafromfilercv/nvs.c *
input_binexf() InputBINEXdatafromfilercv/binex.c *
gen_ubx() Generateubloxbinarycommandrcv/ublox.c
gen_stq() GenerateSkyTraqbinarycommandrcv/skytraq.c
gen_nvs() GenerateNVSBINRbinarycommandrcv/nvs.c *
RTCMfunctions
init_rtcm() InitializeRTCMcontrolrtcm.c
free_rtcm() FreeRTCMcontrolrtcm.c
input_rtcm2() InputRTCM2messagefromstream rtcm.c
input_rtcm3() InputRTCM3messagefromstream rtcm.c
input_rtcm2f() InputRTCM2messagefromfile rtcm.c
input_rtcm3f() InputRTCM3messagefromfile rtcm.c
gen_rtcm2() GenerateRTCM2message rtcm.c *
gen_rtcm3() GenerateRTCM3message rtcm.c *
Solutionfunctions
initsolbuf() Initializesolutionbuffersolution.c
freesolbuf() Freesolutionbuffersolution.c
freesolstatbuf() Freesolutionstatusbuffersolution.c
getsol() Getsolutiondatafromsolutionbuffersolution.c
addsol() Addsolutiondatatosolutionbuffersolution.c
readsol() Readsolutiondatafromsolutionsfilessolution.c
readsolt() Readsolutiondataintimerange/intervalsolution.c
readsolstat() Readsolutionstatusfromfilesolution.c
RTKLIBver.2.4.2Manual
119
FunctionDescriptionSourceProgram
readsolstatt() Readsolutionstatusintimerange/intervalsolution.c
inputsol() Inputsolutiondatafromstreamsolution.c
outprcopts() Outputprocessingoptionstostringsolution.c
outsolheads() Outputsolutionheadertostringsolution.c
outsols() Outputsolutionbodytostringsolution.c
outsolexs() Outputextendedsolutiontostringsolution.c
outprcopt() Outputprocessingoptionstofilesolution.c
outsolhead() Outputsolutionheadertofilesolution.c
outsol() Outputsolutionbodytofilesolution.c
outsolex() Outputextendedsolutiontofilesolution.c
outnmea_rmc() OutputNMEAGPRMCsentencesolution.c
outnmea_gga() OutputNMEAGPGGAsentencesolution.c
outnmea_gsa() OutputNMEAGPGSA,GLGSA,GAGSAsentencessolution.c
outnmea_gsv() OutputNMEAGPGSV,GLGSV,GAGSVsentencessolution.c
ConvertsolutionstoGoogleEarthKMLfile
convkml() ConvertsolutionstoGoogleEarthKMLfileconvkml.c
SBASfunctions
sbsreadmsg() ReadSBASmessagefilesbas.c
sbsreadsmgt() ReadSBASmessagefileintimerangesbas.c
sbsoutmsg() OutputSBASmessagessbas.c
sbsdecodemsg() DecodeSBASmessagesbas.c
sbsupdatecorr() UpdateSBAScorrectionssbas.c
sbssatcorr() SBASsatellitecorrectionsbas.c
sbsioncorr() SBASionosphericcorrectionsbas.c
sbstropcorr() SBAStroposphericcorrectionsbas.c
Optionsfunctions
searchopt() Searchoptionoptions.c
str2opt() Stringtooptionvalueoptions.c
opt2str() Optionvaluetostringoptions.c
opt2buf() Optiontostringoptions.c
loadopts() Loadoptionsfromfileoptions.c
saveopts() Saveoptionstofileoptions.c
resetsysopts() Resetsystemoptionstodefaultoptions.c
getsysopts() Getsystemoptionsoptions.c
setsysopts() Setsystemoptionsoptions.c
Streamdatainput/outputfunctions
strinitcom() Initializestreamcommunicationenvironmentstream.c
strinit() Initializestreamstream.c
strlock() Lockstreamstream.c
strunlock() Unlockstreamstream.c
stropen() Openstreamstream.c
strclose() Closestreamstream.c
strread() Readstreamstream.c
strwrite() Writestreamstream.c
strsync() Timesyncstreamstream.c
strstat() Getstreamstatusstream.c
strsum() Getstreamstatisticssummarystream.c
strsetopt() Setstreamoptionsstream.c
RTKLIBver.2.4.2Manual
120
FunctionDescriptionSourceProgram
strgettime() Getcurrenttimefromstreamstream.c
strsendnmea() SendNMEAmessagetostreamstream.c
strsendcmd() Sendreceivercommandtostreamstream.c
strsettimeout() Setstreamtimeoutparametersstream.c
strsetdir() Setlocaldirectorystream.c
strsetproxy() Setproxyaddressstream.c
Integerambiguityresolution
lambda() LAMBDA/MLAMBDAintegerleastsquareestimationlambda.c
Standardpositioning
pntpos() Standardpositioningpntpos.c
Precisepositioning
rtkinit() InitializeRTKcontrolstructrtkpos.c
rtkfree() FreeRTKcontrolstructrtkpos.c
rtkpos() Precisepositioningrtkpos.c
rtkopenstat() Opensolutionstatusfilertkpos.c
rtkclosestat() Closesolutionstatusfilertkpos.c
Precisepointpositioning
pppos() Precisepointpositioning(PPP)ppp.c *
pppnx() NumberofestimatedstatesforPPPppp.c *
pppoutsolstat() OutputsolutionstatisticsforPPPppp.c *
windupcorr() Phasewindupcorrectionrtkcmn.c *
pppamb() ResolveintegerambiguityforPPPppp_ar.c *
Postprocessingpositioning
postpos() Postprocessingpositioningpostpos.c
Streamserverfunctions
strsvrinit() Initializestreamserverstreamsvr.c
strsvrstart() Startstreamserverstreamsvr.c **
strsvrstop() Stopstreamserverstreamsvr.c
strsvrstat() Getstreamserverstatusstreamsvr.c
strconvnew() Generatestreamconverter streamsvr.c *
strconvfree() Freestreamconverterstreamsvr.c *
RTKserverfunctions
rtksvrinit() InitializeRTKserverrtksvr.c
rtksvrstart() StartRTKserverrtksvr.c
rtksvrstop() StopRTKserverrtksvr.c
rtksvropenstr() Openoutput/logstreamrtksvr.c
rtksvrclosestr() Closeoutput/logstreamrtksvr.c
rtksvrlock() LockRTKserverrtksvr.c
rtksvrunlock() UnlockRTKserverrtksvr.c
rtksvrostat() GetRTKobservationdatastatusrtksvr.c
rtksvrsstat() GetRTKstreamstatusrtksvr.c
Downloaderfunctions
dl_readurls() ReadURLaddresslistfileofGNSSdatadownload.c *
dl_readstas() Readstationlistfilefordownloaddownload.c *
RTKLIBver.2.4.2Manual
121
FunctionDescriptionSourceProgram
dl_exec() ExecutedownloadofGNSSdatadownload.c *
dl_test() ExecutelocalfiletestofGNSSdatadownload.c *
QZSSLEXfunctions
lexupdatecorr() UpdateLEXcorrectionsqzslex.c *
lexreadmsg() ReadLEXmessagelogfileqzslex.c *
lexoutmsg() OutputLEXmessagelogqzslex.c *
lexconvbin() ConvertLEXbinarytoLEXmessagelogqzslex.c *
lexeph2pos() LEXsatelliteephemerisandclockcorrectionqzslex.c *
lexioncorr() LEXionospherecorrectionqzslex.c *
RTKLIBver.2.4.2Manual
122
Appendix D Files and Messages
D.1 Supported RINEX Files
SupportedRINEXversionsandfilesbyRTKLIBareshowninthefollowingtable.
RINEX
Version
ObservationDataNavigationMessages
Met.CLKGEO
BRDC
G R E J C S G R E J C S
2.10O O O* O* O* O N G N* N* - H - - -
2.11O O O O* O* O N G N* N* - H - - -
2.12O O O O* O O N G N N* - H - - -
3.00O O O O* O* O N N N N* N* N - C** -
3.01O O O O* O O N N N N* N* N - C** -
3.02O O O O O O N N N N N N - C** -
G:GPS,R:GLONASS,E:Galileo,J:QZSS,C:BeiDou,S:SBAS
-: notsupported, O,N,G,H:supportedasRINEXfiletype
*RTKLIBextensions(QZSSextensionsarebasedonJAXA[60][61]),**readonly,
RTKLIBver.2.4.2Manual
123
D.2 Supported Receiver Messages
SupportedRTCM2,RTCM3,BINEXandreceiversʹ proprietarymessagesbyRTKLIBareshowninthe
followingtable.
Format
DataMessageTypes
RawObservation
Data
Satellite
Ephemerides
ION/UTC
Parameters
Antenna
Info
SBAS
MessagesOthers
RTCM2
[16]18,19 17 - 3,22 -
1*,9*,
14,16
RTCM3
[17][18]see below see below - see
below - see below
BINEX
[19]
**
0x7f-05
(Trimble NetR8)
0x01
-
0
1,
0x01-02,
0x01-03,
0x01-04,
0x01-06
- - - -
NovAtel
OEM4/V/6
[41][42]
RANGEB,
RANGECMPB
RAWEPHEMB
,
GLO-
EPHEMERISB,
QZSS-
RAWEPHEMB,
GAL-
EPHEMERISB
IONUTCB,
QZSS-
IONUTCB,
GALIONOB,
GALCLOCKB
-
RAWWAAS-
FRAMEB,
RAWSBAS-
FRAMEB,
QZSSRAW-
SUBFRAMEB
-
NovAtel
OEM3
[43]
RGEB,
RGED REPB IONB,
UTCB - FRMB -
ublox
LEA4T/5T/
6T[44]
UBX
RXM-RAW
UBX
RXM-SFRB
UBX
RXM-SFRB - UBX
RXM-SFRB -
NovAtel
SuperstarII
[45]
ID#23 ID#22 - - ID#67
ID#20,
ID#21
Hemisphere
Crescent,
Eclipse
[46][47]
bin 96,
bin 76 bin 95 bin 94 - bin 80 -
SkyTraq
S1315F
[48][49]
msg 0xDD
(221)
msg 0xE0
(224)
msg 0xE0
(224) - -
msg 0xDC
(220)
Furuno
GW10II/III
[50]
msg 0x08 msg 0x27 msg 0x27 - msg 0x27 msg 0x20
JAVAD
GRIL/GRIES
[51][52][53][54]
[RC],[rc],[CR],
[cr],[PC],[pc],
[CP],[cp],[DC],
[cd],[EC],[CE],
[FC],[R1],[r1],
[1R],[1r],[P1],
[p1],[1P],[1p],
[D1],[1d],[E1],
[1E],[F1],[R2],
[GE],[NE],
[EN],[WE],
[QE]
[UO],[NU],
[EU],[WU],
[QU],[IO]
- [WD]
[~~],[::]
,
[RD],[ST]
,
[NN]
RTKLIBver.2.4.2Manual
124
Format
DataMessageTypes
RawObservation
Data
Satellite
Ephemerides
ION/UTC
Parameters
Antenna
Info
SBAS
MessagesOthers
[r2],[2R],[2r],
[P2],[p2],[2P],
[2p],[D2],[2d],
[E2],[2E],[F2],
[R3],[r3],[3R],
[3r],[P3],[p3],
[3P],[3p],[D3],
[3d],[E3],[3E],
[F3],[R5],[r5],
[5R],[5r],[P5],
[p5],[5P],[5p],
[D5],[5d],[E5],
[5E],[F5],[Rl],
[rl],[lR],[lr],
[Pl],[pl],[lP],
[lp],[Dl],[ld],
[El],[lE],[Fl],
[TC]
NVS
NV08C
[55][56]
msg F5h msg F7h msg 4Ah,
msg 4Bh - - -
*Onlysupporttoread,DGPScorrectionisnotsupported
**Onlybigendian,forwardandregularCRCmessages
SupportedRTCM3MessageTypes
------------------------------------------------------------------------------
Message GPS GLOASS Galileo QZSS BeiDou SBAS
------------------------------------------------------------------------------
OBS Compact L1 1001~ 1009~ - - - -
Full L1 1002 1010 - - - -
Compact L1/2 1003~ 1011~ - - - -
Full L1/2 1004 1012 - - - -
Ephemeris 1019 1020 1045* 1044* - -
- - 1046* - - -
MSM 1 1071~ 1081~ 1091~ 1111*~ 1121*~ 1101*~
2 1072~ 1082~ 1092~ 1112*~ 1122*~ 1102*~
3 1073~ 1083~ 1093~ 1113*~ 1123*~ 1103*~
4 1074 1084 1094 1114* 1124* 1104*
5 1075 1085 1095 1115* 1125* 1105*
6 1076 1086 1096 1116* 1126* 1106*
7 1077 1087 1097 1117* 1127* 1107*
SSR Orbit Corr. 1057 1063 1240* 1246* - -
Clock Corr. 1058 1064 1241* 1247* - -
Code Bias 1059 1065 1242* 1248* - -
Combined 1060 1066 1243* 1249* - -
URA 1061 1067 1244* 1250* - -
HR-Clock 1062 1068 1245* 1251* - -
Antenna Info 1005 1006 1007 1008 1033
------------------------------------------------------------------------------
* draft, ~ only encode
RTKLIBver.2.4.2Manual
125
D.3 Supported Signal IDs/Observation Types
SupportedsignalIDs/observationtypesbyRTKLIBareshowninthefollowingtable.Thetablealsoindicate
thecorrespondentRINEX2andRINEX3observationtypes,RTCM3MSMsignalIDsandBINEX
observationcodeIDs.ForRTCM2,RTCM3andRINEXtoRINEXconversionbyRTKCONVand
CONVBIN,RTCM2andBINEXtoRTCM3conversionbySTRSVRandSTR2STR,thetableisusedaswell.

SystemFreq.ChannelorCodeSignal
ID
RINEX2
*1
RINEX3
*2
RTCM3
*3
BINEX
*4
GPS
L1
C/A1C C1/CA* 1C 2 0,1
L1C(D)1S - 1S 30 -
L1C(P)1L - 1L 31 -
L1C(D+P)1X CB* 1X 32 6
P1P - 1P 3 2
Ztrackingand
similar(ASon)1W P1/C1* 1W 4 3
Y1Y - 1Y 5 4
M1M - 1M 6 5
codeless1N - 1N - 7
L2
C/A2C - 2C 8 11
L1(C/A)+(P2P1)
(semicodeless)2D - 2D - 12
L2C(M)2S - 2S 15 13
L2C(L)2L - 2L 16 14
L2C(M+L)2X C2/CC* 2X 17 15
P2P - 2P 9 16
Ztrackingand
similar(ASon)2W P2 2W 10 10,17
Y2Y - 2Y 11 18
M2M - 2M 12 19
codeless2N - 2N - 20
L5
I5I - 5I 22 24
Q5Q - 5Q 23 25
I+Q5X C5 5X 24 23,26
GLONASS
G1C/A1C C1/CA* 1C 2 0,1
P1P P1/C1* 1P 3 2
G2C/A2C C2/CD* 2C 8 10,11
P2P P2 2P 9 12
G3
I3I - 3I 11 14
Q3Q - 3Q 12 15
I+Q3X - 3X 13 13,16
GalileoE1
APRS1A - 1A 3 1
BI/NAVOS/CS/SoL 1B - 1B 4 2
C1C - 1C 2 0,3
B+C1X C1 1X 5 4
A+B+C1Z - 1Z 6 5
E5aIF/NAVOS5I - 5I 22 7
RTKLIBver.2.4.2Manual
126
SystemFreq.ChannelorCodeSignal
ID
RINEX2
*1
RINEX3
*2
RTCM3
*3
BINEX
*4
Qnodata5Q - 5Q 23 8
I+Q5X C5 5X 24 6,9
E5b
II/NAVOS/CS/SoL7I - 7I 14 11
Qnodata7Q - 7Q 15 12
I+Q7X C7 7X 16 10,13
E5a+E5b
I8I - 8I 18 15
Q8Q - 8Q 19 16
I+Q8X C8 8X 20 14,17
E6
APRS6A - 6A 9 19
BC/NAVCS6B - 6B 10 20
Cnodata6C - 6C 8 21
B+C6X C6 6X 11 18,22
A+B+C6Z - 6Z 12 23
QZSS
L1
C/A1C C1/CA* 1C 2 0,1
L1C(D)1S - 1S 30 2
L1C(P)1L - 1L 31 3
L1C(D+P)1X CB* 1X 32 4
L1SAIF1Z - 1Z 6 30
L2
L2C(M)2S - 2S 15 8
L2C(L)2L - 2L 16 9
L2C(M+L)2X C2/CC* 2X 17 7,10
L5
I5I - 5I 22 14
Q5Q - 5Q 23 15
I+Q5X - 5X 24 13,16
LEX
S6S - 6S 9 20
L6L - 6L 10 21
S+L6X C6 6X 11 19,22
BeiDou
B1
I2I - 2I 2 1
Q2Q - 2Q 3 2
I+Q2X C2 2X 4 0,3
B2
I7I - 7I 14 5
Q7Q - 7Q 15 6
I+Q7X C7 7X 16 4,7
B3
I6I - 6I 8 9
Q6Q - 6Q 9 10
I+Q6X C6 6X 10 8,11
SBAS
L1C/A1C C1/CA* 1C 2 0,1
L5
I5I - 5I 22 7
Q5Q - 5Q 23 8
I+Q5X C5 5X 24 6,9
*1pseudorangeOBSTYPE[9][10][11][12][13][14],*2[12][13][14],*3RTCMMSMsignalID[18],
*4BINEXobservationcodeIDformessage0x7f05[19],*RINEX2.12

RTKLIBver.2.4.2Manual
127
D.4 Default Priorities of Multiple Signals
Ifinputobservationdatacontainmultiplesignalsinafrequency,RTKLIBselectsasignalforprocessingby
thefollowingdefaultpriorities.Toselectappropriatesignal,useRINEXoptionsorreceiverdependent
optionsdescribedinAppendixD.5.InuserAPs,tochangeorobtainthesignalpriorities,useAPI
setcodepri() orgetcodepri().
SystemFreq.SignalPriority(1:highest>10:lowest) *
12345678910
GPS
L11C 1P 1Y 1W 1M 1N 1S 1L
L22P 2Y 2W 2C 2M 2N 2D 2S 2L 2X
L55I 5Q 5X
GLONASS
G11P 1C
G22P 2C
G33I 3Q 3X
Galileo
E11C 1A 1B 1X 1Z
E5a5I 5Q 5X
E5b7I 7Q 7X
E5a+E5b8I 8Q 8X
E66A 6B 6C 6X 6Z
QZSS
L11C 1S 1L 1X 1Z
L22S 2L 2X
L55I 5Q 5X
LEX6S 6L 6X
BeiDou
B12I 2Q 2X
B27I 7Q 7X
B36I 6Q 6X
SBASL11C
L55I 5Q 5X
*ReferAppendixD.3forsignalIDs,
RTKLIBver.2.4.2Manual
128
D.5 Receiver Dependent Input Options
FormatOptionDescription
RTCM2- -
RTCM3
-EPHALL Input all of ephemerides
-STA=nnn Input only messages with STAID=nnn
-GLss Select signal ss for GPS MSM (ss=1C,1P...) * **
-RLss Select signal ss for GLO MSM (ss=1C,1P...) * **
-ELss Select signal ss for GAL MSM (ss=1C,1B...) * **
-JLss Select signal ss for QZS MSM (ss=1C,2C...) * **
-CLss Select signal ss for BDS MSM (ss=2I,7I...) * **
BINEX
-EPHALL Input all of ephemerides
-GLss Select signal ss for GPS (ss=1C,1P...) * **
-RLss Select signal ss for GLO (ss=1C,1P...) * **
-ELss Select signal ss for GAL (ss=1C,1B...) * **
-JLss Select signal ss for QZS (ss=1C,2C...) * **
-CLss Select signal ss for BDS (ss=2I,7I...) * **
NovAtelOEM4/V/6
-EPHALL Input all of ephemerides
-GL1P Select 1P for GPS L1 (default 1C) *
-GL2X Select 2X for GPS L2 (default 2W) *
-RL2C Select 2C for GLO L2 (default 2P) *
-EL2C Select 2C for GAL L2 (default 2C) *
NovAtelOEM3- -
ubloxLEA4T/5T/6T
-EPHALL Input all of ephemerides
-INVCP Invert polarity of carrier-phase
-TADJ=tint Adjust time tags to multiples of tint (sec)
NovAtelSuperstarII- -
Hemisphere
Crescent/Eclipse-EPHALL Input all of ephemerides
SkyTraqS1315F-INVCP Invert polarity of carrier-phase
FurunoGW10II/III-EPHALL Input all of ephemerides
JAVADGRIL/GRIES
-EPHALL Input all of ephemerides
-GL1W Select 1W for GPS L1 (default 1C) *
-GL1X Select 1X for GPS L1 (default 1C) *
-GL2X Select 2X for GPS L2 (default 2W) *
-RL1C Select 1C for GLO L2 (default 1P) *
-RL2C Select 2C for GLO L2 (default 2P) *
-JL1Z Select 1Z for QZS L1 (default 1C) *
-JL1X Select 1X for QZS L1 (default 1C) *
-NOET Discard epoch time message ET (::)
NVSNV08CBINR-EPHALL Input all of ephemerides
-TADJ=tint Adjust time tags to multiples of tint (sec)
*ReferAppendixD.3forsignalIDs,**ReferAppendixD.4fordefaultsignalpriority

RTKLIBver.2.4.2Manual
129
Appendix E Models and Algorithms
ThisappendixbrieflydescribesthemodelsandalgorithmsinvolvedinRTKLIB.Thecommonacronyms
usedformodelsorequationsintheappendixareshownasfollows.
c :speedoflight(m/s)
,
s
ri
P
 :i
Lpseudorangemeasurementofsignal(m)
,
s
ri
D
 :i
LDopplerfrequencymeasurementofsignal(Hz)
,
s
ri
 :i
Lcarrierphasemeasurementofsignal(cycle)
,
s
ri
 :i
Lphaserangemeasurementofsignal(m)
r
t :navigationsignalreceptiontimeatreceiver(s)
s
t :navigationsignaltransmissiontimeatsatellite(s)
s
r
 :geometricrangebetweensatelliteandreceiverantennas(m)
s
r
r :rangeratebetweensatelliteandreceiverantennas(m/s)
()
str:satellitepositionattimetinECEF(m)
()
stv:satellitevelocityattimetinECEF(m)
()
rtr:receiverantennapositionattimetinECEF(m)
()
rtv:receiverantennavelocityattimetinECEF(m/s)
s
r
e :LOSvectorfromreceiverantennatosatelliteinECEF
,
s
renu
e:LOSvectorfromreceiverantennatosatelliteinlocalcoordinates
r
E
 :coordinatesrotationmatrixfromECEFtolocalcoordinatesatreceiverantennaposition
s
E
 :coordinatesrotationmatrixfromECEFtosatellitebodyfixedcoordinates
r
 :latitudeofreceiverantennaposition(rad)
r
-
 :longitudeofreceiverantennaposition(rad)
s
r
A
z :azimuthangleofsatellitedirection(rad)
s
r
E
l :elevationangleofsatellitedirection(rad)
()
r
dt t :receiverclockbiasattimet(s)
()
r
dt t
:receiverclockdriftattimet(s/s)
()
s
dT t :satelliteclockbiasattimet(s)
()
s
dT t
:satelliteclockdriftattimet(s/s)
s
r
T :troposphericdelay(m)
,
s
ri
I :i
Lionosphericdelay(m)
i
f
  :i
Lcarrierfrequency(Hz)
i
-
  :i
Lcarrierwavelength(m)
,
s
ri
B
 :i
Lcarrierphasebias(cycle)
RTKLIBver.2.4.2Manual
130
,
s
ri
N :i
Lcarrierphaseintegerambiguity(cycle)
P
 :measurementerrorsofpseudorange(m)
 :measurementerrorsofcarrierphase(cycle)
 :measurementerrorsofphaserange(m)
e
 :earthrotationanglevelocity(rad/s)
,,rpcoi
d:i
Lreceiverantennaphasecenteroffsetinlocalcoordinates(m)
,
s
p
co i
d:i
Lsatelliteantennaphasecenteroffsetinsatellitebodyfixedcoordinates(m)
,,
()
rpcvi
dEl
:i
Lreceiverantennaphasecentervariation(m)
,()
s
pcv i
d
:i
Lsatelliteantennaphasecentervariation(m)
 :offnadirangleofreceiverantennadirectionfromsatellite(rad)
,rdisp
d:displacementbyearthtidesatreceiverpositioninlocalcoordinates(m)
pw
 :phasewindupeffect(cycle)
s
rel
dT :relativitycorrectionforsatelliteclock(s)
()tU:ECItoECEFcoordinatestransformationmatrixattimet
()
x
R:coordinatesrotationmatrixaroundxaxisbyangle
()
y
R:coordinatesrotationmatrixaroundyaxisbyangle
()
z
R:coordinatesrotationmatrixaroundzaxisbyangle
()
j
k:SD(singledifference)betweensatellite
j
andk
rb
()  :SD(singledifference)betweenreceiver
r
andb
,Tr
Z
:troposphericzenithtotaldelay(m)
,
H
r
Z
:troposphericzenithhydrostaticdelay(m)
,
E
r
G:eastcomponentoftroposphericgradient
,Nr
G:northcomponentoftroposphericgradient
,
s
H
r
m:mappingfunctionforhydrostatictroposphericdelay
,
s
Wr
m:mappingfunctionforwettroposphericdelay
,
s
I
r
m :mappingfunctionforionosphericdelay
RTKLIBver.2.4.2Manual
131
E.1 Time System
RTKLIBinternallyusesGPST(GPSTime)forGNSSdatahandlingandpositioningalgorithms.Thetimeof
inputdataexpressedinothertimesystemslikeUTC(UniversalTimeCoordinated)isconvertedtoGPST
beforeinternalprocessingortheGPSToftheinternaldataisconvertedtotheappropriateothertime
systembeforeoutput.OneofthereasonswhyusingGPSTistoavoidleapsecondshandling.UTC,whichis
themostgenerallyusedtimesystem,isnotacontinuoustimesystemwithasecondjumpbytheleap
secondinsertionordeletion.
TheGPSTisoftenexpressedasaGPSweeknumberandTOW(timeofweek)insecondssincethestart
epochof00:00:00UTConJanuary6,1980.RTKLIB,however,doesnotusesuchaconvention.InGNSSdata
processing,weoftenneedtoconvertatimetoarangeorarangetoatime.TheTOWevenexpressedasa
doubleprecisionhasonlytheresolutionof10
1.3 10
sintime,whichisequivalenttotheresolutionof0.04
minrange.So,instead,RTKLIBexpressestimeasthetypegtime_tdefinedas:
typedef struct {
time_t time; /* time (s) expressed by standard time_t */
double sec; /* fraction of second under 1 s */
} gtime_t;
wherethetime_tisthestandardtimetypeprovidedbythestandardClibrary.Theinternalrepresentation
ofthetime_t
dependsuponthecomputersystem.Itisoftenimplementedbyanunsigned32bitintegeras
thenumberoftotalsecondssince00:00:00onJanuary1,1970.Duetothebitlengthlimitationtheinteger,
thegtime_tcannothandlethetimebeforeJanuary1,1970orafterJanuary19,2038inthiscase.
Thesecofthegtime_tholdsthefractionalsecond.Thesechastheresolutionof8
6.7 10
minrange
adequateforGNSSprecisepositioncomputation.RTKLIBalsoprovidesseveralusefulAPIstohandlethe
gtime_tincludingadding,difference,conversionto/fromtheGPSweeknumberandTOW.
(1) GPSTandUTC(UniversalTimeCoordinated)
TheroughconversionofGPSTtoUTC(UniversalTimeCoordinated)orUTCtoGPSTcanbe
expressedsimplyas:
UTC GPS LS
tt t
(E.1.1)
GPST UTC LS
ttt
(E.1.2)
RTKLIBver.2.4.2Manual
132
whereUTC
tandGPST
tarethetimeexpressedinUTC(s)andthetimeinGPST(s).LS
t
isthedelta
time(s)betweenUTCandGPSTduetothecumulativeleapsecondssinceJanuary6,1980.Thevalues
ofLS
t
areshowninTableE.11untilMarch2013.
TableE.11GPSTUTCValues(untilMarch2013)
TimeSince(inUTC) LS
t
(s)
-----------------------------
1980-01-06 00:00:00 0
1981-07-01 00:00:00 1
1982-07-01 00:00:00 2
1983-07-01 00:00:00 3
1987-01-01 00:00:00 4
1988-01-01 00:00:00 5
1990-01-01 00:00:00 6
1991-01-01 00:00:00 7
1992-07-01 00:00:00 8
1993-07-01 00:00:00 9
1994-07-01 00:00:00 10
1996-01-01 00:00:00 11
1999-01-01 00:00:00 13
1997-07-01 00:00:00 12
2006-01-01 00:00:00 14
2009-01-01 00:00:00 15
2012-07-01 00:00:00 16
Theaccuracyoftheapproximationin(E.1.1)or(E.1.2)iswithinseveral10ns.ByusingtheUTC
parametersinGPSnavigationmessages,wecanconvertGPSTtoUTCorUTCtoGPSTmore
accuratelyas:
01
( 604800( ))
UTC GPS LS E ot t
tt tAAtt WNWN
   (E.1.3)
where0
A
,1
A
,E
t,ot
t,WN aret
WN  aretheUTCparametersprovidedinGPSnavigationmessages.
Morestrictly,UTCin(E.1.3)isUTC(USNO),whichistheUSlocalimplementationofUTC.The
differencebetweenUTCandUTC(USNO)canbeobtainedinCircularTprovidedbyBIPM[72].The
differenceisusuallyseveralnslevel.
(2) GLONASST(GLONASSTime)
GLONASST(GLONASSTime)isbasedonUTC(SU)andincludesleapsecondinsertionordeletion.
GLONASSTisalsoalignedtothelocaltime.So,roughly,thetimeGLONASST
t(s)inGLONASSTcanbe
convertedtothetimeUTC
t(s)inUTC.
10800
UTC GLONASST
tt
(E.1.4)
RTKLIBver.2.4.2Manual
133
Moreaccurately,theUTCparametersforGLONASSTinGLONASSnavigationmessageshouldbe
usedsimilartotheGPSTandUTCconversion.Ignoringtheleapsecondsandthe3houroffset,the
differencebetweenGPSTandGLONASSTisusually100orseveral100nslevel.
(3) GST(GalileoSystemTime)
GST(GalileoSystemTime)iscomposedofweeknumberfromtheoriginoftheGalileotimeandthe
TOW(timeofweek)inseconds.TheGSTstartepochis00:00:00UTConAugust22,1999.Atthestart
epoch,GSTshallbeaheadofUTCby13seconds.TheGSTiscontinuoustimewithoutleapsecond
insertionordeletion.So,theGSTisalignedtoGPSTexceptforthe1024weeksdifferenceofthetime
systemoriginandasmalltimeoffset(GGTO).NotethattheGalileoweeknumberisprovidedasequal
totheGPSweeknumberintheRINEXconvention.
(4) QZSST(QZSSTime)
QZSST(QZSSTime)isalignedtoGPST.IthasthesameoriginasGPSTandthesamedefinitionof
onesecondofGPST.Practically,QZSSTcanbehandledassameasGPST.
(5) BDT(BeiDouNavigationSatelliteSystemTime)
BDT(BeiDouNavigationSatelliteSystemTime)isacontinuoustimesystemwithoutleapsecond
insertionordeletion.ThestartepochofBDTis00:00:00UTConJanuary1,2006.TheoffsetofBDTwith
respecttoUTCiscontrolledwithin100ns(modulo1second).So,thetimeGPS
t(s)inGPSTcan
roughlybeconvertedtothetimeBDT
t(s)inBDTwithintheaccuracyof200nsas:
14
BDT GPST
tt
(E.1.5)
Moreaccurately,theUTCparametersforBDTinBeiDounavigationmessagesshouldbeusedsimilar
totheGPSTandUTCconversion.
RTKLIBver.2.4.2Manual
134
E.2 Coordinates System
ThereceiverorsatellitepositionsinRTKLIBareinternallyrepresentedastheX,Y,Zcomponentsinan
ECEF(earthcenterearthfixed)coordinatessystem.WhatECEFframeusedisnotexplicitlydefinedbut
dependsonthesatelliteephemerisandthepredefinedbasestationposition.Forexample,withGPSsignals
andnavigationdata,thesinglepointpositioningresultsareobtainedinWGS84.Thebaselineanalysiswith
thebasestationwiththepositioninanECEFframebasicallybringstheroverpositioninthesameECEF
frame.Practically,allofusuallyusedECEFframesinGNSSnavigationprocessinglikeWGS84,PZ90.02
andITRF,areidenticalwithintheaccuracyofbroadcastephemerisorsinglepointpositioning.However,
morestrictandcarefulhandlingofthecoordinatessystemisneededforthebaselineanalysisorPPP.The
unifiedcoordinatessystemisdesirabletominimizetheprocessingerrorinthesecases.
(1) TransformationfromgeodeticpositiontoECEFXYZposition
ThegeodeticpositionaredefinedbasedonareferenceellipsoidshowninFigureE.21.Thegeodetic
latituder
,longituder
-
andtheellipsoidalheighthcanbetransformedtotheECEFXYZposition
(,,)
T
r
x
yzrasfollows:
2(2 )ef f
(E.2.1)
22
1sin
r
a
ve
(E.2.2)
2
()coscos
()cossin
(1 ) sin
rr
rrr
r
vh
vh
ve
-
-







r(E.2.3)
where:
a:majorradiusoftheearthreferenceellipsoid(m)
f
:flatteningoftheearthreferenceellipsoid
CurrentversionRTKLIBalwaysusesthefollowingvaluesforaand
f
ofthereferenceellipsoid
providedbytheWGS84datum.
6378137.0a(m)
1.0/298.257223563f
RTKLIBver.2.4.2Manual
135
FigureE.21ReferenceEllipsoid
(2) TransformationfromECEFXYZpositiontogeodeticposition
TotransformtheXYZposition(,,)
T
r
x
yzrinECEFtothegeodeticposition,thefollowingprocedure
isapplied.Thegeodeticlatitudeisderivedbyaniterativemethodintheprocedure.
22
rxy
(E.2.4)
,0 0
r
(E.2.5)
2,
,1 22
,
tan
arctan 1(1 )tan
ri
ri
ri
ae
z
rre







(E.2.6)
,
lim
rri
i

(E.2.7)
2( , )
A
TAN y x
-
(E.2.8)
22
cos (1 ) sin
rr
ra
he

(E.2.9)
(3) TransformationbetweenlocalcoordinatesandECEF
Thelocalcoordinatesatthereceiverposition,whichisalsocalledasENUcoordinates,isoftenusedin
GNSSnavigationprocessing.Therotationmatrixr
E
oftheECEFcoordinatestothelocalcoordinates
areexpressedas:
sin cos 0
sin cos sin sin cos
cos cos cos sin sin
rr
rrrrrr
rr rr r
--
--
--


 



E(E.2.10)
'
T
rzyx ),,(r
h
Reference
Ellipsoid
'
:GeocentricLatitude
:GeodeticLatitude
a
)1( 2
ea
h
:EllipsoidalHeight
x,yplane
-
:Longitude
N
b
z
r
RTKLIBver.2.4.2Manual
136
wherer
andr
-
arethegeodeticlatitudeandthelongitudeofthereceiverposition.Byusingther
E
andthereceiverpositionr
rintheECEFcoordinates,thepositionECEF
rintheECEFcoordinatescan
betransformedtothepositionlocal
rinthelocalcoordinatesas:
()
local r ECEF r
rEr r(E.2.11)
(4) Geoidmodels
Toobtainthegeodeticheightderivedfromtheellipsoidalheight,weshouldconsiderthegeoidheight.
Thegeodeticheight
g
eod
h(m)isexpressedas:
d(, )
g
eo r r
h h geod
-
 (E.2.12)
where(, )
rr
geoid
-
isthegeoidheight(m)atthelatituder
andthelongituder
-
.RTKLIBsupports
thefollowinggeoidmodelsselectablebytheprocessingoptionʺGeoidModelʺ.Allofthesegeoid
modelsareprovidedasthegeoidheightsatthelatitudeandlongitudegridpoints.RTKLIBuses
bilinearinterpolationtoobtainthevalueforanappropriatelatitudeandlongitudeposition.Touse
thesegeoidmodelexceptfortheinternalmodel,thegeoidmodeldatafileshouldbedownloadedand
thefilepathshouldbesetastheprocessingoptionʺGeoidDataFileʺ.
(a)Internal:1degx1deggridgeoidderivedfromEGM96
(b)EGM96:15ʺx15ʺgridEGM96geoidmodel
(c)EGM2008:2.5ʺx2.5ʺgridor1ʺx1ʺgridEGM2008geoidmodel
(d)GSI2000:1ʺx1.5ʺgridGSI2000geoidmodel(onlysurroundingofJapaneseisland)

RTKLIBver.2.4.2Manual
137
E.3 GNSS Signal Measurement Models
(1) GNSSSignalStructure
FigureE.31showsatypicalGNSSsignalstructure.TheGNSSsignalisgenerallycomposedof
multiplicationofthecarrierfrequency(Carrier),thespreadingcode(Code)andthenavigationdata
(Data).ThespreadingcodesarealsocalledasPRN(pseudorandomnoise)codes.Thedetailed
specificationsoftheseGNSSsignalsprovidedbyGPS,GLONASS,Galileo,QZSS,BeiDouandSBAS
arefoundinAppendixF.
FigureE.31GNSSSignalStructure
(2) Pseudorangemeasurementmodel
Thepseudorangeisdefinedasʺthedistancefromthereceiverantennatothesatelliteantenna
includingreceiverandsatelliteclockoffsets(andotherbiases,suchasatmosphericdelays)ʺ[9].Thei
L
pseudorange,
s
ri
P
canbeexpressedbyusingthesignalreceptiontime r
t(s)measuredbythereceiver
clockandthesignaltransmissiontime
s
t(s)measuredbythesatelliteclockas:
,()
s
s
ri r
Pctt
(E.3.1)
Theequationcanbewrittenbyusingthegeometricrange
s
r
betweensatelliteandreceiverantennas,
thereceiverandsatelliteclockbiasesr
dt
s
dT ,theionosphericandtroposphericdelay,
s
ri
I,
s
r
Tandthe
measurementerror
P
as:[64]
Carrier
Code
Signal
Data
2()()sin(2 )PC t D t ft
)2sin(
ft
)(tC
)(tD
+1
1
+1
1
RTKLIBver.2.4.2Manual
138
,
,
,
(( ( )) ( ( )))
()(() ())
()(()())
(() ())
ssss
ri r r r P
sss
rrr P
ss s ss
rrir rr P
sssss
rrr rirP
Pctdtt tdTt
ct t cdt t dT t
ITcdttdTt
cdt t dT t I T
 
  
  
  
(E.3.2)
FigureE.32PseudorangeModel
(3) Carrierphaseandphaserangemeasurementmodel
Thecarrierphaseisʺ...actuallybeingameasurementonthebeatfrequencybetweenthereceived
carrierofthesatellitesignalandareceivergeneratedreferencefrequencyʺ [9].The i
L carrierphase
,
s
ri
canbeexpressedas:

,, ,
0,0, 00, ,
,0, 0, ,
() ()
(( () ) )(( () ) )
() () ( )
ssss
ri ri r i ri
sss s s
ir rr ri i i ri
sssss
rrr riiri
ii
ttN
ft dtt t ft dT t t N
cc
tt dtt dTt N
 

 
--

   
  
  (E.3.3)
where0
tistheinitialtime(s),,()
ri t
isthei
Lphase(cycle)ofreceiverlocaloscillatorand()
s
it
isthe
i
Lphase(cycle)oftransmittednavigationsignalatthetimet.,0,ri
isthei
Linitialphase(cycle)of
receiverlocaloscillatorand,0,
s
ri
isthei
Linitialphase(cycle)oftransmittednavigationsignalatthe
time0
t.
Thei
Lphaserange,
s
ri
,definedasthecarrierphasemultipliedbythecarrierfrequencyi
-
inm,also
canbeexpressedbyusingthecarrierphasebias,
s
ri
B
andcarrierphasecorrectionterms,
s
ri
d
AtSatellite
At Receiver
sr
tt

r
t
Time by Satellite Clock (s)
Time by Receiver Clock (s)
RTKLIBver.2.4.2Manual
139
includingantennaphasecenteroffsetsandvariations,stationdisplacementbyearthtides,phase
windupeffectandrelativitycorrectiononthesatelliteclockas:
,,
,0, 0, ,
,,,
()(() ())( )
(() ())
ss
ri i ri
sssss
rrr iriirii
sssssss
rrr riririri
ct t cdt t dT t N
cdt t dT t I T B d
-
-
 -
-
  
  
  (E.3.4)
where:
,,0,0, ,
s
ss
ri r i i ri
B
N


(E.3.5)

,,,, , ,, , ,,
() ()
T
sTssss s Ts
r i r pco i r enu pco i r r pcv i pcv i r disp r enu i pw
ddEld
-
   de Ede de (E.3.6)
,
s
ri
Nisoftencalledascarrierphaseintegerambiguity,carriercycleambiguityorsimplyambiguity.For
thedetailedformulationofthecarrierphasecorrectionterms,referAppendixE.9.
(4) Geometricrangebetweenreceiverandsatelliteantennas
Thegeometricrangeisdefinedasthephysicaldistancebetweenthesatelliteantennaphasecenter
positionandthereceiverantennaphasecenterpositionintheinertialcoordinates.Atfirst,thesignal
transmissiontime
s
tcanbederivedfrom:
,/()
s
ss
rri
ttPcdTt  (E.3.7)
Thebothsidesintheequationincludes
s
t.Soseveraliterationsareneededtosolvetheequation.The
geometricrangecanbeexpressedbyusingthereceiverandsatelliteantennaphasecenterpositions
() ( , , )
T
rr r r r
txyzratthetimer
tand() ( , , )
s
ssssT
txyzratthetime
s
tintheECEF(earthcenter
earthfixed)coordinatesas:
()() () ()
s
sss
rrrr
tt t t
Ur Ur (E.3.8)
where()tUistheECEFtoECI(earthcenterinertial)coordinatestransformationmatrixatthetimet.
FortheexpressionintheECEFcoordinates,theearthrotationeffecthastobeincorporatedintoobtain
thegeometricrange.Theequationcanbeapproximatedbyoneofthefollowingequationswith
adequateprecisionunder1mmlevel.CurrentversionRTKLIBalwaysusestheequation(F.3.8b)forthe
geometricrange.Thelasttermin(F.3.8b)issometimescalledasSagnaceffect.
RTKLIBver.2.4.2Manual
140
)()/()( sss
rezrr
s
rtct rRr
(E.3.8a)
() () ( )
sssss
e
rrr r r
tt xyyx
c
  rr (E.3.8b)
)())(()( sss
rezrr
s
rtttt rRr
(E.3.8c)
FigureE.31GeometricRangeandEarthRotationCorrection
(5) Azimuthandelevationanglesofsatellitedirection
TheunitLOS(lineofsight)vectorfromthereceivertothesatellitecanbeexpressedintheECEF
coordinatesas:
() ()
() ()
ss
srr
rss rr
tt
tt
rr
e
rr
(E.3.9)
Intheequation,theearthrotationeffectisneglected.Theazimuthandelevationangles
s
r
A
zand
s
r
E
lof
thesatellitedirectionfromthereceiversitecanbederivedfrom:
,(, , )
s
sT
renu r r e n u
eeeeEe (E.3.10)
2( , )
s
ren
A
zATANee(E.3.11)
arcsin( )
s
ru
E
le(E.3.12)
()
s
er
tt
()
s
s
tr
()
rr
tr
z
y
x
Earth
Receiver
Satellite
ECEFatsignaltransmission ECEFatsignalreception
RTKLIBver.2.4.2Manual
141
wherer
E
isthecoordinatesrotationmatrixfromECEFtothelocalcoordinatesatthereceiverposition.
ReferE.2fordetailedformationofthematrix.
FigureE.32LocalCoordinatesandAzimuthandElevationAngles
z(U)
x(E)y(N)
Receiver El
Az
Satellite
RTKLIBver.2.4.2Manual
142
E.4 GNSS Satellite Ephemerides and Clocks
RTKLIBsupportsbroadcastephemeridesandclocksforGPS,GLONASS,Galileo,QZSS,BeiDouandSBAS.
ItalsosupportsthepreciseephemeridesandclocksprovidedastheSP3c[22]andclockRINEX[15]including
Galileo,QZSSandBeiDouforpostprocessingmodes.Forrealtimemodes,thebroadcastephemeridesand
clockscorrectedbytheSBASlongtermandfastcorrectionsandtheRTCM3SSR(statespace
representation)correctionsarealsosupported.Thefollowingequationsshowtheephemerisandclock
modelsusedinRTKLIB.
(1) BroadcastephemeridesandclocksforGPS,GalileoandQZSS[1][5][6]
BroadcastephemerisandSVclockparametersforGPS,GalileoandQZSSaregiveninnavigation
messagesas:
00 0 012
(,, )(,,, ,, ,,,, , , , , , , , , , )
T
ephoeoc usucrsrcisic GD
ttIOD aei M nI CCCCCCafafafT
  
p (E.4.1)
Byusingtheseparameters,thesatelliteposition(antennaphasecenterposition)()
strinECEF,the
satelliteclockbias()
s
dT t andclockdrift()
s
dT t
arecomputedas:
koe
ttt (E.4.2)
03k
M
Mnt
a

 



(E.4.3)
sin
M
Ee E (E.4.4)
2
1sin
cos
eE
Ee
(E.4.5)
arctan


(E.4.6)
sin 2 cos2
us uc
uC C

 (E.4.7)
sin 2 cos2
rs rc
rC C

 (E.4.8)
sin2 cos2
is ic
iC C

 (E.4.9)
uu
 (E.4.10)
(1 cos )ra e E r
 
(F.4.11)
0k
ii iIt

(E.4.12)
0()
ek eoe
tt
 
 
(E.4.13)
cos cos sin cos sin
( ) cos sin sin cos cos
sin sin
suui
tr u u i
ui






r(E.4.14)
coc
ttt (E.4.15)
RTKLIBver.2.4.2Manual
143
2
01 2 2
2
() sin
scc GD
dT t af af t af t e A E bT
c
  (E.4.16)
12
() 2
sc
dT t af af t
(E.4.17)
where:
:earthgravitationalconstant(14
3.9860050 10m3/s2forGPSandQZSS, 14
3.986004418 10m3/s2

forGalileo)
e
:earthangularvelocity(-5
7.2921151467 10rad/s)
22
1/i
bf ffori
Lpseudorange
GD
T:groupdelayparametersforGPSandQZSS,GD
BforGalileo(s)
TheKeplerequation(E.4.4)canbesolvedthefollowingiterationbyNewtonʹsmethod.
0
EM(E.4.18)
1sin
1cos
ii
ii i
E
eEM
EE eE

 (E.4.19)
lim i
i
E
E

(E.4.20)
ThebroadcastephemeridesandclockareappliedincasethattheprocessingoptionʺSatellite
Ephemeris/ClockʺtoʺBroadcastʺaswellasGLONASS,BeiDouandSBAS.
(2) BroadcastephemeridesandclocksforGLONASS[4]
BroadcastephemerisandclockparametersforGLONASSaregiveninthenavigationmessagesas:
() (,,, , , , , , , , )
eph b x y z x y z n n
txyzvvvaaa
p(E.4.21)
Thedifferentialequationsforthesatelliteposition() ( , , )
s
T
txyzrandvelocity() ( , , )
s
T
x
yz
tvvvvin
ECEF(PZ90.02)canbeformedas:
x
dx v
dt ,y
dy v
dt ,z
dz v
dt (E.4.22)
222
2
352
35
12
2
xe
eeyx
dv a z
x
Jx xva
dt rrr


 



(E.4.23)
222
2
352
35
12
2
yeeexy
dv az
yJ y y va
dt rrr


 



(E.4.24)
22
2
352
35
3
2e
zz
a
dv z
zJ z a
dt rrr

 



(E.4.25)
where:
e
a:earthsemimajoraxis(6378136.0 m)
RTKLIBver.2.4.2Manual
144
:earthgravitationalconstant(9
398600.44 10m3/s2)
e
:earthangularvelocity(-5
7.292115 10rad/s)
2
J
:secondzonalharmonicofthegeopotential(9
1082625.7 10
)
222
rxyz
NotethattwoerratainA.3.1.2ofGLONASSICD5.1[4]hasbecorrectedinthemodelsabove.
Thesatelliteposition()
strandvelocity()
stvatthetimetcanbederivedbytheRK4(RungeKutta
4thorderandstage)numericalintegrationtosolvethesedifferentialequationswiththeinitialsatellite
position()
sb
trandvelocity()
sb
tvatthereferencetimeb
t.Forsatelliteclockbias()
s
dT t anddrift
()
s
dT t
attheepochtimetarealsoderivedas:
() ( )
snn b
dT t t t

  (E.4.26)
()
sn
dT t
(E.4.27)
TherelativisticeffectinthesatelliteclockareincludedintheGLONASSclockparameters.Sothe
relativisticcorrectionisnotappliedinthiscase.
(3) BroadcastephemeridesandclocksforBeiDou[7]
ForBeiDousatellites,thesimilarephemerisandclockparametersasGPS,GalileoandQZSSare
providedinthenavigationmessagesas:
00 0 012
(,)(,,,,,,,,,,,,,,,,,, )
T
ephoeoc usucrsrcisic GD
t t a e i M n I C C C C C C af af af T
  
p (E.4.28)
ForMEOandIGSOsatellitesofBeiDou,thesameformulationsas(1)forGPSephemerisandclock,
exceptfor
=14
3.986004418 10,e
=-5
7.2921150 10rad/sandthetimetisexpressedinBDT.
Toobtainthesatelliteposition()
strofBeiDouGEOsatellitesatthetimetinBDT,theequation
(E.5.13)and(E.5.14)shouldbereplacedby:
0keoe
tt
 
 
(F.4.29)
cos cos sin cos sin
( ) ( ) ( 5 ) cos sin sin cos cos
sin sin
szek x
uui
tr t u u i
ui








rRR (E.4.30)
where:
RTKLIBver.2.4.2Manual
145
10 0
() 0 cos sin
0sincos
x






R,
cos sin 0
() sin cos 0
001
z








R
(4) BroadcastephemeridesandclocksforSBAS[8]
NavigationmessageparametersforSBASGEOsatellitesaregivenintheSBASmessages(message
type9)as:
001
() (,,, , , , , , , , )
eph x y z x y z GF GF
txyzvvvaaaaap(E.4.31)
Byusingtheseparameters,thesatelliteposition()
strinECEFandsatelliteclockbias()
s
dT t are
computedas:
2
00
1
() () ()
2
xx
syy
zz
xv a
tyvtt att
zva
 
 

 
 
 

 
r(E.4.32)
010
() ( )
sGF GF
dT t a a t t 
(E.4.33)
(5) SBASorbitandclockcorrections[8]
TheSBASorbitandclockcorrectionsaredefinedasthefollowingparameters.
001
(, ) ( , , , , , , , )
sbas t IOD x y z x y z af af
 
Δ(E.4.38)
The
I
OD indicatesthetargetbroadcastephemerisandclockparameters.Thecorrectedsatellite
position()
strattimetiscomputedas:
0
() () ( )
ss
broadcast
xx
ttyytt
zz









rr
(E.4.39)
where:
()
sbroadcast tr:satellitepositionattimetcomputedbythebroadcastephemeriswith
I
OD (m)
Thecorrectedsatelliteclockbias
()
s
dT t
atthetimetisalsocomputedwiththeSSRcorrectionas:
010
() () ( )
ss
broadcast
dT t dT t af af t t


(E.4.40)
RTKLIBver.2.4.2Manual
146
where:
()
sbroadcast
dT t :satelliteclockbiasattimetcomputedbythebroadcastclockwith
I
OD .
TheSBAScorrectionwithbroadcastephemeridesandclocksareappliedincasethattheprocessing
optionʺSatelliteEphemeris/ClockʺtoʺBroadcast+SBASʺ.
(6) Preciseephemeridesandclocks
ThepreciseephemeridesforGPS,GLONASS,Galileo,QZSSandBeiDouareusuallyprovidedasSP3c
filescontainingsatellitepositionsandvelocities(optional)atevery15minor5minepochs.Toobtain
thesatellitepositionatthetimet,anappropriateinterpolationisneeded.RTKLIBusesthefixed
degree(10n)polynomialinterpolationbyNewtonNevilleʹsalgorithmas:
,()
jj j
Pt x   ()ijin
   (E.4.34)
,1 1,
,( ) () ( ) ()
() kjk jjk
jk kj
ttp t ttp t
pt tt


()ijkin
  (E.4.35)
wherenisthedegreeofthepolynomialfortheinterpolationand12
(),( ),( ),...,( )
ii i in
xt xt xt xt

arethe
ephemerisvaluesforeachcomponentsattheepochs12
,,,...,
ii i in
tt t t

.Forexample,inthe4ncase,
theinterpolatedvalue()
x
tatthetimetcanbederivedas:
,() ( )
ii i
p
txt
 ,1
()
ii
p
t
1, 1 1
() ( )
ii i
p
txt
 
,2
()
ii
p
t
 1, 2 ()
ii
p
t
  ,3
()
ii
p
t
2, 2 2
() ( )
ii i
ptxt
 
1, 3 ()
ii
p
t
  ,4() ()
i
p
txt
 1, 2 ()
ii
p
t
  1, 4 ()
ii
p
t

3, 3 3
() ( )
ii i
ptxt
 
2, 4()
ii
p
t

 3, 4()
ii
p
t

4, 4 4
() ( )
ii i
ptxt
 
NotethatpreciseephemeridesusuallypresenttheCoM(centerofmass)positionsofsatellitenotasthe
antennaphasecenterposition.Sousersshouldcorrectthesatelliteantennaphasecenteroffsettouse
thepreciseephemerides.Fordetails,referAppendixE.8.
Inspiteofthepreciseephemerishighorderpolynomialinterpolation,asimplelinearinterpolationis
implementedforpreciseclocksprovidedasSP3corclockRINEXfilesas:
RTKLIBver.2.4.2Manual
147
11
1
()()()()
() ss
siiii
ii
ttdTtttdTt
dT t tt


1
()
ii
ttt
  (E.4.36)
ForthepreciseclocksprovidedbyIGS(InternationalGNSSservice),therelativisticeffectshouldbe
correctedas:[68]
11
2
1
()()()()() ()
() 2
ss
sTs
siiii
ii
ttdTtttdTt tt
dT t tt c



rv
(E.4.37)
where()
strand()
stvarethesatellitepositionandvelocityderivedfromthepreciseephemerides.
ThepreciseephemeridesandclocksareappliedincasethattheprocessingoptionʺSatellite
Ephemeris/ClockʺtoʺPreciseʺ.
(7) RTCMSSRorbitandclockcorrections[18]
TheRTCMSSRorbitandclockcorrectionsaredefinedasthefollowingparameters.
0012
(, ) ( , , , , , , , , )
ssr radial along cross radial along cross
tIOD O O O O O O CCC

Δ (E.4.41)
The
I
OD indicatesthetargetbroadcastephemerisandclockparameters.Thecorrectedsatellite
position()
strattimetiscomputedas:
()
()
sbroadcast
along sbroadcast
t
t
v
e
v(E.4.42)
() ()
() ()
ss
broadcast broadcast
cross ss
broadcast broadcast
tt
tt
rv
e
rv
(E.4.43)
radial along cross
eee
(E.4.44)
0
()
radial
radial
along along
cross cross
O
O
OOtt
OO
 





 






O
(E.4.43)

() () , ,
ss
broadcast radial along cross
tt
rr eee O
(E.4.45)
where:
()
sbroadcast tr:satellitepositionattimetcomputedbythebroadcastephemeriswith
I
OD (m)
()
sbroadcast tv:satellitevelocityattimetcomputedbythebroadcastephemeriswith
I
OD (m/s)
RTKLIBver.2.4.2Manual
148
Thesatellitevelocity()
sbroadcast tviscomputedbythefollowingdifferentialapproximationwith
0.001t
(s).
() ()
() ss
sbroadcast broadcast
broadcast tt t
tt

rr
v(E.4.46)
Thecorrectedsatelliteclockbias
()
s
dT t
atthetimetisalsocomputedwiththeSSRcorrectionas:
2
01 0 2 0
()()CC Ctt Ctt
 (E.4.47)
() ()
ss
broadcast C
dT t dT t C

(E.4.48)
where:
()
sbroadcast
dT t :satelliteclockbiasattimetcomputedbythebroadcastclockwith
I
OD withthe
 followingrelativitycorrection.
2
2() ()
sTs
broadcast broadcast
rel tt
tC
 rv
(E.4.49)
TheSSRcorrectionswithbroadcastephemeridesandclocksareappliedincasethattheprocessing
optionʺSatelliteEphemeris/ClockʺtoʺBroadcast+SSRAPCʺorʺBroadcast+SSRCoMʺ.
RTKLIBver.2.4.2Manual
149
E.5 Troposphere and Ionosphere Models
RTKLIBsupportsthefollowingtroposphereandionospheremodels.
(1) Tropospheremodel
Thestandardatmospherecanbeexpressedas:
55.2568
1013.25 (1 2.2557 10 )ph
(E.5.1)
3
15.0 6.5 10 273.15Th
  (E.5.2)
17.15 4684.0
6.108 exp 38.45 100
rel
h
T
eT

 


(E.5.3)
where
p
isthetotalpressure(hPa),Tistheabsolutetemperature(K)oftheair,histhegeodetic
heightaboveMSL(meansealevel),eisthepartialpressure(hPa)ofwatervaporandrel
histhe
relativehumidity.Thetroposphericdelay
s
r
TisexpressedbytheSaastamoinenmodelwith
p
,Tand
ederivedfromthestandardatmosphere.
2
0.002277 1255 0.05 tan
cos
s
r
Tp ez
zT







(E.5.4)
wherezisthezenithangle(rad)as/2
s
r
zEl

.
ThestandardatmosphereandtheSaastamoinenmodelareappliedincasethattheprocessingoption
ʺTroposphereCorrectionʺissettoʺSaastamoinenʺ,wherethegeodeticheightisapproximatedbythe
ellipsoidalheightandtherelativehumidityisfixedto70%.
(2) SBAStropospheremodel
IftheprocessingoptionʺTropospherecorrectionʺ issettoʺSBASʺ,theSBAStropospheremodels
definedintheSBASreceiverspecificationsareapplied.ThemodeloftencalledasʺMOPSmodelʺ.Refer
[8]A.4.2.4fordetails.
(3) Precisetropospheremodel
IftheprocessingoptionʺTroposphereCorrectionʺissettoʺEstimateZTDʺorʺEstimateZTD+Gradʺ,a
moreprecisetropospheremodelisappliedwithstrictmappingfunctionsas:
RTKLIBver.2.4.2Manual
150
,,
() ()1cot( cos sin )
ss s s s
rWr rNr rEr r
m El m El El G Az G Az (E.5.5)
,,,
() ()( )
ss s
rHrHr rTrHr
T m El Z m El Z Z
(E.5.6)
where:
,Tr
Z
:troposphericzenithtotaldelay(m)
,
H
r
Z:troposphericzenithhydrostaticdelay(m)
()
H
mEl
:hydrostaticmappingfunction
()
W
mEl
:wetmappingfunction
InRTKLIB,thetroposphericzenithhydrostaticdelayisgivenbySaastamoinenmodel(E.5.4)withthe
zenithangle0zandrelativehumidity0
rel
h
.Forthemappingfunction,RTKLIBemploysNMF
(Niellmappingfunction)[70]asdefault.Thezenithtotaldelay,Tr
Z
andthegradientparameters,Nr
G,
,
H
r
G(inthecaseofʺEstimateZTD+Gradʺ)areestimatedasunknownparametersintheparameter
estimationprocess.Forthemappingfunction,RTKLIBcanusesGMF[71]bysettingthecompileroption
DIERS_MODELsincever.2.4.2.
(4) Broadcastionospheremodel
ForionospherecorrectionforsinglefrequencyGNSSusers,GPSandQZSSnavigationdataincludethe
followingbroadcastionosphericparameters.
01230123
(,,,,,,,)
T
ion

p(E.5.5)
Byusingtheseionosphericparameters,the1
Lionosphericdelay
s
r
I
(m)canbederivedthefollowing
procedure[1].ThemodelisoftencalledasKlobucharmodel.
0.0137 / ( 0.11) 0.022El

(E.5.6)
cos
i
A
z

 (E.5.7)
sin / cos
ii
Az
-
- 
 (E.5.8)
0.064cos( 1.617)
mi i
-
 (E.5.9)
4
4.32 10 i
tt
-
 
(E.5.10)
3
1.0 16.0 (0.53 )FEl  (E.5.11)
3
0
2 ( 50400) / n
nm
n
xt

 (E.5.12)
9
424
9
1
5 10 ( 1.57)
510 1 ( 1.57)
224
s
rn
nm
n
Fx
Ixx
Fx

 



  





(E.5.13)
RTKLIBver.2.4.2Manual
151
CorrectionsbythebroadcastionospheremodelareappliediftheprocessingoptionʺIonosphere
CorrectionʺissettoʺBroadcastʺorʺQZSSBroadcastʺ.
(5) SBASionospheremodel
SBAScorrectionsforionosphericdelayisprovidedbythemessagetype18(ionosphericgridpoint
masks)andthemessagetype26(ionosphericdelaycorrections).RTKLIBusestheSBASionospheric
correctioniftheprocessingoptionʺIonosphereCorrectionʺissettoʺSBASʺandtheseSBASmessages
areprovidedinaninputfile.ForthealgorithmsforthemodelandthedefinitionofIGPs(ionospheric
gridpoints),referA.4.4.9andA.4.4.10oftheSBASreceiverspecifications[8].
(6) Singlelayermodel
TheionosphereisoftenmodeledasasimplesinglelayermodelshowninFigureE.51.Thesinglelayer
modelisalsocalledasathinshellmodel.
FigureE.51SingleLayerIonosphereModel
Inthemodel,thelatitudeIPP
(rad)andthelongitudeIPP
-
(rad)oftheIPP(ionosphericpierce
point)canbederivedfrom:
/2
s
r
zEl

(E.5.14)
'arcsin sin
E
E
R
zz
RH




(E.5.15)
'zz
 (E.5.16)
arcsin(cos sin sin cos cos )
s
IPP r r r
A
z

 (E.5.17)
Receiver
Satellite
Ionosphere
Earth
Ionospheric
PiercePoint
z
zʹ
H
RE
RTKLIBver.2.4.2Manual
152
( 70 tan cos tan( / 2 ))
s
rrr
and Az

 or( 70 tan cos tan( / 2 ))
s
rrr
and Az

 
sin sin
arcsin cos
s
r
IPP r IPP
A
z
--
(E.5.18a)
(otherwise)
sin sin
arcsin cos
s
r
IPP r IPP
A
z
--
 (E.5.18b)
whereE
R
istheradiusoftheearth(m)and
H
istheheightoftheionosphereshell(m).RTKLIB
usuallyusesthevalues6378137
E
Rand350000H
.Notethattheearthsurfaceortheionosphere
shellareapproximatedasasphereinthismodel.
IftheVTEC(verticaltotalelectroncontent)value(, , )
IPP IPP
TEC t
-
attheIPPPandthetimetisgiven,
thei
L
ionosphericdelay,
s
ri
I(m)canbeexpressedas:
16
,1 40.3 10 (, , )
cos '
s
ri IPP IPP
i
ITECt
zf
-
(E.5.19)
wherei
f
isthecarrierfrequencyofsignals(Hz).
TheVTECvaluesareprovidedinseveralformatsorequations.RTKLIBcurrentlyonlysupportsthe
VTECvaluesprovidedbytheIONEXformat[24].IntheIONEXformat,theVTECareexpressedasthe
pointvaluesinalatitudeandlongitudegrid.RTKLIBinterpolatesthesegridpointvaluesintheIONEX
datatoanappropriateIPPpositionbyasimplebilinearinterpolation.TheseVTECvaluesare
providedateveryepochtimeintervalsintheIONEXfile.Thetimeinterpolationshouldalsobeapplied
inthesunfixedcoordinatesas:
11 1
1
()(,,())()(,,())
(, , ) i i IPP IPP i i i IPP IPP i
IPP IPP ii
ttTECt tt t tTECt tt
TEC t tt
-  - 
-
 
 
(E.5.20)
wherei
tand
1i
t
1
()
ii
ttt
 arethetimefortheprovidedTECdataand2 / 86400
isthe
rotationvelocityofthesuntotheearth.CorrectionbythesinglelayermodelwithIONEXdatais
appliediftheprocessingoptionʺIonosphereCorrectionʺissettoʺIONEXTECʺandIONEXdataare
providedasinputfilesonlyinthepostprocessingmode.
(7) IonospherefreeLC(linearcombination)
RTKLIBver.2.4.2Manual
153
ToeliminatetheionosphereeffectsintheGNSSsignalmeasurements,aLC(linearcombination)of
dualfrequencymeasurementsisoftenutilizedinGNSSdataprocessing.TheionospherefreeLCofi
L
andj
L
pseudorangeandphaserangeareexpressedas:
,,,
s
ss
rLC i ri j r j
PCPCP (E.5.21)
,,,
s
ss
rLC i ri j r j
CC

 (E.5.22)
wherei
Candj
CarethecoefficientsoftheionospherefreeLC.Thei
Candj
Carederivedfrom:
2
22
i
iij
f
C
f
f
(E.5.23)
2
22
j
jij
f
C
f
f

(E.5.24)
wherei
f
andj
f
arethefrequencies(Hz)ofi
L
andj
L
measurements.CurrentversionRTKLIB
alwaysuses1
L
and2
L
forGPS,GLONASSandQZSS,1
L
and5
L
forGalileofortheionospherefree
LC.IfsettingtheprocessingoptionʺIonosphereCorrectionʺ toʺIonoFreeLCʺ intheSingleorPPP
modes,theionospherefreeLCisusedforbasicmeasurementstoeliminatetheionosphereterm.Note
thattheionospherefreeLCmodelisnotappliedfortheKinematic,StaticorMovingbasemodes.Refer
theE.7(6)fordetails.
RTKLIBver.2.4.2Manual
154
E.6 Single Point Positioning
RTKLIBemploysaniteratedweightedLSE(leastsquareestimation)fortheʺSingleʺ (singlepoint
positioning)modewithorwithoutSBAScorrections.
(1) LinearLSE
Assumeameasurementvectoryaregivenanditcanbemodeledasthefollowinglinearequationsof
anunknownparametervectorxandarandommeasurementerrorvectorv.

y
Hx v (E.6.1)
Theleastsquarecostfunction
L
S
J
isdefinedasthesumofthesquaredmeasurementerrorsas:
22 2
12
... T
LS m
Jvv v vv(E.6.2)
Byusing(E.6.1)and(E.6.2),thecostfunctioncanberewrittenas:
()()
T
LS
T T TT TT
J 
 
yHx yHx
yy y
Hx x H
y
xHHx
(E.6.3)
Tominimizethecostfunction,thegradientof
L
S
J
shouldbezero.Then
()( )
22
T T TT T T TT
LS
TTT
J 
 
0yHHy HHx xHH
x
yH xHH 0
(E.6.4)
Itgivessocalledaʺnormalequationʺas:
TT
HHx H
y
(E.6.5)
Tosolvethenormalequation,wecangettheestimatedunknownparametervectorˆ
xbytheLSEas:
1
ˆ()
TT
xHHH
y
(E.6.6)
Iftheweightsofeachmeasurementsaregiven,thecostfunction(E.6.3)canberewrittenbyusinga
RTKLIBver.2.4.2Manual
155
weightmatrixW.
T
WLS
JvWv(E.6.7)
TominimizethecostfunctionWLS
J,wecanobtaintheestimatedunknownparametervectorbythe
weightedLSEbythesimilarwayforthesimpleLSEas:
1
ˆ()
TT
xHWHHW
y
(E.6.8)
TheweightmatrixWfortheweightedLSEisoftengivenas:
22 2
12
( , ,..., )
m
diag
 
 
W
wherei
istheaprioristandarddeviationoftheithmeasurementerror.
(2) GaussNewtoniterationfornonlinearLSE
Incasethatthemeasurementsarenotgivenaslinearmodels,themeasurementequationscanbe
writtenbyageneralnonlinearvectorfunctionas:
()
y
hx v
(E.6.9)
where()hx isameasurementvectorfunctionofaparametersvectorx.Theequationcanbeextended
byusingTaylorseriesaroundaninitialparametervector0
xas:
00
() ( ) ( ) ..hx hx H x x (E.6.10)
whereHisapartialderivativesmatrixof()hx withrespecttoxat 0
xx
:
0
()
xx
hx
Hx(E.6.11)
Assumetheinitialparametersareadequatelynearthetruevaluesandthesecondandfurthertermsof
theTaylorseriescanbeneglected.Wecanapproximate(E.6.9)as:
00
() ( )
y
hx H x x v
(E.6.12)
RTKLIBver.2.4.2Manual
156
Thenwecanobtainthefollowinglinearequation.
00
() ( )
y
hx H x x v
(E.6.13)
ByapplyinglinearweightedLSE(E.6.8)for(E.6.13),wecangetthenormalequationfornonlinear
weightedLSE:
00
ˆ
() (())
TT
 HWHx x HW
y
hx (E.6.14)
Sowecanobtaintheestimatedunknownparametervectorˆ
xby:
1
00
ˆ() (())
TT
 xx HWH HW
y
hx (E.6.15)
Iftheinitialparameters0
xarenotenoughnearthetruevalues,wecaniterativelyimprovethe
estimatedparameterslike:
00
ˆxx
(E.6.16)
1
1
ˆˆˆ
()(())
TT
ii i
 xxHWHHW
y
hx (E.6.17)
Iftheiterationisconverged,wecanobtainthefinalestimatedparametersas:
ˆˆ
lim i
i
xx
(E.6.18)
TheiteratedLSEisoftencalledasGaussNewtonmethod.Notethatsuchtheiterationsarenotalways
convergedbythesimpleGaussNewtonmethodespeciallyforillconditionedmeasurementequations
havinglargenonlinearity.Inthesecases,weshouldemployanotherstrategyforsuchnonlinearLSE.
ThemostpopularwayforthenonlinearLSEisLM(LevenbergMarquardt)method[69].
(3) Estimationofreceiverpositionandclockbias
ForʺSingleʺmodeasʺPositioningModeʺ,thefollowingsinglepointpositioningprocedureisapplied
toobtainthefinalsolutionbyepochbyepochbasis.Foranepochtime,theunknownparameters
vectorxisdefinedas:
RTKLIBver.2.4.2Manual
157
(, )
TT
rr
cdtxr (E.6.19)
Thepseudorangemeasurementvectorycanbegivenas:
123
( , , ,..., )
mT
rr r r
PPP Py(E.6.20)
where
s
r
Pisthepseudorangemeasurement.IftheprocessingoptionʺIonosphereCorrectionʺ setto
ʺIonoFreeLCʺ,theionospherefreeLC(linearcombination)pseudorangedefinedinAppendixE.5(7)
isused.Inothercases,justthe1
L
pseudorangeisused.
FigureE.61SatelliteGeometryforSinglePointPositioning
Themeasurementequationanditspartialderivativematrixforthesinglepointpositioningareformed
as:
1111 1
22222
33333
1
1
() 1
1
T
rr rr r
T
rr rr r
sT
rr rr r
mmmmmT
rr rr r
cdt cdT I T
cdt cdT I T
cdt cdT I T
cdt cdT I T

 


 



 



 

e
e
hx H e
e

(F.6.21)
wherethegeometricrange
s
r
andLOSvector
s
r
earegivenbyE.3(4)andE.3(5)withthesatelliteand
receiverpositions.Thesatellitepositions
s
randtheclockbiases
s
dT arealsoderivedfromtheGNSS
satelliteephemeridesandclocksdescribedinE.4accordingtotheprocessingoptionʺSatellite
Ephemeris/Clockʺ.
1
s
2
s3
s
m
s
r
RTKLIBver.2.4.2Manual
158
Tosolvethemeasurementequationtoobtainthefinalestimatedreceiverpositionandthereceiver
clockbias,RTKLIBemploystheiteratedweightedLSEas:
1
1
ˆˆˆ
()(())
TT
ii i
 xxHWHHW
y
hx (E.6.22)
Fortheinitialparametervector0
xfortheiteratedweightedLSE,justall0areusedforthefirstepoch
ofthesinglepointpositioning.Onceasolutionobtained,thepositionisusedforthenextepochinitial
receiverposition.FortheweightmatrixW,RTKLIBusesthefollowingformulas
22 2
12
( , ,..., )
m
diag
 
 
W(E.6.23)
222 2222
/sin
ss
r r eph ion trop bias
FR a b El


 
  (E.6.24)
where:
s
F
 :satellitesystemerrorfactor
 (1:GPS,Galileo,QZSSandBeiDou,1.5:GLONASS,3.0:SBAS)
r
R
 :code/carrierphaseerrorratio
a
,b
:carrierphaseerrorfactoraandb(m)
eph
:standarddeviationofephemerisandclockerror(m)
ion
:standarddeviationofionospherecorrectionmodelerror(m)
trop
:standarddeviationoftropospherecorrectionmodelerror(m)
bias
:standarddeviationofcodebiaserror(m)
Forthestandarddeviationofephemerisandclockerror,URA(userrangeaccuracy)orsimilar
indicatorsareusedinRTKLIB.Byseveraliterations,thesolutionisconvergedinthenormalcaseand
theestimatedreceiverpositionˆr
randthereceiverclockbiasˆr
dt areobtained.
ˆ
ˆˆˆ
lim ( , )
TT
ir r
icdt

xxr (E.6.25)
Theestimatedreceiverclockbiasˆr
dt isnotexplicitlyoutputtothesolutionfile.Instead,itis
incorporatedinthesolutiontimetag.Thatmeansthesolutiontimetagindicatesnotthereceiver
timetagbutthetruesignalreceptiontimemeasuredinGPST.
(4) Estimationofreceivervelocityandclockdrift
IfDopplerfrequencymeasurementsofGNSSsignalsaregiven,receivervelocitiesandclockdriftscan
beestimatedthefollowingprocedure.Foranepochtime,theunknownparametersvectorxforthe
RTKLIBver.2.4.2Manual
159
velocityestimationisdefinedas:
(, )
TT
rr
cdtxv (E.6.26)
wherer
vandr
dt
arethereceivervelocityinECEF(m/s)andthereceiverclockdrift(s/s),respectively.
Therangeratemeasurementvectorycanbegivenas:
123
,,, ,
(,,,...,)
mT
iri iri iri iri
DDD D
--- -
   y(E.6.27)
where,
s
ri
Disthei
L
Dopplerfrequencymeasurementofthesatellite
s
.RTKLIBalwaysuses1
L
Dopplerfrequencymeasurements.Thesemeasurementequationsanditspartialderivativematrixare
formedas:
111
222
333
1
1
() 1
1
T
rr r
T
rr r
T
rr r
mmmT
rr r
rcdtcdT
rcdtcdT
rcdtcdT
rcdtcdT

 


 



 



 

e
e
hx H e
e

(F.6.28)
Therangerage
s
r
rbetweenthereceiverandthesatelliteintheseequationsisderivedfrom:

,,
()
ssTss s s s s
e
rr r yr xrxr yr
r t vx yv vy xv
c
ev v (F.6.29)
where(,,)
s
sssT
x
yz
vvvvand,,,
(,,)
T
rxryrzr
vvvv.ByusingtheiteratedLSEsimilartotheestimationof
thereceiverposition,wecanobtainthereceivervelocityandclockdriftas:
ˆ
ˆˆ
lim ( , )
TT
ir r
icdt

xxv
(E.6.30)
wheretheweightmatrixWissetto
I
(nonweightedLSE).
(5) SolutionvalidationandRAIMFDE
Theestimatedreceiverpositionsdescribedin(3)mightincludeinvalidsolutionsduetounmodeled
measurementerrors.Totestwhetherthevalidsolutionornotandrejecttheinvalidsolutions,RTKLIB
appliesthefollowingvalidationafterobtainingthereceiverpositionestimated.Ifthevalidationfailed,
RTKLIBver.2.4.2Manual
160
thesolutionisrejectedwithwarningmessages.
ˆ
ˆ
()
s
ssss
rr r rr
ss
PcdtcdTIT
v
 
(E.6.31)
123
( , , ,..., )T
m
vvv vv(E.6.32)
2(1)
1
Tmn
mn


vv (E.6.33)
thres
GDOP GDOP(E.6.34)
wherenisthenumberofestimatedparametersandmisthenumberofmeasurements.2()n
is
chisquaredistributionofthedegreeoffreedomnand0.001
(0.1%).GDOP isgeometricDOP
(dilutionofprecision).thres
GDOP canbesetastheprocessingoptionʺRejectThresholdofGDOPʺ.
Inadditiontothesolutionvalidationdescribedabove,RAIM(receiverautonomousintegrity
monitoring)FDE(faultdetectionandexclusion)functionisaddedinver.2.4.2.Iftheprocessingoption
ʺRAIMFDEʺisenabledandthechisquaredtestby(E.6.33)isfailed,RTKLIBretriestheestimationby
excludingonebyoneofthevisiblesatellites.Afterallofretries,theestimatedreceiverpositionwith
theminimumnormalizedsquaredresidualsT
vv
isselectedasthefinalsolution.Insuchscheme,an
invalidmeasurement,whichmightbeduetosatellitemalfunction,receiverfaultorlargemultipath,is
excludedasanoutlier.Notethatthisfeaturedoesnoteffectivewithtwoormoreinvalidmeasurements.
Italsoneedstworedundantvisiblesatellites,thatmeansatleast6visiblesatellitesarenecessaryto
obtainthefinalsolution.
RTKLIBver.2.4.2Manual
161
E.7 Kinematic, Static and Moving-Baseline
RTKLIBemploysEKF(extendedKalmanfilter)inordertoobtainthefinalsolutionsinDGPS/DGNSS,Static,
KinematicandMovingbaselinemodesinconjunctionwiththeGNSSsignalmeasurementmodelsin
AppendixE.3andthetroposphereandionospheremodelsinAppendixE.5.
(1) EKFformulation[65]
ByusingEKF,astatevectorxforunknownmodelparametersanditscovariancematrixPcanbe
estimatedwithameasurementvectork
yatanepochk
tby:
ˆˆˆ
( ) ( ) ( ( ( )))
kkkkk
  xxKyhx
(E.7.1)
ˆ
() ( ( ())) ()
kkkk
  PIKHxP
(E.7.2)
1
ˆˆˆ
() ( ())( ( ()) () ( ()) )
T
kk k k k k k
   ΚPHx Hx PHx R(E.7.3)
whereˆk
xandk
Paretheestimatedstatevectoranditscovariancematrixattheepochtimek
t.()
and()indicatesbeforeandaftermeasurementupdateofEKF.)(xh ,)(xH andk
Rarethe
measurementsmodelvector,thematrixofpartialderivativesandthecovariancematrixof
measurementerrors,respectively.Assumingthesystemmodellinear,thetimeupdateofthestate
vectoranditscovariancematrixforEKFisexpressedas:
1
1
ˆˆ
() ()
k
kkk
 xFx(E.7.4)
111
1() ()
kkTk
kkkkk

  PFPFQ
(E.7.5)
where1k
k
Fand1k
k
Qarethetransitionmatrixandthecovariancematrixofthesystemnoisefrom
epochtimek
tto1k
t.
(2) DD(doubledifference)measurementmodelforshortbaseline
Forcarrierbasedrelativepositioningwithashortlength(<10km)baselinebetweentherover
r
and
thebasestationb,thefollowingDDmeasurementequationsaregenerallyusedforthei
L
phaserangeandpseudorange.Intheseequations,thesatelliteandreceiverclockbiases,andthe
ionosphericandtroposphericeffectsandotherminorcorrectiontermsarealmosteliminatedbyusing
DDtechnique.
,,
,,
,
()
jk jk j ks
irbiri
rb i rb rb i
jk jk P
rb i rb
BB d
P
- 

   

(E.7.6)
RTKLIBver.2.4.2Manual
162
FigureE.71DD(doubledifference)Formulation
wherethe,
s
ri
d
isthecarrierphasecorrectionterms,whichcanbeneglectedintheshortbaselinecase
exceptforthereceiverPCVtermswithdifferentantennas.Toobtainthegeometricrange
s
r
inthe
equation,thebasestationpositionb
risfixedtopredeterminedvaluesexceptforthemovingbaseline
case.
NotethattheSDbetweenreceivershadbettertobemadebetweenthemeasurementswiththesame
epochtime.However,thereceiversarenotperfectlysynchronizedduetothedifferentreceiverclock
biases.Insometypicalcases,thesamplingintervaloftheroverisdifferentfromthebasestationlike10
Hzand1Hz.TocontroltheSD,RTKLIBtakesasimplecriteriontoselectameasurementpair.RTKLIB
simplyselectsthelastmeasurementbeforeorequaltotheepochtimeoftherovermeasurement.The
epochtimedifferencebetweentheroverandthebasestationissometimescalledasʺAgeof
Differentialʺ.Asthetimedifferencegrows,theaccuracyofthesolutionisgraduallydegradeddueto
thesatelliteclockdriftandthevariationofionospheredelay.Tocompensateonlythesatelliteclock
drift,RTKLIBcorrectstheSDmeasurementbyusingbroadcastSVclockparameters.Themaximum
ʺAgeofDifferentialʺissetastheprocessingoptionʺMAXAgeofDiffʺ.
AstothesatellitesideSDgeneration,RTKLIBselectsareferencesatellitewiththemaximumelevation
angleontheepochbyepochbasis.NotethatnosatellitesideSDisgeneratedbetweensatellitesof
differentnavigationsystemslikebetweenGPSandGLONASS.Itisbecausethatthereceiverusually
hasdifferentgroupdelaysforthesignalofdifferentnavigationsystemeveniftheyhavethesame
carrierfrequency.ThegroupdelaydifferenceinreceiversiscalledasareceiverISB(intersystembias).
AssumingtheuseoftriplefrequencyGPS/GNSSreceiversforbothoftheroverandthebasestation,
theunknownstatevectorxtobeestimatedcanbedefinedas:
ReceiverrReceiverb
SatellitejSatellitek
j
r
k
r
j
b
k
b
Baseline
RTKLIBver.2.4.2Manual
163
125
(, , , , )
TTT T TT
rr
xrvBBB (E.7.7)
where12
,, ,
( , ,..., )
mT
irbirbirbi
BB BBisi
LSD(singledifference)carrierphasebiases(cycle).AstheRTKLIB
implementation,itinternallyusesSDcarrierphasebiasesinsteadofDDtoavoidbothersome
handoverhandlingofreferencesatellites.TheSDbiasesalsoassisttoresolveintegerambiguitiesin
GLONASSFDMAsignals.
Themeasurementvector
y
isalsodefinedwithDDphaserangeandpseudorangemeasurementsas:
1, 2, 5, 1 2 5
(, , ,,,)
TTTTTTT
yΦΦ Φ PP P (E.7.8)
where:
12 13 14 1
,,, ,
12 13 14 1
,,, ,
( , , ,..., )
( , , ,..., )
mT
i rb i rb i rb i rb i
mT
i rbi rbi rbi rbi
PPP P
 
Φ
P
(3) MeasurementupdateofEKFforshortbaseline
Byusingtheequation(E.7.6),themeasurementmodelvector)(xh ,thematrixofpartialderivatives
)(xH andthecovariancematrixofmeasurementerrorsRcanbewrittenas:
,1 ,2 ,5 ,1 ,2 ,5
() ( , , , , , )
TTTTTTT
PP P
 
hx h h h h h h (E.7.9)
1
2
5
ˆ
()
()
-
-
-











xx
D
E0 D 0 0
D
E0 0 D 0
D
E0 0 0 D
hx
Hx
D
E0 0 0 0
x
D
E0 0 0 0
D
E0 0 0 0
(E.7.10)
,1
,2
,5
,1
,2
,5
T
T
T
T
P
T
P
T
P












DR D
DR D
DR D
R
DR D
DR D
DR D
 (E.7.11)
where:
12 1 2 12
13 1 3 13
,,
11 1
()
()
,
()
rb i rb rb rb
rb i rb rb rb
iPi
mm m
rb i rb rb rb
BB
BB
BB
- 
- 
- 











hh

RTKLIBver.2.4.2Manual
164
110 0
10 1 0
10 0 1







D
 
:SD(singledifferencing)matrix
Tm
rrr ),...,,( 21 eeeE
12 22 2
,,,,
12 22 2
,,,,
diag(2 ,2 ,...,2 )
diag(2 ,2 ,...,2 )
m
iiii
m
Pi Pi Pi Pi

 
 
R
R
,
s
i
:standarddeviationofi
Lphaserangemeasurementerror(m)
,
s
Pi
:standarddeviationofi
Lpseudorangemeasurementerror(m)
BysolvingtheEKFformulas(E.7.1)withtheseequations,theestimatedroverantennaposition,
velocityandfloatSDcarrierphasebiasestheepochtimek
tareobtained.
(4) TimeupdateofEKF
Forthekinematicpositioningmodewithreceiverdynamics(PositioningMode=KinematicandREC
Dynamics=ON)inRTKLIB,thetimeupdateofEKF(E.7.2)isexpressedwith:
33 33
133
(3 3) (3 3)
r
k
k
mm

 





II
FI
I
,
33
1
(3 3) (3 3)
k
kv
mm
 





0
QQ
0
 (E.7.12)
where:
222
diag( , , )
T
v r ve r vn r vu r r

QE E
and kkr tt 1
isGPS/GNSSreceiversamplinginterval(s),(,, )
ve vn vu

arethestandarddeviations
ofeast,northandupcomponentsoftherovervelocitysystemnoises(m/s/ s).
Forthepurekinematicmodewithoutreceiverdynamics(PositioningMode=KinematicandREC
Dynamics=OFF),equations(E.7.9)isbereplacedby:
33
133
(3 3) (3 3)
k
k
mm
 





I
FI
I
,
33
133
(3 3) (3 3)
k
k
mm
 





Q0
0
 (E.7.13)
Toavoidnumericalinstabilitybyaddinginfiniteprocessnoisestothevariancesofthereceiverposition,
thereceiverpositionstatesareinsteadresettotheinitialguessvaluesateveryepochsandadequately
RTKLIBver.2.4.2Manual
165
largeprocessnoises(104m2)areaddedtothevarianceinRTKLIB.Theinitialpositionisderivedfrom
thesinglepointpositioningprocesswhichisusedtoavoidtheiterationfornonlinearsignal
measurementmodel.
Inthestaticmode(PositioningMode=Static),equations(F.7.10)issimplyreplacedby:
33
133
(3 3) (3 3)
k
k
mm
 





I
FI
I
,
33
133
(3 3) (3 3)
k
k
mm
 





0
Q0
0
 (E.7.14)
Intheinstantaneousambiguityresolutionmode(IntegerAmbiguityResolution=Instantaneous),the
timeupdateoftheSDcarrierphasebiasesi
Barehandledinalittledifferentwayfromdescribed
above.Inthismode,valuesofthecarrierphasebiasstatesarenotsucceededtothenextepochbythe
EKFtimeupdate.Thebiasesareresettotheinitialguessvaluesateveryepochsandadequatelylarge
processnoises(104m2)areaddedtothevariance.Ifacycleslipisdetectedinthemeasurementdata,
thestateofcorrespondingSDcarrierphasebiasisalsoresettoinitialvalue.RTKLIBdetectsthe
cycleslipsbyLLI(lossoflockindicator)intheinputmeasurementdataandgeometryfreeLC(linear
combination)phasejumpsifthedualfrequencymeasurementsareavailable.Thecycleslipthreshold
canbechangedbytheprocessingoptionʺSlipThresʺ.
(5) Integerambiguityresolution
OncetheestimatedstatesobtainedintheEKFmeasurementupdate,thefloatcarrierphaseambiguities
canberesolvedintointegervaluesinordertoimproveaccuracyandconvergencetime(Integer
AmbiguityRes=Continuous,InstantaneousorFixandHold).Atfirst,theestimatedstatesandtheir
covariancematrixaretransformedtoDDformsby:
ˆ
ˆˆˆˆ
'()(,,)
TTTT
kk rr
xGx rvN(E.7.15)
'() RNR
T
kk RN N




QQ
PGPG QQ
(E.7.16)

where:
66







I
D
GD
D
:SDtoDDtransformationmatrix
RTKLIBver.2.4.2Manual
166
Inthistransformation,theSDcarrierphasebiasesaretransferredtotheDDcarrierphaseformin
ordertoeliminatereceiverinitialphasetermstoobtainintegerambiguitiesˆ
Nandtheircovariance
N
Q.Intheseformulas,themostappropriateintegervectorN
fortheintegerambiguitiesisobtained
bysolvinganILS(integerleastsquare)problemexpressedas:
1
ˆˆ
argmin(( ) ( ))
TN
 
NZ
NNNQNN
(E.7.17)
TosolvetheILSproblem,awellknownefficientsearchstrategyLAMBDA[66]anditsextension
MLAMBDA[67]areemployedinRTKLIB.LAMBDAandMLAMBDAofferthecombinationofalinear
transformationtoshrinktheintegervectorsearchspaceandaskillfultreesearchprocedureinthe
transformedspace.Theintegervectorsolutionbytheseproceduresisvalidatedbythefollowing
simpleʺRatioTestʺ.IntheʺRatioTestʺ,theratiofactor
R
,definedastheratiooftheweightedsumof
thesquaredresidualsbythesecondbestsolution2
N
toonebythebestN
,isusedtocheckthe
reliabilityofthesolution.Thevalidationthresholdthres
RcanbesetbytheprocessingoptionʺMin
RatiotoFixAmbiguityʺ.CurrentversionRTKLIBjustonlysupportsafixedthresholdvalue.
1
22
1
ˆˆ
()()
ˆˆ
()()
TNthres
TN
RR



NNQ NN
NNQ NN

 (E.7.18)
Afterthevalidation,theʺFIXEDʺ solutionoftheroverantennapositionandvelocityr
r
andr
v
are
obtainedbysolvingthefollowingequation.Ifthevalidationfailed,RTKLIBoutputstheʺFLOATʺ
solutionˆr
randˆr
vinstead.
1
ˆˆ
()
ˆ
rrRN N
rr


 



rrQQ NN
vv
(E.7.19)
IncasetheprocessingoptionissetastheʺFixandHoldʺ mode(IntegerAmbiguityResolution=Fix
andHold)andthefixedsolutionproperlyvalidatedbytheprevioustest,theDDcarrierphasebias
parametersaretightlyconstrainttothefixedintegervalues.Forthesepurpose,RTKLIBinputsthe
followingʺpseudoʺmeasurementstoEKFandupdatesEKFby(F.7.1).
y
N
(E.7.20)
()hx Gx
(E.7.21)
()Hx G
(E.7.22)
222
(,,,...)
ccc
diag

R(E.7.23)
RTKLIBver.2.4.2Manual
167
where:





0D
G0 D
0D
:SDtoDDtransformationmatrix
c
:constrainttofixedintegerambiguities(=0.001cycle).
TheʺFixandHoldʺ modewasfirstlyintroducedinRTKLIBver.2.4.0inordertoimprovethefixing
ratioespeciallyinthekinematicmodetotrackingmovingreceivers.
(6) LongbaselineDDmeasurementmodel
Forthelongbaselineprocessingbetweentherover
r
andthebasestationb,thefollowingDD
measurementequationscanbeformedsimilartotheshortbaselineDDmodel.
,, ,,,
,,
()
jk jk jk jk j k s
rb i rb rb k rb i rb i rb i r i
jk jk jk jk
rb i rb rb i rb P
IT BB d
PIT
 -

 
(E.7.24)
wheretheterms,
s
ri
I
and
s
r
Tasthei
Lionospheredelay(m)andtropospheredelay(m)areaddedto
theshortbaselineDDmodel.Preciseephemeridesforsatellitepositionsshouldbeusedtomitigatethe
broadcastephemeriserrorforthebaselineover100km.Inthecarrierphasecorrectionterms,
s
ri
d
,the
earthtideseffectsshouldbetakenaccountforthelongerbaselinethan500km.Toeliminatethe
ionosphereterms,anionospherefreeLC(linearcombination)issometimesformed.However,RTKLIB
doesnotusesuchexplicitLCbutdoesdirectlyestimatetheionospheretermswithdualortriple
frequencymeasurementsbyEKFforbaselineprocessing.
Theunknownstatevectorxforthelongbaselinecasecanalsobesettledas:
,, ,, 125
(, ,, , ,, , ,, , , )
TT T T T TT
rr rNrErbNbEb
ZG G ZG Gxrv IBBB (E.7.25)
wherer
Z
andb
Z
areZTD(zenithtotaldelay)attheroverandbasestationsites,,Nr
G,,Er
G,,Nb
G
and,Eb
Garethenorthandeastcomponentsoftroposphericgradients.12
(,,...,)
mT
rb rb rb
II IIistheSD
verticalionosphericdelayin1
L
frequency(m)aswell.
Themeasurementmodelvector)(xh andthematrixofpartialderivatives)(xH canbewrittenas:
,1 ,2 ,5 ,1 ,2 ,5
() ( , , , , , )
TTTTTTT
PP P
 
hx h h h h h h (E.7.26)
RTKLIBver.2.4.2Manual
168
12 12 1 1 2 2 1 2 12
,, .
13 13 1 1 3 3 1 3 13
,, .
,
11 11 1 1
,, .
()()
()()
()()
rb rb k I rb I rb i rb i rb i rb i
rb rb k I rb I rb i rb i rb i rb i
i
mm mm m m
rb rb k I rb I rb i rb i rb i rb i
TmImI BBd
TmImI BBd
TmImIBBd
 - 
 - 
 - 

  

  




  

h(E.7.27)
12 12 1 1 2 2
13 13 1 1 3 3
,
11 11
()
()
()
rb rb k I rb I rb
rb rb k I rb I rb
Pi
mm mm
rb rb k I rb I rb
TmImI
TmImI
TmImI




 

 




 

h(E.7.28)
,,11
,,2 2
,,5 5
,,1
,,2
,,5
()
Tr Tb I
Tr Tb I
Tr Tb I
Tr Tb I
Tr Tb I
Tr Tb I
-
-
-













DE 0 DM DM DM D
DE 0 DM DM DM D
D
E 0 DM DM DM D
Hx DE 0 DM DM DM
DE 0 DM DM DM
DE 0 DM DM DM
  (E.7.29)
where:
22
1
/
kk
--
1 1 11 1 1 11 1 1
,, ,
2 2 22 2 2 22 2 2
,, ,
,
,, ,
() ()cot cos ()cot sin
() ()cot cos ()cot sin
() ()cot cos ()cot sin
WGrr Wrr r r Wrr r r
WG r r W r r r r W r r r r
Tr
m m mm m mmm m m
WG r r W r r r r W r r r r
m El m El El Az m El El Az
m El m El El Az m El El Az
m El m El El Az m El El Az
M 

12
( , ,..., )
mT
IIII
mm mM
ThetimeupdateofEKFforthelongbaselinecaseisexpressedas:
33 33
33
166
(3 3) (3 3)
r
k
k
mm
mm

 








II
I
I
F
I
I
(E.7.30)
33
1
(3 3) (3 3)
v
kT
k
I
mm
 








0
Q
Q
Q
Q
0
(E.7.31)
whereT
Qand
I
Qaretheprocessnoisecovariancematrixesoftheionosphereandthetroposphere
terms.Intheequation,theZTDandgradientparametersfortheroverandthebasestationandSD
verticalionosphericdelaysforeachsatellitesaresimplymodeledasrandomwalk.Inadditionto
estimateionosphereandtroposphereterms,aʺPartialfixingʺ featurewasaddedforlongbaseline
processinginversion2.4.1.Itmeansthatonlythesomepartialportionofallambiguitiesareresolved
intointegervalues.Otherambiguitiesexceptforthefixedarestillpendingasfloatvalues.To
RTKLIBver.2.4.2Manual
169
determinewhetheraambiguityfixedornotfixed,asimplecriterionbyusingthesatelliteelevation
angleisimplementedinRTKLIB.Ifasatelliteisunderathresholdoftheelevation,theambiguitiesof
thesatellitearenotfixed.Onlytheambiguitiesofsatellitesoverthethresholdareresolvedtointeger.
TheelevationthresholdfortheambiguityresolutioncanbesetastheprocessingoptionʺMinElevation
toFixAmbʺaswellasʺMinElevationtoHoldAmbʺtocontroltheʺFixandHoldʺfeature.
(7) Movingbaselinemodel
Themovingbaselinemodeisusuallyusedifbothoftheroverandthebasestationreceiversare
movingandtheonlyrelativepositionoftheroverwithrespecttothebasestationisrequired.The
moving‐baselinemodecanbeutilizedtodeterminethepreciseattitudebymountingtwoantennasto
amovingplatform.InRTKLIB,themovingbaselinemodeisappliediftheprocessingoption
ʺPositioningModeʺissettoʺMovingBaseʺ.
Inthemovingbaselinemode,thebasestationpositionisnotfixedbutisestimatedbythesinglepoint
positioningprocessonepochbyepochbasis.Oncethebasestationpositionisobtained,thebase
stationpositionfixedtotheestimatepositionandtheroverpositionisestimatedbyshortbaseline
kinematicmodedescribedin(1)(5).Inthiscaseonlytherelativepositionismeaningful,thatmeansthe
absolutepositionsolutionsofroverandbasestationhaveonlytheaccuracyassameasthesolutionby
thepointpointingmode.
Inadditiontothesimpleimplementationforthemovingbaselinemode,RTKLIBcorrectsthetime
differencebetweentheroverandthebasestation.Theroverreceiverandthebasestationreceiverare
notsynchronized.Thereceiverclockdifferenceusuallyreaches2msasmaximum.The
unsynchronizedclocksbringtheaccuracydegradationincaseofveryfastmovingplatform.Tocorrect
theclockdifference,thebasestationpositionb
riscorrectedbeforethebaselineprocessingby:
() () ()( )
br bb bb r b
ttttt rrv (E.7.32)
wherer
tandb
tarethesignalreceptiontimeattheroverandthebasestationestimatedbythesingle
pointpositioningprocess.()
bb
tvisalsothevelocityofthebasestationestimatedwithDoppler
measurements.Fortheattitudedeterminationbythemovingbaselinemode,thebaselinelength
constraintcanbeappliediftheprocessingoptionʺBaselineLengthConstraintʺenabled.Theconstraint
appliesthefollowingpseudomeasurementintheEKFmeasurementupdate.

baseline
ry(E.7.33)

() () ()
rr br
x
tthrr
(E.7.34)
RTKLIBver.2.4.2Manual
170
(() ())
() ()
T
rr br
rr br
tt
tt




rr
Hrr
(E.7.35)
2
r
R(E.7.36)
wherebaseline
risthegivenpredeterminedbaselinelength(m)andr
istheconstraintofthebaseline
length(m).Tocopewiththenonlinearityincaseofaveryshortlengthbaseline,iterativemeasurement
updateofEKFissupportedbysettingtheprocessingoptionʺNumberofFilterIterationʺtomorethan
1.
RTKLIBver.2.4.2Manual
171
E.8 PPP (Precise Point Positioning)
InPPPmodes,RTKLIBalsouseEKFestimationprocesssimilartotheschemesdescribedinAppendixE.7.
Thedifferencefromthebaselineprocessing,PPPemploysZD(zerodifference)measurementequationslike
thesinglepointpositioningmodelinsteadofDD.
(1) ZDmeasurementmodelsforPPP
TheionospherefreeLCphaserange,
s
rLC
andpseudorange,
s
rLC
Pmeasurementsforthesatellite
s
areexpressedbyusing(E.3.4)and(E.3.2)as:
,,,
,
(() ())
(() ())
ss ssss s
rLC r r r r rLC rLC
ss sss
rLC r r r r P
cdt t dT t T B d
PcdttdTtT
 

  
  
(E.8.1)
wheretheionospheretermsin(E.3.4)and(E.3.2)areeliminatedbyformingtheionospherefreeLC
describedinE.5(7).,
s
rLC
Bisthecarrierphasebiasinmand,
s
rLC
d
istheionospherefreeLCofi
L
andj
L
carrierphasecorrectiontermsexpressedas:





,,,,,, ,, ,,,,
,,,,
() ()
() ()
T
T
ssssss
r LC i r pco i j r pco i r enu i pco i j pco j r i r pcv i j r pcv j
ss Ts
pcv i pcv j r disp r enu i i j j pw
dCC CC CdElCdEl
dd CC
 --
 
 
ddeEdde
de
(E.8.2)
(2) Receiverantennaphasecentermodel
FigureE.81showsthereceiverantennaPCO(phasecenteroffset)andPCV(phasecentervariation).
TheantennaPCOisdefinedastherelativepositionofthereceiverantennaphasecenterwithrespect
totheARP(antennareferencepoint).ThePCVisdefinedastheexcessphasedelaybytheantenna
dependingontheelevationandazimuthangle.ThePCOandPCVvaluesforvariousantennatypes
havebeenmeasuredbytheappropriateantennacalibrationprocessandprovidedbysomestandard
formats.CurrentversionRTKLIBsupportstheNGSPCVandtheANTEXformatfortheantenna
modelincludingPCOandPCVdata.ThePCOvalueisusuallyprovideinthelocalcoordinatesatthe
receiverposition.Sothei
L
PCOofthereceiverantennainECEF,,rpcoi
disexpressedas:
,, ,,,
T
r pco i r r pco i enu
dEd (E.8.3)
wherer
E
istheECEFtolocalcoordinatesrotationmatrixgivenby(E.2.10)and,,,rpcoienu
disi
L
RTKLIBver.2.4.2Manual
172
receiverantennaPCOexpressedinthelocalcoordinates.Thei
L
receiverantennaPCV,,
()
rpcvi
dEl
at
theelevationangleEl isderivedbythelinearinterpolationofgivenPCVvaluesdependingonthe
elevationanglesas:
,, 1 ,, 1
,, 1
()()( )()
() irpcvi i i rpcvi i
rpcvi ii
El El d El El El d El
dEl El El

  (E.8.4)
where1ii
E
lElEl
 .
FigureF.81ReceiverAntennaPhaseCenter
(3) Satelliteantennaphasecentermodel
FigureF.81showstheGNSSsatelliteantennaPCOandPCV,whicharealsoprovidedastheANTEX
filetypicallybyIGS(internationalGNSSservice)likethereceiverantenna.RTKLIBalsocanimport
suchtheantennamodelforsatellites.ThesatelliteantennaPCOisusuallygiveninsatellitefixed
coordinateswithrespecttothesatelliteCoM(centerofmass)showninFigureF.83.Sothesatellite
antennaPCOinthesatellitefixedcoordinatesshouldbetransferredtoECEFcoordinates.ThePCVis
alsoexpressedwithrespecttothenadirangle.
Antenna
Phase
Center
Antenna
Reference
Point (ARP)
z(U)
x(E)
y(N)
AntennaPhase
CenterOffset
pcor,
d
pcvr
d,
RTKLIBver.2.4.2Manual
173
FigureF.82SatelliteAntennaPhaseCenter
FigureF.8.3SatelliteBodyFixedCoordinateSystem
Assumingthenominalsatelliteattitudecontrolmode,thecoordinatestransformationmatrix
s
E
from
thesatellitebodyfixedcoordinatestoECEFcoordinatesisgivenas:
s
s
z
s
 r
e
r(E.8.5)
s
sun
s
s
sun
rr
e
rr
(E.8.6)
s
szs
ys
zs
ee
e
ee
(E.8.7)
s
ss
x
yz
eee
(E.8.8)
(,,)
s
ss
s
xyz
E
eee (E.8.9)
where
s
un
risthesunpositioninECEFcoordinates.Thenadirangle
canalsobederivedas:
z
x
y
Sun
Satellite
AntennaPhase
Center
Mass Center of
Satellite
AntennaPhase
CenterOffset
Nadir Angle
pcv
s
d
pco
s
d
Earth
RTKLIBver.2.4.2Manual
174
arccos
s
Ts
r
s
er
r(E.8.10)
(4) Sitedisplacementbyearthtides
Thepositionofareceiverfixedtothegroundisvariedbytheearthtideeffects.Thetideseffectsare
usuallyneglectedforthebaselineanalysisbecausetheDDcancancelthealmostalloftheeffects.
However,inthePPPmode,theeffectshouldbeincorporatedinthemodelbecausetheamplitude
sometimesreachesseveral10cmastheverticalcomponent.FigureE.82showstheexampleofthesite
displacementeffectbyearthtides.
FigureE.82DisplacementbyEarthTides
IncurrentversionRTKLIB,solidearthtides,OTL(oceantideloading)andpoletidesaremodeledand
considerediftheprocessingoptionʺEarthTideCorrectionʺtoʺSolidʺorʺSolid/OTLʺ.Theearthtide
modelsisbasedonIERSConventions1996[73].Bysettingthecompileroption‐DIERS_MODELand
rebuildingAPs,RTKLIBusestheIERSConventions2010[74]solidearthtidesmodelbylinkingthe
FORTRANsubroutineDEHANTTIDEINELprovidedasIERS.FortheOTLmodel,OTLcoefficientsas
providedastheBLQformat[63]shouldbeinputasspecifiedastheprocessingoptionʺOTLBLQFileʺ.
(5) Phasewindupcorrection
Thephasewindupeffectisthephaseadvanceanddelaybytherelativerotationbetweenthereceiver
andsatelliteantennas.Thephasewindupismodeledas:
RTKLIBver.2.4.2Manual
175
,,,
(,,)
TTTT
rrxryrz
Ee e e (E.8.11)
(,,)
s
sT sT sT T
xyz
Eeee (E.8.12)
()
s
ssss ss
x
uu x u y
  
D
eeee ee
(E.8.13)
,,,
()
ss s
rrxrrrx rry
  
D
eeee ee
(E.8.14)
( ( ))arccos / 2
s
ss r
pw r r sr
s
ign N

 
DD
eDD
DD (E.8.15)
whereNistheintegerambiguity,whichisdeterminedastoavoidingcyclejumps.
(6) EstimationofreceiverpositionbyPPP
ByusingEKF,theunknownstatevectorxforthePPPcaseissettledas:
,,
(,, ,, , , )
TT TT
rr rrNrErLC
cdt Z G Gxrv B (E.8.16)
wherer
Z
isZTD(zenithtotaldelay),,Nr
Gand,Er
Garethenorthandeastcomponentsof
troposphericgradients.12
,, ,
(,,...,)
mT
LC r LC r LC r LC
BB BBisionospherefreeLCofZD(zerodifferenced)
carrierphasebiases(m).
Themeasurementvector
y
isalsodefinedwithZDionospherefreeLCphaserangeandpseudorange
measurementswith(E.5.21)and(E.5.22)as:
,
(,)
TTT
LC LC
yΦP(E.8.17)
where:
123
,,, ,
123
,,, ,
( , , ,..., )
( , , ,..., )
mT
LC r LC r LC r LC r LC
mT
i r LC r LC r LC r LC
PPP P
 
Φ
P
Themeasurementmodelvector)(xh andthematrixofpartialderivatives)(xH canbewrittenas:
() ( , )
TTT
P
hx h h (E.8.18)
11111
,.
22222
,.
,.
()
()
()
rr rrLCrLC
rr rrLCrLC
mmmmm
rr rrLCrLC
cdt dT T B d
cdt dT T B d
cdt dT T B d













h(E.8.19)
RTKLIBver.2.4.2Manual
176
111
222
()
()
()
rr r
rr r
P
mmm
rr r
cdt dT T
cdt dT T
cdt dT T










h(E.8.20)
() T
T



D
E01DM I
Hx
D
E01DM 0
(E.8.21)
,
,
LC
P
LC




R
RR(E.8.22)
where:
1
1
1







1
1 1 11 1 1 11 1 1
,, ,
2 2 22 2 2 22 2 2
,, ,
,, ,
() ()cot cos ()cot sin
() ()cot cos ()cot sin
() ()cot cos ()cot sin
WGrr Wrr r r Wrr r r
WG r r W r r r r W r r r r
T
m m mm m mmm m m
WG r r W r r r r W r r r r
m El m El El Az m El El Az
m El m El El Az m El El Az
m El m El El Az m El El Az

M 
12 22 2
,,1,1,1
12 22 2
,,1,1,1
diag(3 ,3 ,...,3 )
diag(3 ,3 ,...,3 )
m
LC
m
PLC P P P

 
 
R
R
,1
s
:standarddeviationof1
Lphaserangemeasurementerror(m)
,1
s
P
:standarddeviationof1
Lpseudorangemeasurementerror(m)
ByusingtheEKFformulationandthesimilartimeupdateprocessesdescribedinE.7,theunknown
parametersincludingthereceiverpositionandvelocity,thereceiverclockbias,thetroposphere
parametersandtheionospherefreeLCcarrierphasebiasesareestimated.
Notethattoresolvetheintegerambiguityinthecarrierphasebiaseslikethebaselineprocessingcases,
theadditionalinformationforthesatellitesideFCB(fractionalcyclebias)isneeded.Theprocessis
sometimescalledasPPPAR(ambiguityresolution).CurrentversionRTKLIBonlysupportsthe
widelaneFCBandtheIRC(integerrecoveryclock)productsprovidedbyCNES.Theimplementationis
experimentalandunstable.ThePPPARfeatureisenabledincaseoftheprocessingoptionʺInteger
AmbiguityResolutionʺissettoʺPPPARʺonlyinthepostprocessingmode.
RTKLIBver.2.4.2Manual
177
Appendix F GNSS Signal Specifications
SystemFreq.
(MHz)Signal
Band
Width
(MHz)
I/Q
Min.
Power
(dBW)
Modulation
SpreadingCodeNavigationData
Notes
Primary
(chips)
Second
(chips)
Rate
(Mcps)Period ENC DataRate
(sps)
Rate
(bps) FEC
GPS[1][2][3]
1575.42
L1C/A2.046Q‐158.5BPSK(1)1,023‐1.0231ms‐NAV5050‐
L1P(Y)20.46I‐161.5BPSK(10)1week‐10.231week (Y)NAV5050‐
L1M???BOC(10,5)??5.115?Y????BlockIIRM‐
L1CD30.69I‐163BOC(1,1)10,230‐1.02310ms‐CNAV2100501/2BlockIII‐
L1CP30.69I‐158.25 TMBOC
(6,1,1/11)10,2301,8001.02318s  ‐‐‐BlockIII‐
1227.6
L2C/A2.046Q‐160.0BPSK(1)1,023‐1.0231ms‐(NAV)‐50‐50‐BlockIIRM‐
L2P(Y)20.46I164.5/
161.5BPSK(10)1week‐10.231week (Y)(NAV)‐50‐50‐
L2M???BOC(10,5)??5.115?Y????BlockIIRM‐
L2C2.046Q/I 160.0BPSK(1)10,230‐0.511520ms‐(CNAV)‐50‐251/2timemux,
BlockIIRM‐
767,250‐0.51151.5s  ‐‐‐
1176.45
L5I20.46I157.9/
157.0BPSK(10)10,2301010.2310ms‐CNAV100501/2BlockIIF‐
L5Q20.46Q157.9/
157.0BPSK(10)10,2302010.2320ms ‐ ‐‐‐BlockIIF‐
GLONASS
[4]
1602.00+
0.5625K
L1C/A 1.022I‐161.0BPSK511‐0.5111ms‐NAV5050‐
L1P10.22Q?BPSK5,110,000 ‐ 5.111s(Y)NAV5050‐
1246.00+
0.4375K
L2C/A 1.022I‐167.0BPSK511‐0.5111ms‐NAV5050‐
L2P 10.22Q?BPSK5,110,000 ‐ 5.111s(Y)NAV5050‐
1202.025L3I20.46I?BPSK(10)10,230510.235ms‐NAV100501/2
GLONASSK‐
L3Q20.46Q?BPSK(10)10,2301010.2310ms ‐ ‐‐‐
Galileo[5]1575.42
E1A35.805Q?BOC(15,2.5)??2.5575?YG/NAV???PRS
E1B24.552I
157.0
CBOC(6,1,1/11) 4,092‐1.0234ms‐I/NAV2501251/2OS,SoL,CS
E1C24.552QCBOC(6,1,1/11) 4,092251.023100ms ‐ ‐ ‐ ‐ ‐
RTKLIBver.2.4.2Manual
178
SystemFreq.
(MHz)Signal
Band
Width
(MHz)
I/Q
Min.
Power
(dBW)
Modulation
SpreadingCodeNavigationData
Notes
Primary
(chips)
Second
(chips)
Rate
(Mcps)Period ENC DataRate
(sps)
Rate
(bps) FEC
Galileo
1191.795E5a+
E5b51.15I‐155.08PSK(10)10,23010010.23100ms ‐ ‐ ‐ ‐ ‐ AltBOC
1176.45E5aI20.46I
155.0BPSK(10)10,2302010.2320ms‐F/NAV50251/2OS,CS
E5aQ20.46QBPSK(10)10,23010010.23100ms ‐ ‐ ‐ ‐ ‐
1207.14E5bI20.46I
155.0BPSK(10)10,230410.234ms‐I/NAV2501251/2OS,SoL,CS
E5bQ20.46QBPSK(10)10,23010010.23100ms ‐ ‐ ‐ ‐ ‐
1278.75
E6A?Q?BOC(10,5)??5.115?YG/NAV???PRS
E6B40.92I
155.0BPSK(5)5,115‐5.1151msYC/NAV1,000 ??CS
E6C40.92IBPSK(5)5,1151005.115100ms Y ‐ ‐‐
QZSS[6]
1575.42
L1C/A2.046Q‐158.5BPSK(1)1,023‐1.0231ms‐NAV5050‐
L1CD4.096I‐163.0BOC(1,1)10,230‐1.02310ms‐CNAV2100501/2
L1CP4.096Q‐158.25 BOC(1,1)10.231,8001.02318s ‐ ‐‐‐
L1SAIF2.046I‐161.0BPSK(1)1,023‐1.0231ms‐L1SAIF5002501/2
1227.6L2C2.046I‐160.0BPSK(1)10,230‐0.511520ms‐CNAV50501/2chipbychip
timemux
767,250‐0.51151.5s  ‐‐‐
1176.45L5I20.46I‐157.9BPSK(10)10,2301010.2310ms‐CNAV50251/2
L5Q20.46Q‐157.9BPSK(10)10,2302010.2320ms ‐ ‐‐‐
1278.75LEX42.0I‐155.7BPSK(5)10,230‐2.55754ms‐LEX2,000 1,744 RSchipbychip
timemux
1,048,575 ‐ 2.5575410ms ‐ ‐ ‐ ‐ ‐
BeiDou[7]
1561.098B14.092Q
163.0QPSK(2)2,046202.04620ms‐D1NAV 5050BCH IGSO,MEO
‐ 2.0461ms‐D2NAV 500500BCH GEO
I2,046‐2.046>0.4s ‐ ‐‐‐
1207.14B224.0Q
?QPSK(10)2,046202.04620ms?????
I10,230‐10.23>0.16s ‐ ‐ ‐ ‐ ‐
1268.52B324.0Q
?QPSK(10)10,2302010.2320ms?????
I10,230‐10.23>0.16s ‐ ‐ ‐ ‐ ‐
SBAS[8]1575.42L12.046I‐161.0BPSK(1)1,023‐1.0231ms‐SBAS5002501/2
1176.45L520.46I?BPSK(10)10,230‐10.2310ms‐SBAS5002501/2WAAS
K=‐7,...,+6,ENC:encryption,FEC:forwarderrorcorrection,1/2:1/2convolutionalcode,RS:ReedSolomoncode,BCH:BCHcodeandinterleave
RTKLIBver.2.4.2Manual
179
References
[1] ISGPS200F,NavstarGPSSpaceSegment/NavigationUserInterfaces,September21,2011
[2] ISGPS750A,NavstarGPSSpaceSegment/UserSegmentL5Interfaces,June8,2010
[3] ISGPS800A,NavstarGPSSpaceSegment/UserSegmentL1CInterfaces,June8,2010
[4] GlobalNavigationSatelliteSystemGLONASS,InterfaceControlDocumentNavigationalradiosignal
InbandsL1,L2,(Edition5.1),2008
[5] EuropeanGNSS(Galileo)OpenServiceSignalInSpaceInterfaceControlDocument,Issue1,February,
2010
[6] QuasiZenithSatelliteSystemNavigationServiceInterfaceControlSpecificationforQZSS(ISQZSS)
V1.4,JapanAerospaceExplorationAgency,February,2012
[7] BeiDounavigationsatellitesystemsignalinspaceinterfacecontroldocumentopenservicesignalB1I
(version1.0),ChinaSatelliteNavigationoffice,December2012
[8] RTCA/DO229C,Minimumoperationalperformancstandardsforglobalpositioningsystem/wide
areaaugmentationsystemairborneequipment,RTCAinc,November28,2001
[9] W.Gurtner,RINEXTheReceiverIndependentExchangeFormatVersion2.10,December10,2007
[10] W.GurtnerandL.Estey,RINEXTheReceiverIndependentExchangeFormatVersion2.11,December
10,2007
[11] W.GurtnerandL.Estey,RINEXTheReceiverIndependentExchangeFormatVersion2.12,June23,
2009
[12] W.GurtnerandL.Estey,RINEXTheReceiverIndependentExchangeFormatVersion3.00,November
28,2007
[13] W.GurtnerandL.Estey,RINEXTheReceiverIndependentExchangeFormatVersion3.01,June22,
2009
[14] RINEXTheReceiverIndependentExchangeFormatVersion3.02,InternationalGNSSService(IGS),
RINEXWorkingGroupandRadioTechnicalCommissionforMaritimeServicesSpecialCommittee
104(RTCMSC104),December10,2012
[15] J.RayandW.Gurtner,RINEXextensionstohandleclockinformationversion3.02,September2,2010
[16] RTCMRecommendedStandardsforDifferentialGNSS(GlobalNavigationSatelliteSystems)Service
version2.3,August20,2001
[17] RTCMStandard10403.1‐Amendment5,DifferentialGNSS(GlobalNavigationSatelliteSystems)
Services‐version3,July1,2011
[18] RTCMStandard10403.2,DifferentialGNSS(GlobalNavigationSatelliteSystems)Services‐version3,
February1,2013
[19] UNAVCO,BINEX:Binaryexchangeformat(http://binex.unavco.org/binex.html)
RTKLIBver.2.4.2Manual
180
[20] RTCMRecommendedStandardsforNetworkedTransportofRTCMviaInternetProtocol(Ntrip),
version1.0,September30,2004
[21] NMEA0183,StandardforInterfacingMarineElectronicDevices,version4.10,June,2012
[22] S.Hilla,Theextendedstandardproduct3orbitformat(SP3c),August17,2010
[23] M.Rothacher,R.Schmid,ANTEX:TheAntennaExchangeFormatVersion1.4,September15,2010
[24] S.Schear,W.GurtnerandJ.Feltens,IONEX:TheIONosphereMapEXchangeFormatVersion1,
February25,1998
[25] NationalGeodeticSurvey‐Antennacalibrations(http://www.ngs.noaa.gov/ANTCAL)
[26] ESA,EGNOSMessageServer(EMS)UserInterfaceDocument,November4,2005
[27] NovAtel(http://www.novatel.com)
[28] HemisphereGPS(http://www.hemispheregps.com)
[29] ublox(http://www.ublox.com)
[30] SkyTraq(http://www.skytraq.com.tw)
[31] JAVADGNSS(http://www.javad.com)
[32] Furuno(http://www.furunocom)
[33] NVSTechnologiesAG(http://www.nvsgnss.com)
[34] GoogleEarth(http://www.google.com/earth)
[35] MicrosoftWindows(http://windows.microsoft.com)
[36] LAPACK‐LinearAlgebraPACKage(http://www.netlib.org/lapack)
[37] Intel(R)MathKernelLibrary(Intel(R)MKL)(http://software.intel.com/enus/intelmkl)
[38] EmbarcaderoTechnologies(http://www.embarcaadero.com)
[39] Ubuntu(http://www.ubuntu.com)
[40] TheBSD2ClauseLicense(http://opensource.org/licenses/BSD2Clause)
[41] NovAtel,OM20000094Rev6OEMVFamilyFirmwareReferenceManual,2008
[42] NovAtel,OM20000129Rev2OEM6FamilyFirmwareReferenceManual,2011
[43] NovAtel,OM20000053Rev2MiLLenniumGPSCardSoftwareVersions4.503and4.52Command
DescriptionsManual,2001
[44] ubloxAG,GPS.G3X03002D,ANTARISPositioningEngineNMEAandUBXProtocolSpecification,
Version5.00,2003
[45] NovAtel,OM20000086SuperstarIIFirmwareReferenceManual,2005
[46] HemisphereGPS,CrescentIntegratorʹsManual,December,2005
[47] HemisphereGPS,GPSTechnicalReference,PartNo.8750175000,Rev.D1,2008
[48] Skytraq,ApplicationNoteAN0023BinaryMessageofSkyTraqVenus6GPSReceiver,ver1.4.8,
August21,2008
[49] Skytraq,ApplicationNoteAN0024RawMeasurementBinaryMessageExtensionofSkyTraqVenus6
GPSReceiver,ver.0.5,October9,2009
RTKLIBver.2.4.2Manual
181
[50] Furuno,SBAS/GPSreceivertypeGW10IIImanual,July2004
[51] JavadGNSS,GREISGNSSReceiverExternalInterfaceSpecification,ReflectsFirmwareVersion3.2.0,
July22,2010
[52] Javadnavigationsystems,GPSReceiverInterfaceLanguage(GRIL)ReferenceGuideRev2.2,Reflects
FirmwareVersion2.6.0
[53] JavadGNSS,Uservisiblechangesinthefirmwareversion3.4.0sinceversion3.3.x(NEWS_3_4_0.txt)
[54] JavadGNSS,GREISGNSSReceiverExternalInterfaceSpecification,ReflectsFirmwareVersion3.4.6,
October9,2012
[55] DescriptionofBINRmessageswhichisusedbyRCprogramforRINEXfilesaccumulation,NVS
[56] NVSTechnologiesAG,GLONASS/GPS/Galileo/Compass/SBASNV08CreceiverseriesBINRInterface
ProtocolSpecification,ver.1.3,August,2012
[57] TheGZIPhomepage(http://www.gzip.org)
[58] DownloadpagefortheRNXCMPsoftware(http://terras.gsi.go.jp/ja/crx2rnx.html)
[59] GNUGeneralPublicLicenseversion3,June29,2007(http://www.gnu.org/licenses/gpl3.0.en.html)
[60] JapanAerospaceExplorationAgency,RINEXver2basedQZSSExtension(Version1.00),December17,
2010
[61] JapanAerospaceExplorationAgency,RINEXver3baseQZSSExtension(Version1.00)
[62] [IGSMAIL1943]ACCoordinator,NewIGSERPFormat(version2),July10,1998
[63] OceanTideLoadingProvider(http://holt.oso.chalmers.se/loading)
[64] P. J.G.Teunissen,A.Kleusberg(Eds.),GPSforGeodesy,2ndedition,Springer,1998
[65] A.Gelb(eds.),AppliedOptimalEstimation,TheM.I.T.Press,1974
[66] P.J.G.Teunissen,Theleastsquareambiguitydecorrelationadjustment:amethodforfastGPS
ambiguityestimation,J.Geodesy,vol.70,1995
[67] X.W.Chang,X.Yang,andT.Zhou,MLAMBDA:AmodifiedLAMBDAmethodforinteger
leastsquaresestimation,J.Geodesy,vol.79,2005
[68] J.Kouba,AguidetousingInternationalGNSSService(IGS)products,May2009
[69] D.W.Marquardt,AnAlgorithmforLeastSquareEstimationforNonlinearParameters,Journalofthe
SocietyforIndustrialandAppliedMathematics,1963
[70] A.E.Niell,Globalmappingfunctionsfortheatmospheredelayatradiowavelengths,Journalof
geophysicalresearch,1996
[71] J.Boehm,A.Niell,P. TregoningandH.Shuh,GlobalMappingFunction(GMF):Anewempirical
mappingfunctionbaseonnumericalweathermodeldata,GeophysicalResearchLetters,33,L07304,
2006
[72] BIPMBureauInternationaldesPoidetMesures(http://www.bipm.org)
[73] D.D.McCarthy,IERSTechnicalNote21,IERSConventions1996,July1996
[74] G.PetitandB.Luzum(eds.),IERSTechnicalNoteNo.36,IERSConventions(2010),2010

Navigation menu