source: ntrip/trunk/BNC/bnchelp.html@ 261

Last change on this file since 261 was 261, checked in by weber, 18 years ago

* empty log message *

File size: 32.6 KB
Line 
1<h3>BKG Ntrip Client (BNC)</h3>
2
3<p>
4The BKG Ntrip Client (BNC) is a program for simultaneously retrieving real-time GNSS data streams from NTRIP broadcasters like <u>http://www.euref-ip.net/home</u> or <u>http://www.igs-ip.net/home</u>.
5</p>
6<p>
7BNC has been developed for the Federal Agency for Cartography and Geodesy (BKG) within the framework of the EUREF-IP Pilot Project (EUREF-IP) and the Real-Time IGS Working Group (RTIGS).
8</p>
9<p>
10BNC is written under GNU General Public License (GPL). Binaries for BNC are available for Windows, Linux, and Solaris systems. It is likely that BNC can be compiled on other systems where a GNU compiler and Qt Version 4.0.1 are available.
11</p>
12<h3>Contents</h3>
13<p>
14<h4>
15<a href=#purpose>A - Purpose</a><br>
16<a href=#options>B - Options</a><br>
17<a href=#limits>C - Limitations</a><br>
18<a href=#authors>D - Authors</a><br>
19<a href=#links>E - Links</a><br>
20<a href=#annex>F - Annex</a><br>
21</h4>
22</p>
23<br>
24
25<a name="purpose">
26<p><h3>A - Purpose</h3></p>
27
28<p> The purpose of BNC is to
29
30<ul>
31<li>Retrieve real-time GNSS data streams available through NTRIP transport protocol,</li>
32<li>Generate high-rate RINEX files to support near real-time GNSS post-processing applications, and/or</li>
33<li>Output synchronize observations through an IP port to support real-time GNSS engines.</li>
34</ul>
35<p>
36BNC decodes and converts GNSS data streams carrying code and phase data coming in
37</p>
38<ul>
39<li>RTCM Version 2.x format containing message types 18 and 19 (GPS and GLONASS), </li>
40<li>RTCM Version 3 format containing message types 1001, 1002, 1003, 1004 (GPS), and 1009, 1010, 1011, 1012 (GLONASS),</li>
41<li>RTIGS format (only GPS).</li>
42</ul>
43</p>
44<a name="options">
45<p><h3>B - Options</h3></p>
46<p>
47B - 1. <a href=#file>File</a><br>
48B - 2. <a href=#help>Help</a><br>
49B - 3. <a href=#proxy>Proxy</a><br>
50B - 4. <a href=#output>Synchronized Output</a><br>
51&nbsp; &nbsp; &nbsp; B - 4.1. <a href=#wait>Wait for Full Epoch</a><br>
52&nbsp; &nbsp; &nbsp; B - 4.2. <a href=#ascii>ASCII Output File</a><br>
53&nbsp; &nbsp; &nbsp; B - 4.3. <a href=#binary>Port for Binary Output</a><br>
54B - 5. <a href=#rinex>RINEX</a><br>
55&nbsp; &nbsp; &nbsp; B - 5.1. <a href=#rnxpath>RINEX Directory</a><br>
56&nbsp; &nbsp; &nbsp; B - 5.2. <a href=#rnxscript>RINEX Script</a><br>
57&nbsp; &nbsp; &nbsp; B - 5.3. <a href=#rnxinterval>RINEX File Interval</a><br>
58&nbsp; &nbsp; &nbsp; B - 5.4. <a href=#rnxsample>RINEX Sampling</a><br>
59&nbsp; &nbsp; &nbsp; B - 5.5. <a href=#rnxskeleton>RINEX Skeleton Extension</a><br>
60&nbsp; &nbsp; &nbsp; B - 5.6. <a href=#rnxappend>Append Files</a><br>
61B - 6. <a href=#mountpoints>Mountpoints</a><br>
62&nbsp; &nbsp; &nbsp; B - 6.1. <a href=#AddMounts>Add Mountpoints</a><br>
63&nbsp; &nbsp; &nbsp; B - 6.2. <a href=#HostPort>Broadcaster Host and Port</a><br>
64&nbsp; &nbsp; &nbsp; B - 6.3. <a href=#account>Broadcaster User and Password</a><br>
65&nbsp; &nbsp; &nbsp; B - 6.4. <a href=#GetTable>Get Table</a><br>
66&nbsp; &nbsp; &nbsp; B - 6.5. <a href=#delete>Delete Mountpoints</a><br>
67&nbsp; &nbsp; &nbsp; B - 6.6. <a href=#edit>Edit Mountpoints</a><br>
68B - 7. <a href=#log>Log</a><br>
69B - 8. <a href=#start>Start</a><br>
70B - 9. <a href=#stop>Stop</a><br>
71B - 10. <a href=#nw>No Window</a>
72</p>
73
74<a name="file">
75<p><h4>B - 1. File</h4></p>
76
77<p>
78The 'File' button lets you
79<ul>
80<li>
81Select an appropriate font.<br>
82Use a small font size if the BNC main window exceeds the size of your screen.
83</li>
84<li> Save selected options.<br>
85Note that on Windows systems options are saved in register BKG_NTRIP_Client. On Unix/Linux systems options are saved in file ${HOME}/.config/BKG/BKG_NTRIP_Client.conf.
86</li>
87<li>
88Quit the execution of BNC.
89</li>
90</ul>
91</p>
92
93<a name="help">
94<p><h4>B - 2. Help</h4></p>
95
96<p>
97The 'Help' button provides access to
98<ul>
99<li>
100General information about BNC.<br>
101Close the 'About BNC' window to continue with BNC.
102</li>
103<li>
104Help contents.<br>
105You may keep the 'Help Contents' window open while setting BNC options.
106</li>
107</ul>
108</p>
109
110<a name="proxy">
111<p><h4>B - 3. Proxy - mandatory if BNC is operated in a protected LAN</h4></p>
112
113<p>
114You may like to run BNC in a Local Area Network (LAN). LAN's are often protected by a proxy server. Enter your proxy server IP and port number in case one is operated in front of BNC. If you don't know the IP and port of your proxy server, check out the proxy server settings of your Internet browser or ask your network administrator.</p>
115<p>
116Note that IP streaming may be generally denied in a LAN. In such a case you need to request an appropriate modification of the security policy from your network administrator or ask for the installation of a TCP relay to involved NTRIP broadcasters. If that doesn't work out, run BNC on a host that is connected to the Internet through an Internet Service Provider (ISP).
117</p>
118
119<a name="output"> <p><h4>B - 4. Synchronized Output</h4></p>
120<p>
121BNC lets you output synchronized observations epoch by epoch. This output is made available in a plain ASCII format and in a binary format. The output comprises the following observations if available:</p>
122StatID, SVPRN, GPSWeek, GPSWeeks, sec, C1, P1, P2, L1, L2, SNR1, SNR2, pCodeIndicator, cumuLossOfCont.
123</p>
124
125<a name="wait">
126<p><h4>B - 4.1 Wait for Full Epoch - optional</h4></p>
127<p>
128When feeding a real-time GNSS engine waiting for input epoch by epoch, BNC ignores whatever is received later then 'Wait for full epoch' seconds. A value of 2 to 5 seconds may be an appropriate choice for that, depending on the delay you can accept for your real-time GNSS product. Default value for 'Wait for full ecpch' is 1 second.
129</p>
130<p>
131Note that 'Wait for full epoch' does not influence the RINEX file contents. Observations received later than 'Wait for full epoch' seconds will still be included in the RINEX files.
132</p>
133
134<a name="ascii">
135<p><h4>B - 4.2 ASCII Output File - optional</h4></p>
136<p>
137Enter the full path for a file to save synchronized observations in a plain ASCII format. Default value is an empty option field, meaning that no ASCII output file is created.
138</p>
139
140<a name="binary">
141<p><h4>B - 4.3 Port for Binary Output - optional</h4></p>
142<p>
143BNC makes synchronized observations available in a binary format on your local host (IP 127.0.0.1) through an IP port. Enter an IP port number to activate this function. Default is an empty option field, meaning that no binary output is generated.</p>
144<p>The binary output is provided as a continuous stream in the order</p>
145<pre>
146begEpoch
147begObs
148Observation
149begObs
150Observation
151begObs
152Observation
153...
154endEpoch
155begEpoch
156...
157</pre>
158<p>where the corresponding structures are defined as</p>
159<pre>
160const char begEpoch = 'A';
161const char begObs = 'B';
162const char endEpoch = 'C';
163struct Observation {
164 int flags;
165 char StatID[5+1]; // Station ID
166 int SVPRN; // Satellite PRN
167 int GPSWeek; // Week of GPS-Time
168 double GPSWeeks; // Second of Week (GPS-Time)
169 double C1; // CA-code pseudorange (meters)
170 double P1; // P1-code pseudorange (meters)
171 double P2; // P2-code pseudorange (meters)
172 double L1; // L1 carrier phase (cycles)
173 double L2; // L2 carrier phase (cycles)
174 int SNR1; // L1 signal-to noise ratio (0.1 dB)
175 int SNR2; // L2 signal-to noise ratio (0.1 dB)
176} ;
177</pre>
178
179<a name="rinex">
180<p><h4>B - 5. RINEX</h4></p>
181<p>
182Observations are converted to RINEX Version 2.1. RINEX file names are derived by BNC from the first 4 characters of the corresponding mountpoint (4Char Station ID) while truncating the residual part of the mountpoint string. Thus, retrieving data from mountpoints FRANKFURT and WETTZELL leads to RINEX files named FRAN*.* and WETT*.*.</p>
183<p>
184If you retrieve streams that show mountpoints with an identical 4Char Station ID (same first 4 characters), the mountpoint string is split in two sub-strings and both become part of the RINEX file name. Example: When simultaneously retrieving data from mountpoints FRANKFURT and FRANCE, there RINEX file names are defined as FRAN*_KFURT.* and FRAN*_CE.*.
185</p>
186<p>
187Note that RINEX file names for all intervals less than 1 hour follow the file name convention for 15 minutes RINEX files.
188</p>
189
190<a name="rnxpath">
191<p><h4>B - 5.1 RINEX Directory - optional</h4></p>
192<p>
193Enter a path for saving the RINEX files in a directory. If this directory does not exist, BNC will not create RINEX files. Default value for 'RINEX directory' is an empty option field, meaning that streams are not converted to RINEX.
194</p>
195
196<a name="rnxscript">
197<p><h4>B - 5.2 RINEX Script - optional</h4></p>
198<p>
199Whenever a RINEX file is saved, you may like to compress, copy, or upload it immediately via FTP. For that you enter the full path of a script or batch file carrying out these operations. The RINEX file path will be passed to the script as a command line parameter (%1 on Windows systems, $1 on Unix/Linux systems).
200</p>
201
202<a name="rnxinterval">
203<p><h4>B - 5.3 RINEX File Interval - mandatory if 'RINEX directory' set</h4></p>
204<p>
205Select the interval for RINEX file generation. Default for 'RINEX file interval' is 15 minutes.
206</p>
207
208<a name="rnxsample">
209<p><h4>B - 5.4 RINEX Sampling - mandatory if 'RINEX directory' set </h4></p>
210<p>
211Select the RINEX sample interval in seconds. Zero '0' stands for converting all incoming epochs to RINEX. Default for RINEX 'Sampling' is '0'.
212</p>
213
214<a name="rnxskeleton">
215<p><h4>B - 5.5 RINEX Skeleton Extension - optional</h4></p>
216<p>
217BNC lets you introduce RINEX header skeleton files that contain the header records you would like to see instead of a default header. You may like to derive RINEX skeleton files from the information given in sitelogs. A file in the 'RINEX directory' with the 'RINEX skeleton extension' is understood by BNC as a RINEX header skeleton file for the affected stream.
218</p>
219<p>
220Example: Mountpoints FRANKFURT and FRANCE (same 4Char Station ID) and WETTZELL lead to the generation of RINEX files FRAN*_KFURT.*, FRAN*_CE.*, and WETT*.*. The header part of these files would be overwritten by the content of existing skeleton files named FRAN_KFURT.skl, FRAN_CE.skl, and WETT.skl if 'RINEX skeleton extension' is set to 'skl'.
221</p>
222<p>
223Note the following conditions regarding RINEX header skeleton files.
224<ul>
225<li>They should contain empty header records of type:</li>
226<br>&nbsp; &nbsp; PGM / RUN BY / DATE
227<br>&nbsp; &nbsp; # / TYPES OF OBSERVATIONS
228<br>&nbsp; &nbsp; TIME OF FIRST OBS
229<br>The existence of these empty records will force BNC to include such lines in the final RINEX file header together with an additional COMMENT line mentioning the source of the stream.
230<li>They must contain an empty header record of type:</li>
231<br>&nbsp; &nbsp; END OF HEADER
232<li>They may contain any other complete header record as defined in the RINEX Version 2.1 documentation. Its contents may be derived from sitelog files.</li>
233</ul>
234<p>
235
236<a name="rnxappend">
237<p><h4>B - 5.6 Append Files</h4></p>
238<p>
239When starting BNC, new RINEX files are created by default. Probably existing files are overwritten. However, it may be desirable to append observations to already existing RINEX files following a restart of BNC after an intentional 'Stop', a system crash, or a crash BNC. Hit 'Append files' to continue with alread existing files and thus save what has been recorded so far.
240</p>
241
242<a name="mountpoints">
243<p><h4>B - 6. Mountpoints</h4></p>
244<p>
245Each stream on an NTRIP broadcaster is defined through a unique source ID called mountpoint. An NTRIP client like BNC can access the data of a desired stream by its mountpoint. Information about mountpoints is available through the sourcetable maintained by the NTRIP broadcaster.
246</p>
247
248<a name="AddMounts">
249<p><h4>B - 6.1 Add Mountpoints</h4></p>
250<p>
251Button 'Add Mountpoints' opens a window that lets you select data streams from an NTRIP broadcaster by their mountpoints.
252</p>
253
254<a name="HostPort">
255<p><h4>B - 6.2 Broadcaster Host and Port - mandatory</h4></p>
256<p>
257Enter the NTRIP broadcaster host IP and port number. <u>http://www.rtcm-ntrip.org/home</u> provides information about known NTRIP broadcaster installations. Note that EUREF and IGS operate NTRIP broadcasters at <u>http://www.euref-ip.net/home</u> and <u>http://www.igs-ip.net/home</u>.
258</p>
259
260<a name="account">
261<p><h4>B - 6.3 Broadcaster User and Password - mandatory for protected streams</h4></p>
262<p>
263Streams on NTRIP broadcasters may be password protected. Enter a valid User ID and Password for access to protected NTRIP broadcaster streams. Accounts are usually provided per NTRIP broadcaster through a registration procedure. Register through <u>http://igs.bkg.bund.de/index_ntrip_reg.htm</u> for access to protected streams on <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u>.
264</p>
265
266<a name="GetTable">
267<p><h4>B - 6.4 Get Table</h4></p>
268<p>
269Hit button 'Get Table' to download the sourcetable from the NTRIP broadcaster. Pay attention to data fields 'format' and 'format-details'. Have in mind that BNC can only decode and convert streams that come in RTCM 2.x, RTCM 3, or RTIGS format. RTCM 2.x streams must contain message types 18 and 19 while RTCM 3 streams must contain message types 1001 or 1003, better 1003 or 1004 (GPS), 1009, or 1010, better 1011 or 1012 (GLONASS), see data field 'format-details' for available message types and their repetition rates in brackets. Select your streams line by line, use +Shift and +Ctrl when necessary.
270</p>
271<p>
272Hit 'OK' to return to the main window. You may like to 'Add Mountpoints' from another NTRIP broadcaster when necessary.
273</p>
274
275<a name="delete">
276<p><h4>B - 6.5 Delete Mountpoints</h4></p>
277<p>
278To delete a stream shown under 'Mountpoints' in the main window select it by mouse click and hit 'Delete Mountpoints'. For simultaneous deletion of several streams highlight them using +Shift and +Ctrl.</p>
279
280<a name="edit">
281<p><h4>B - 6.6 Edit Mountpoints</h4></p>
282<p>
283BNC automatically selects one out of several internal decoders for a stream based on its 'format' and 'format-details' as given in the sourcetable. It may happen that you need to overrule the automated decoder selection because of sourcetable setup deficiencies. Therefore BNC allows to edit (double-click) the decoder string for each stream shown under 'Mountpoints'. Accepted decoder strings allowed to be introduced are 'RTCM_2.x', 'RTCM_3', and 'RTIGS'.
284</p>
285
286<a name="log">
287<p><h4>B - 7. Log - optional</h4></p>
288<p>
289BNC comments its activities in the 'Log' section on the main windows. Comments can be saved and concatenated in a file when entering the full path for 'Log' file. Information is given about the communication between BNC and the NTRIP broadcaster as well as about problems that may occur concerning communication link, stream availability, stream delay, stream conversion etc. Default value for 'Log' is an empty option field, meaning that BNC comments are not saved in a file.
290</p>
291
292<a name="start">
293<p><h4>B - 8. Start</h4></p>
294<p>
295Hit 'Start' to start retrieving, decoding, and converting GNSS data streams in real-time. Note that 'Start' generally forces BNC to begin with fresh RINEX files and thus overwrite already existing files when necessary.
296</p>
297
298<a name="stop">
299<p><h4>B - 9. Stop</h4></p>
300<p>
301Hit the 'Stop' button to stop BNC.
302</p>
303
304<a name="nw">
305<p><h4>B - 10. No Window - optional</h4></p>
306<p>
307You can use BNC on all systems in batch mode with the command line option -nw. BNC then runs in 'no window' mode, reading options from the configuration file ${HOME}/.config/BKG/BNC_NTRIP_Client.conf (Unix/Linux) or from the register BKC_NTRIP_Client (Windows).
308</p>
309<p>
310Note that the self-explaining contents of the configuration file or the Windows register can easily be edited. Terminate BNC running in 'no window' mode on Windows systems using the Windows Task Manager.
311</p>
312<br>
313<a name="limits">
314<p><h3>C - Limitations</h3></p>
315<ul>
316<li>
317The connection to an NTRIP broadcaster may break or a stream requested may be temporarily unavailable. Furthermore, a connection is interpreted by BNC to be broken if no data is coming in for a period of 20 seconds. When this happens, a reconnect is tried with decreasing frequency. BNC first tries to reconnect with ~1 second delay, if unsuccessful, tries again in ~2 seconds from the last attempt, if still unsuccessful tries with ~4 seconds from the last attempt etc. Each attempt doubles the delay from the previous attempt. The maximum delay between attempts is limited to ~128 seconds. The reconnection process is documented in the 'Log' file.
318</li>
319<li>
320So far BNC only handles GPS and GLONASS data while ignoring Galileo. Furthermore, its function is limited today to processing C1, P1, P2, L1, and L2 observations only.
321</li>
322<li>
323Due to a limitation of the RTIGS format and transport protocol, streams coming in that format so far only carry GPS data.
324</li>
325<li>
326Concerning RTCM Version 2.x, BNC handles only message types 18 and 19. Concerning RTCM Version 3, BNC handles only message types 1001, 1002, 1003, 1004, 1009, 1010, 1011, and 1012.
327</li>
328<li>
329If the ambiguity field is not set in RTCM Version 3 streams, the BNC output will be no valid RINEX. All values will be stored modulo 299792.458. A COMMENT line will tell you, when this happens. It would be necessary to approximately calculate the range to fix the ambiguity (needing ephemeris/almanac and easy positioning algorithm).
330</li>
331<li>
332The generated RINEX is somewhat limited due to the streaming character of the conversion.
333<ul>
334<li>
335Header records can only represent data, which is known after receiving the very first epoch. Data rate, position, number of observations and any such additional fields cannot be provided.
336</li>
337<li>
338The number of observables cannot change during the program runtime. Only the observables, which exist in the first epoch are outputted. If there are new observables later on, these are ignored.
339</li>
340</ul>
341</li>
342<li>
343BNC's 'Get Table' function only informs about the STR records of a sourcetable. Note that you can use an Internet browser to download the full sourcetable contents of any NTRIP broadcaster by simply entering its URL plus a dummy string in the form http://host:port/dummy. Data field number 8 of the NET records that may show up may provide information about where to register for an NTRIP broadcaster account.
344</li>
345<li>
346EUREF as well as IGS follow an open data policy. Streams are made available through NTRIP broadcasters at <u>www.euref-ip.net</u> and <u>www.igs-ip.net</u> free of charge to anybody for any purpose. It is not clear today how many users will have to be supported simultaneously. The situation may develop in a way that it becomes difficult to serve all registered users at any time. In case limited dissemination resources on the NTRIP broadcaster side (software restrictions, bandwidth limitation etc.) make it necessary, first priority in stream provision will be given to stream providers, re-broadcasting activities, and real-time analysis centres while access for others may be temporarily denied.
347</li>
348<br>
349</ul>
350<a name="authors">
351<p><h3>D - Authors</h3></p>
352<p>
353The BKG Ntrip Client (BNC) Qt Graphic User Interface (GUI) has been developed for the Federal Agency for Cartography and Geodesy (BKG) by Leos Mervart, Czech Technical University Prague, Department of Advanced Geodesy. BNC integrates the following GNU GPL software components:
354<ul>
355<li> RTCM 2.x decoder, written by Oliver Montenbruck, German Space Operations Center, DLR, Oberpfaffenhofen, with contributions from Leos Mervart</li>
356<li> RTCM 3 decoder, written for BKG by Dirk Stoecker, Euronik GmbH, Schoenefeld</li>
357<li> RTIGS decoder, written by Ken MacLeod, Natural Resources Canada, NRCan</li>
358</ul>
359</p>
360<p>
361Note that this is a betta version of BNC provided for test and evaluation. Make sure you installed the latest version available from <u>http://igs.bkg.bund.de/index_ntrip_down.htm</u>. We are still working on the program and would appreciate if you could send your comments, suggestions, or bug reports to:
362</p>
363<p>
364Georg Weber<br>
365Federal Agency for Cartography and Geodesy (BKG)<br>
366Frankfurt, Germany<br>
367euref-ip@bkg.bund.de
368</p>
369<br>
370
371<a name="links">
372<p><h3>E - Links</h3></p>
373<table>
374<tr></tr>
375<tr><td>NTRIP &nbsp;</td><td><u>http://igs.bkg.bund.de/index_ntrip.htm</u></td></tr>
376<tr><td>EUREF-IP NTRIP broadcaster &nbsp;</td><td><u>http://www.euref-ip.net/home</u></td></tr>
377<tr><td>IGS-IP NTRIP broadcaster &nbsp;</td><td><u>http://www.igs-ip.net/home</u></td></tr>
378<tr><td>NTRIP broadcaster overview &nbsp;</td><td><u>http://www.rtcm-ntrip.org/home</u></td></tr>
379<tr><td>EUREF-IP Pilot Project &nbsp;</td><td><u>http://www.epncb.oma.be/euref_IP</u></td></tr>
380<tr><td>Real-Time IGS Working Group &nbsp;</td><td><u>http://igscb.jpl.nasa.gov/projects/rtwg/index.html</u>
381</table>
382<br>
383
384<a name="annex">
385<p><h3>F - Annex</h3></p>
386<p>
387F - 1. <a href=#ntrip>NTRIP</a><br>
388&nbsp; &nbsp; &nbsp; E - 1.1 <a href=#source>Sourcetable</a><br>
389F - 2. <a href=#rtcm>RTCM</a><br>
390&nbsp; &nbsp; &nbsp; F - 2.1 RTCM <a href=#rtcm2> Version 2.x</a><br>
391&nbsp; &nbsp; &nbsp; F - 2.2 RTCM <a href=#rtcm3> Version 3</a><br>
392F - 3. <a href=#rtigs>RTIGS</a><br>
393&nbsp; &nbsp; &nbsp; F - 3.1 <a href=#soc>SOC</a>
394</p>
395<br>
396
397<a name="ntrip">
398<p><h4>F - 1. NTRIP</h4></p>
399
400<p>
401'Networked Transport of RTCM via Internet Protocol' Version 1.0 (NTRIP) stands for an application-level protocol streaming Global Navigation Satellite System (GNSS) data over the Internet. NTRIP is a generic, stateless protocol based on the Hypertext Transfer Protocol HTTP/1.1. The HTTP objects are enhanced to GNSS data streams.
402</p>
403
404<p>
405NTRIP Version 1.0 is an RTCM standard designed for disseminating differential correction data (e.g in the RTCM-104 format) or other kinds of GNSS streaming data to stationary or mobile users over the Internet, allowing simultaneous PC, Laptop, PDA, or receiver connections to a broadcasting host. NTRIP supports wireless Internet access through Mobile IP Networks like GSM, GPRS, EDGE, or UMTS.
406</p>
407
408<p>
409NTRIP is implemented in three system software components: NTRIP clients, NTRIP servers and NTRIP broadcasters. The NTRIP broadcaster is the actual HTTP server program whereas NTRIP client and NTRIP server are acting as HTTP clients.
410</p>
411
412<p>
413NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
414<ul>
415<li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
416<li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
417<li>Potential to support mass usage; disseminating hundreds of streams simultaneously for up to thousand users possible when applying modified Internet Radio broadcasting software.</li>
418<li>Considering security needs; stream providers and users don't necessarily get into contact, streams often not blocked by firewalls or proxy servers protecting Local Area Networks.</li>
419<li>Enables streaming over mobile IP networks because of using TCP/IP.</li>
420</ul>
421</p>
422
423<a name="source">
424<p><h4>F - 1.1 Sourcetable</h4></p>
425
426<p>
427The NTRIP broadcaster maintains a sourcetable containing information on available NTRIP streams, networks of NTRIP streams, and NTRIP broadcasters. The sourcetable is sent to an NTRIP client on request. Sourcetable records are dedicated to one of the following: Data Streams (record type STR), Casters (record type CAS), or Networks of streams (record type NET).
428</p>
429
430<p>
431Sourcetable records of type STR contain the following data fields: 'mountpoint', 'identifier', 'format', 'format-details', 'carrier', 'nav-system', 'network', 'country', 'latitude', 'longitude', 'nmea', 'solution', 'generator', 'compr-encryp', 'authentication', 'fee', 'bitrate', 'misc'.
432</p>
433<p>
434Sourcetable records of type NET contain the following data fields: 'identifiey', 'operator', 'authentication', 'fee', 'web-net', 'web-str', 'web-reg', 'misc'.
435</p>
436<p>
437Sourcetable records of type CAS contain the following data fields: 'host', 'port', 'identifier', 'operator', 'nmea', 'country', 'latitude', 'longitude', 'misc'.
438</p>
439
440<a name="rtcm">
441<p><h4>F - 2. RTCM</h4></p>
442
443<p>
444The Radio Technical Commission for Maritime Services (RTCM) is an international non-profit scientific, professional and educational organization. Special Committees provide a forum in which government and non-government members work together to develop technical standards and consensus recommendations in regard to issues of particular concern. RTCM is engaged in the development of international standards for maritime radionavigation and radiocommunication systems. The output documents and reports prepared by RTCM Committees are published as RTCM Recommended Standards. Topics concerning Differential Global Navigation Satellite Systems (DGNSS) and handled by the Special Committee SC 104.
445<p>
446Copies of RTCM Recommended Standards can be ordered through <u>http://www.rtcm.org/orderinfo.php</u>.
447</p>
448<br>
449
450<a name="rtcm2">
451<p><h4>F - 2.1 RTCM Version 2.x</h4></p>
452<p>
453Transmitting GNSS carrier phase data can be done through RTCM Version 2.x messages. Note that only RTCM Version 2.3 includes GLONASS data. Messages that may be of interest here are of type 1, 2, 3, 6, 9, 16,18/19, 20/21, and 22.
454</p>
455
456<ul>
457<li>
458Type 1 message is the range correction message and is the primay message in code-phase differential positioning (DGPS). It is computed in the base receiver by computing the error in the range measurement for each tracked SV.
459</li>
460<li>
461Type 2 message is automatically generated when a new set of satellite ephemeris is downloaded to the base receiver. It is the computed difference between the old ephemeris and the new ephemeris. Type 2 messages are used when the base station is transmitting Type 1 messages.
462</li>
463<li>
464Type 3 and 22 messages are the base station position and the antenna offset. Type 3 and 22 are used in RTK processing to perform antenna reduction.
465</li>
466<li>
467Type 6 message is a null frame filler message that is provided for data links that require continuous transmission of data, even if there are no corrections to send. As many Type 6 messages are sent as required to fill in the gap between two correction messages (type 1). Message 6 is not sent in burst mode.
468</li>
469<li>
470Type 9 message serves the same purpose as Type 1, but does not require a complete satellite set. As a result, Type 9 messages require a more stable clock than a station transmitting Type 1 's, because the satellite corrections have different time references.
471</li>
472<li>
473Type 16 message is simply a text message entered by the user that is transmitted from the base station to the rover. It is used with code-phase differential.
474</li>
475<li>
476Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
477</li>
478<li>
479Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo-range corrections used in RTK.
480</li>
481</ul>
482
483<a name="rtcm3">
484<p><h4>F - 2.2 RTCM Version 3</h4></p>
485<p>
486RTCM Version 3 has been developed as a more efficient alternative to RTCM 2.x. Service providers and vendors have asked for a new standard that would be more efficient, easy to use, and more easily adaptable to new situations. The main complaint was that the Version 2 parity scheme was wasteful of bandwidth. Another complaint was that the parity is not independent from word to word. Still another was that even with so many bits devoted to parity, the actual integrity of the message was not as high as it should be. Plus, 30-bit words are awkward to handle. The new standard, Version 3, is intended to correct these weaknesses.
487</p>
488<p>
489RTCM Version 3 defines a number of message types. Messages that may be of interest here are:
490</p>
491<ul>
492<li>Tpye 1001, GPS L1 code and phase.</li>
493<li>Type 1002, GPS L1 code and phase and ambiguities and carrier to noise ratio.</li>
494<li>Type 1003, GPS L1 and L2 code and phase.</li>
495<li>Type 1004, GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
496<li>Type 1005, Station coordinates XZY for antenna reference point.</li>
497<li>Type 1006, Station coordinates XYZ for antenna reference point and antenna height.</li>
498<li>Type 1007, Antenna descriptor and ID.</li>
499<li>Type 1008, Antenna serial number.</li>
500<li>Type 1009, GLONASS L1 code and phase.</li>
501<li>Type 1010, GLONASS L1 code and phase and ambiguities and carrier to noise ratio.</li>
502<li>Type 1011, GLONASS L1 and L2 code and phase.</li>
503<li>Type 1012, GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
504<li>Type 1013, Modified julian date, leap second, configured message types and interval.</li>
505<li>Type 1014 and 1017, Network RTK (MAK) messages (under development).</li>
506<li>Type 1019, GPS Ephemeris (under development).</li>
507<li>Type 1020, GLONASS Ephemeris (under development).</li>
508<li>Type 4088 and 4095, Proprietary messages (under development).
509</li>
510</ul>
511
512<a name="rtigs">
513<p><h4>F - 3. RTIGS</h4></p>
514<p>
515RTIGS stands for a data format and transport protocol for GPS observations (no GLONASS). It has been defined by the Real-Time IGS Working Group (RTIGS WG). Its definition is based on the SOC format. Every RTIGS record has one of the following numbers:
516</p>
517<p>
518Station record number 100<br>
519Observation record number 200<br>
520Ephemeris record number 300<br>
521Meteorological record number 400
522</p>
523<p>
524Every station has one of the following unique numbers:
525</p>
526<p>
5271-99 reserved for JPL<br>
528100-199 reserved for NRCan<br>
529200-299 reserved for NGS<br>
530300-399 reserved for ESOC<br>
531400-499 reserved for GFZ<br>
532500-599 reserved for BKG<br>
533600-699 reserved for GEOSCIENCE AUS<br>
534700-799 others<br>
535etc
536</p>
537<p>
538The number of bytes in each real time message includes the header as well as the data content, but NOT the pointer.
539</p>
540<p>
541For example:
542</p>
543<ul>
544<li>A station message is output once per hour and is 20 bytes.</li>
545<li>An observation message is output once per second. The header is 12 bytes long and the SOC data is 21 bytes per PRN. So a typical RTIGSO_T message will be 390 bytes if 8 sats are being tracked.</li>
546<li>An ephemeris message is output when the ephemeris is decoded by the GPS receiver. The time in the Ephemeris header is the collected time. Only one ephemeris can be bundled in a RTIGSE_T message.<br>
547A RTIGSE_T message contains one eph. The message consists of 12 header bytes and 72 ephemeris bytes, for a total of 84 bytes.</li>
548<li>The RTIGSM_T (met) message should be issues once every 15 minutes. A basic met message consists of a 12 byte header and 3 longs (temp, press and relative humidity) for a total of 24 bytes.</li>
549</ul>
550<p>
551All records are related to a station configuration indicated by the Issue of Data Station (IODS). The IODS will enable the user to identify the equipment and software that was used to derive the observation data.
552</p>
553<p>
554Each record header contains the GPS Time in seconds which is continuous from 6 Jan-1980.
555</p>
556<p>
557The data payload of each record consists of observations. The structures indicate a pointer to data but in fact the broadcast messages do not contain the pointer, only the data. Users will have to manage the data and the pointer is shown to illustrate where the data is located in the message and one possible data management option.
558</p>
559<p>
560All record data are in network byte order (Big Endian), i.e. IA32 users have to swap bytes.
561</p>
562<p>
563Visit <u>http://igscb.jpl.nasa.gov/mail/igs-rtwg/2004/msg00001.html</u> for further details.
564</p>
565
566<a name="soc">
567<p><h4>F - 3.1 SOC</h4></p>
568<p>
569The SOC format has been designed in July 1999 by the Jet Propulsion Laboratory (JPL) and the California Institute of Technology (CalTech) to transport 1Hz GPS data (no GLONASS) with minimal bandwidth over the open Internet. SOC follows the 'little-endian' byte order meaning that the low-order byte of a number is stored in memory at the lowest address, and the high-order byte at the highest address. (The little end comes first.) Because the transport layer is UDP, the format does not include sync bits, a checksum or cyclic redundancy checksum (CRC). SOC allows to transport the GPS observable CA, P1, P2, L1, and L2, efficiently compressed down to 14 bytes with 1 mm range resolution and 0.02 mm phase resolution. SOC contains epochs for cycle slips, a stand-alone time-tag per epoch, a minimum representation of the receiver's clock solution, 3 SNR numbers, a unique site id, a modulo 12 hour sequence number and flags for receiver type and GPS health. SOC's simple structure comprises an 8 byte header, a 9 byte overhead for timetag, number of gps, etc., plus 21 data bytes per gps.
570</p>
571<p>
572Visit <u>http://gipsy.jpl.nasa.gov/igdg/papers/SOC_FORMAT.ppt</u> for further details.
573</p>
574<p>
575</p>
576
Note: See TracBrowser for help on using the repository browser.