1 | <h3>BKG Ntrip Client (BNC)</h3>
|
---|
2 |
|
---|
3 | <p>
|
---|
4 | The BKG Ntrip Client (BNC) is a program for simultaneously retrieving, decoding and converting 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>
|
---|
7 | BNC has been developed for the Federal Agency for Cartography and Geodesy (BKG) within the framework of the EUREF-IP Pilot Project (EUREF-IP, IP for Internet Protocol) and the Real-Time IGS Working Group (RTIGS WG).
|
---|
8 | </p>
|
---|
9 | <p>
|
---|
10 | BNC has been 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 installed.
|
---|
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 epoch by epoch through an IP port to support real-time GNSS engines.</li>
|
---|
34 | </ul>
|
---|
35 | <p>
|
---|
36 | BNC 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 | <p><b>Warning</b><br>
|
---|
45 | BNC has the capacity to retrieve hundreds of GNSS data streams simultaneously. Please be aware that it is a powerful tool that may generate a heavy workload on the NTRIP broadcaster side depending on the number of streams it requests. We suggest to limited the number of streams where possible to avoid unnecessary workload.
|
---|
46 | </p>
|
---|
47 | <p>
|
---|
48 | <a name="options">
|
---|
49 | <p><h3>B - Options</h3></p>
|
---|
50 | <p>
|
---|
51 | B - 1. <a href=#file>File</a><br>
|
---|
52 | B - 2. <a href=#help>Help</a><br>
|
---|
53 | B - 3. <a href=#proxy>Proxy</a><br>
|
---|
54 | B - 4. <a href=#output>Synchronized Output</a><br>
|
---|
55 | B - 4.1. <a href=#wait>Wait for Full Epoch</a><br>
|
---|
56 | B - 4.2. <a href=#ascii>ASCII Output File</a><br>
|
---|
57 | B - 4.3. <a href=#binary>Port for Binary Output</a><br>
|
---|
58 | B - 5. <a href=#rinex>RINEX</a><br>
|
---|
59 | B - 5.1. <a href=#rnxpath>RINEX Directory</a><br>
|
---|
60 | B - 5.2. <a href=#rnxscript>RINEX Script</a><br>
|
---|
61 | B - 5.3. <a href=#rnxinterval>RINEX File Interval</a><br>
|
---|
62 | B - 5.4. <a href=#rnxsample>RINEX Sampling</a><br>
|
---|
63 | B - 5.5. <a href=#rnxskeleton>RINEX Skeleton Extension</a><br>
|
---|
64 | B - 5.6. <a href=#rnxappend>Append Files</a><br>
|
---|
65 | B - 6. <a href=#mountpoints>Mountpoints</a><br>
|
---|
66 | B - 6.1. <a href=#AddMounts>Add Mountpoints</a><br>
|
---|
67 | B - 6.2. <a href=#HostPort>Broadcaster Host and Port</a><br>
|
---|
68 | B - 6.3. <a href=#account>Broadcaster User and Password</a><br>
|
---|
69 | B - 6.4. <a href=#GetTable>Get Table</a><br>
|
---|
70 | B - 6.5. <a href=#delete>Delete Mountpoints</a><br>
|
---|
71 | B - 6.6. <a href=#edit>Edit Mountpoints</a><br>
|
---|
72 | B - 7. <a href=#log>Log</a><br>
|
---|
73 | B - 8. <a href=#start>Start</a><br>
|
---|
74 | B - 9. <a href=#stop>Stop</a><br>
|
---|
75 | B - 10. <a href=#nw>No Window</a>
|
---|
76 | </p>
|
---|
77 |
|
---|
78 | <a name="file">
|
---|
79 | <p><h4>B - 1. File</h4></p>
|
---|
80 |
|
---|
81 | <p>
|
---|
82 | The 'File' button lets you
|
---|
83 | <ul>
|
---|
84 | <li>
|
---|
85 | select an appropriate font.<br>
|
---|
86 | Use a small font size if the BNC main window exceeds the size of your screen.
|
---|
87 | </li>
|
---|
88 | <li> save selected options.<br>
|
---|
89 | Note 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.
|
---|
90 | </li>
|
---|
91 | <li>
|
---|
92 | quit the execution of BNC.
|
---|
93 | </li>
|
---|
94 | </ul>
|
---|
95 | </p>
|
---|
96 |
|
---|
97 | <a name="help">
|
---|
98 | <p><h4>B - 2. Help</h4></p>
|
---|
99 |
|
---|
100 | <p>
|
---|
101 | The 'Help' button provides access to
|
---|
102 | <ul>
|
---|
103 | <li>
|
---|
104 | general information about BNC.<br>
|
---|
105 | Close the 'About BNC' window to continue with BNC.
|
---|
106 | </li>
|
---|
107 | <li>
|
---|
108 | help contents.<br>
|
---|
109 | You may keep the 'Help Contents' window open while setting BNC options.
|
---|
110 | </li>
|
---|
111 | </ul>
|
---|
112 | </p>
|
---|
113 |
|
---|
114 | <a name="proxy">
|
---|
115 | <p><h4>B - 3. Proxy - mandatory if BNC is operated in a protected LAN</h4></p>
|
---|
116 |
|
---|
117 | <p>
|
---|
118 | You may like to run BNC in a Local Area Network (LAN). LANs 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>
|
---|
119 | <p>
|
---|
120 | Note that IP streaming may generally be denied in a LAN. In such a case you need to ask for an appropriate modification of the security policy from your network administrator or for the installation of a TCP relay to involved NTRIP broadcasters. If that doesn't work, run BNC outside your LAN on a host that is connected to the Internet through an Internet Service Provider (ISP).
|
---|
121 | </p>
|
---|
122 |
|
---|
123 | <a name="output"> <p><h4>B - 4. Synchronized Output</h4></p>
|
---|
124 | <p>
|
---|
125 | BNC 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>
|
---|
126 | StatID, SVPRN, GPSWeek, GPSWeeks, C1, P1, P2, L1, L2, SNR1, SNR2.
|
---|
127 | </p>
|
---|
128 | <p>
|
---|
129 | In case an observation is unavailable, its value is set to zero '0.000'.
|
---|
130 | </p>
|
---|
131 | <a name="wait">
|
---|
132 | <p><h4>B - 4.1 Wait for Full Epoch - optional</h4></p>
|
---|
133 | <p>
|
---|
134 | When feeding a real-time GNSS engine waiting for input epoch by epoch, BNC ignores whatever is received later than 'Wait for full epoch' seconds. A value of 3 to 5 seconds could be an appropriate choice for that, depending on the latency of the incoming streams and the delay you would accept for your real-time GNSS product. Default value for 'Wait for full epoch' is 1 second.
|
---|
135 | </p>
|
---|
136 | <p>
|
---|
137 | Note 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.
|
---|
138 | </p>
|
---|
139 |
|
---|
140 | <a name="ascii">
|
---|
141 | <p><h4>B - 4.2 ASCII Output File - optional</h4></p>
|
---|
142 | <p>
|
---|
143 | Enter 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.
|
---|
144 | </p>
|
---|
145 |
|
---|
146 | <a name="binary">
|
---|
147 | <p><h4>B - 4.3 Port for Binary Output - optional</h4></p>
|
---|
148 | <p>
|
---|
149 | BNC 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>
|
---|
150 | <p>The binary output is provided as a continuous stream in the order of</p>
|
---|
151 | <pre>
|
---|
152 | begEpoch
|
---|
153 | begObs
|
---|
154 | Observation
|
---|
155 | begObs
|
---|
156 | Observation
|
---|
157 | begObs
|
---|
158 | Observation
|
---|
159 | ...
|
---|
160 | endEpoch
|
---|
161 | begEpoch
|
---|
162 | ...
|
---|
163 | </pre>
|
---|
164 | <p>where the corresponding structures are defined as</p>
|
---|
165 | <pre>
|
---|
166 | const char begEpoch = 'A';
|
---|
167 | const char begObs = 'B';
|
---|
168 | const char endEpoch = 'C';
|
---|
169 | struct Observation {
|
---|
170 | char StatID[5+1]; // Station ID
|
---|
171 | int SVPRN; // Satellite PRN
|
---|
172 | int GPSWeek; // Week of GPS-Time
|
---|
173 | double GPSWeeks; // Second of Week (GPS-Time)
|
---|
174 | double C1; // CA-code pseudorange (meters)
|
---|
175 | double P1; // P1-code pseudorange (meters)
|
---|
176 | double P2; // P2-code pseudorange (meters)
|
---|
177 | double L1; // L1 carrier phase (cycles)
|
---|
178 | double L2; // L2 carrier phase (cycles)
|
---|
179 | int SNR1; // L1 signal-to noise ratio (0.1 dB)
|
---|
180 | int SNR2; // L2 signal-to noise ratio (0.1 dB)
|
---|
181 | } ;
|
---|
182 | </pre>
|
---|
183 |
|
---|
184 | <a name="rinex">
|
---|
185 | <p><h4>B - 5. RINEX</h4></p>
|
---|
186 | <p>
|
---|
187 | Observations 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 omitting the residual part of the mountpoint string. Thus, retrieving data from mountpoints FRANKFURT and WETTZELL leads to hourly RINEX observation files named</p>
|
---|
188 | <p>
|
---|
189 | FRAN{ddd}{h}.{yy}O<br>
|
---|
190 | WETT{ddd}{h}.{yy}O
|
---|
191 | </p>
|
---|
192 | <p>
|
---|
193 | where 'ddd' is the day of year, 'h' is a letter which corresponds to an hour long UTC time block and 'yy' is the year.
|
---|
194 | </p>
|
---|
195 | <p>
|
---|
196 | For those streams that show mountpoints with an identical 4Char Station ID (same first 4 characters), the mountpoint strings are split into two sub-strings and both become part of the RINEX file name. Example: When simultaneously retrieving data from mountpoints FRANKFURT and FRANCE, their hourly RINEX observation file names are defined as</p>
|
---|
197 | <p>
|
---|
198 | FRAN{ddd}{h}_KFURT.{yy}O<br>
|
---|
199 | FRAN{ddd}{h}_CE.{yy}O.
|
---|
200 | </p>
|
---|
201 | <p>
|
---|
202 | If several streams show exactly the same mountpoint (example: BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u>), BNC adds an integer number to the file name leading i.e. to hourly RINEX observation files like</p>
|
---|
203 | <p>
|
---|
204 | BRUS{ddd}{h}_0.{yy}O<br>
|
---|
205 | BRUS{ddd}{h}_1.{yy}O.
|
---|
206 | </p>
|
---|
207 | <p>
|
---|
208 | Note that RINEX file names for all intervals less than 1 hour follow the file name convention for 15 minutes RINEX observation files i.e.</p>
|
---|
209 | <p>
|
---|
210 | FRAN{ddd}{h}{mm}.{yy}O
|
---|
211 | </p>
|
---|
212 | <p>
|
---|
213 | where 'mm' is the starting minute within the hour.
|
---|
214 | </p>
|
---|
215 | <p>
|
---|
216 | BNC's RINEX observation files generally contain C1, P1, P2, L1, and L2 observations. In case an observation is unavailable, its value is set to zero '0.000'. Note that even if a RINEX file does not contain GLONASS data, the 'RINEX TYPE' field in the RINEX file header is set to 'M (MIXED)'.
|
---|
217 | </p>
|
---|
218 |
|
---|
219 | <a name="rnxpath">
|
---|
220 | <p><h4>B - 5.1 RINEX Directory - optional</h4></p>
|
---|
221 | <p>
|
---|
222 | Enter 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.
|
---|
223 | </p>
|
---|
224 |
|
---|
225 | <a name="rnxscript">
|
---|
226 | <p><h4>B - 5.2 RINEX Script - optional</h4></p>
|
---|
227 | <p>
|
---|
228 | Whenever 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).
|
---|
229 | </p>
|
---|
230 |
|
---|
231 | <a name="rnxinterval">
|
---|
232 | <p><h4>B - 5.3 RINEX File Interval - mandatory if 'RINEX directory' set</h4></p>
|
---|
233 | <p>
|
---|
234 | Select the interval for the RINEX file generation. Default for 'RINEX file interval' is 15 minutes.
|
---|
235 | </p>
|
---|
236 |
|
---|
237 | <a name="rnxsample">
|
---|
238 | <p><h4>B - 5.4 RINEX Sampling - mandatory if 'RINEX directory' set </h4></p>
|
---|
239 | <p>
|
---|
240 | Select the RINEX sample interval in seconds. Zero '0' stands for converting all incoming epochs to RINEX. Default for RINEX 'Sampling' is '0'.
|
---|
241 | </p>
|
---|
242 |
|
---|
243 | <a name="rnxskeleton">
|
---|
244 | <p><h4>B - 5.5 RINEX Skeleton Extension - optional</h4></p>
|
---|
245 | <p>
|
---|
246 | BNC 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 interpreted by BNC as a RINEX header skeleton file for the affected stream.
|
---|
247 | </p>
|
---|
248 | <p>
|
---|
249 | Example: RINEX files for mountpoints WETTZELL, FRANKFURT and FRANCE (same 4Char Station ID), BRUS0 from <u>www.euref-ip.net</u> and BRUS0 from <u>www.igs-ip.net</u> (same 4Char Station ID, identical mountpoint stings) would accept skeleton files named</p>
|
---|
250 | <p>
|
---|
251 | WETT.skl<br>
|
---|
252 | FRAN_KFURT.skl<br>
|
---|
253 | FRAN_CE.skl<br>
|
---|
254 | BRUS_0.skl<br>
|
---|
255 | BRUS_1.skl</p>
|
---|
256 | <p>
|
---|
257 | if 'RINEX skeleton extension' is set to 'skl'.
|
---|
258 | </p>
|
---|
259 | <p>
|
---|
260 | Note the following conditions regarding RINEX header skeleton files:
|
---|
261 | <ul>
|
---|
262 | <li>They should contain in the first place a complete header record of type</li>
|
---|
263 | <br> RINEX VERSION / TYPE
|
---|
264 | <li>They should further contain empty header records of type</li>
|
---|
265 | <br> PGM / RUN BY / DATE
|
---|
266 | <br> # / TYPES OF OBSERVATIONS
|
---|
267 | <br> TIME OF FIRST OBS
|
---|
268 | <br>The existence of these empty records force BNC to include such lines in the final RINEX file header together with an additional COMMENT line quoting the source of the stream.
|
---|
269 | <li>They must contain an empty header record of type</li>
|
---|
270 | <br> END OF HEADER
|
---|
271 | <li>They may contain any other complete header record (correct format) as defined in the RINEX Version 2.1 documentation. Their contents may be derived from sitelog files.</li>
|
---|
272 | </ul>
|
---|
273 | <p>
|
---|
274 |
|
---|
275 | <a name="rnxappend">
|
---|
276 | <p><h4>B - 5.6 Append Files</h4></p>
|
---|
277 | <p>
|
---|
278 | When starting BNC, new RINEX files are created by default. Probably existing files will be 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 of BNC. Hit 'Append files' to continue with already existing files and thus save what has been recorded so far. Note that the option 'Append files' also concerns the 'ASCII output file' and the 'Log' file.
|
---|
279 | </p>
|
---|
280 |
|
---|
281 | <a name="mountpoints">
|
---|
282 | <p><h4>B - 6. Mountpoints</h4></p>
|
---|
283 | <p>
|
---|
284 | Each 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 source-table maintained by the NTRIP broadcaster. Note that mountpoints could show up in BNC more than once when retrieving streams from several NTRIP broadcasters.
|
---|
285 | </p>
|
---|
286 |
|
---|
287 | <a name="AddMounts">
|
---|
288 | <p><h4>B - 6.1 Add Mountpoints</h4></p>
|
---|
289 | <p>
|
---|
290 | Button 'Add Mountpoints' opens a window that allows you to select data streams from an NTRIP broadcaster by their mountpoints.
|
---|
291 | </p>
|
---|
292 |
|
---|
293 | <a name="HostPort">
|
---|
294 | <p><h4>B - 6.2 Broadcaster Host and Port - mandatory</h4></p>
|
---|
295 | <p>
|
---|
296 | Enter 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>.
|
---|
297 | </p>
|
---|
298 |
|
---|
299 | <a name="account">
|
---|
300 | <p><h4>B - 6.3 Broadcaster User and Password - mandatory for protected streams</h4></p>
|
---|
301 | <p>
|
---|
302 | Streams on NTRIP broadcasters might be protected by password. 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>.
|
---|
303 | </p>
|
---|
304 |
|
---|
305 | <a name="GetTable">
|
---|
306 | <p><h4>B - 6.4 Get Table</h4></p>
|
---|
307 | <p>
|
---|
308 | Hit button 'Get Table' to download the source-table from the NTRIP broadcaster. Please pay attention to data fields 'format' and 'format-details'. Keep in mind that BNC can only decode and convert streams that come in RTCM 2.x, RTCM 3, or RTIGS formats. 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, even 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.
|
---|
309 | </p>
|
---|
310 | <p>
|
---|
311 | Hit 'OK' to return to the main window. You may like to 'Add Mountpoints' from another NTRIP broadcaster when necessary.
|
---|
312 | </p>
|
---|
313 |
|
---|
314 | <a name="delete">
|
---|
315 | <p><h4>B - 6.5 Delete Mountpoints</h4></p>
|
---|
316 | <p>
|
---|
317 | To delete a stream shown under 'Mountpoints' in the main window, select it by mouse click and hit 'Delete Mountpoints'. For a simultaneous deletion of several streams highlight them using +Shift and +Ctrl.</p>
|
---|
318 |
|
---|
319 | <a name="edit">
|
---|
320 | <p><h4>B - 6.6 Edit Mountpoints</h4></p>
|
---|
321 | <p>
|
---|
322 | BNC automatically selects one out of several incorporated decoders for a stream based on its 'format' and 'format-details' as given in the source-table. It may happen that you need to overrule the automated decoder selection because of source-table 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'.
|
---|
323 | </p>
|
---|
324 |
|
---|
325 | <a name="log">
|
---|
326 | <p><h4>B - 7. Log - optional</h4></p>
|
---|
327 | <p>
|
---|
328 | BNC comments its activities in the 'Log' section on the main windows. Comments can be saved in a file when entering a full path for 'Log' file. Information is given on the communication between BNC and the NTRIP broadcaster as well as on 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.
|
---|
329 | </p>
|
---|
330 |
|
---|
331 | <a name="start">
|
---|
332 | <p><h4>B - 8. Start</h4></p>
|
---|
333 | <p>
|
---|
334 | Hit '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 probably existing files when necessary unless option 'Append files' is set.
|
---|
335 | </p>
|
---|
336 |
|
---|
337 | <a name="stop">
|
---|
338 | <p><h4>B - 9. Stop</h4></p>
|
---|
339 | <p>
|
---|
340 | Hit the 'Stop' button in order to stop BNC.
|
---|
341 | </p>
|
---|
342 |
|
---|
343 | <a name="nw">
|
---|
344 | <p><h4>B - 10. No Window - optional</h4></p>
|
---|
345 | <p>
|
---|
346 | You 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).
|
---|
347 | </p>
|
---|
348 | <p>
|
---|
349 | Note that the self-explaining contents of the configuration file or the Windows register can easily be edited. Terminate BNC using the Windows Task Manager when running it in 'no window' mode on Windows systems.
|
---|
350 | </p>
|
---|
351 | <br>
|
---|
352 | <a name="limits">
|
---|
353 | <p><h3>C - Limitations</h3></p>
|
---|
354 | <ul>
|
---|
355 | <li>
|
---|
356 | The connection to an NTRIP broadcaster may possibly 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 being attempted 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.
|
---|
357 | </li>
|
---|
358 | <li>
|
---|
359 | So 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.
|
---|
360 | </li>
|
---|
361 | <li>
|
---|
362 | Due to a limitation of the RTIGS format and transport protocol, streams coming in that format can only contain GPS data.
|
---|
363 | </li>
|
---|
364 | <li>
|
---|
365 | Concerning 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.
|
---|
366 | </li>
|
---|
367 | <li>
|
---|
368 | If 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).
|
---|
369 | </li>
|
---|
370 | <li>
|
---|
371 | The generated RINEX is somewhat limited due to the streaming character of the conversion.
|
---|
372 | <ul>
|
---|
373 | <li>
|
---|
374 | Header records can only represent data, which are known after receiving the very first epoch. Data rate, position, number of observations and any such additional fields cannot be provided.
|
---|
375 | </li>
|
---|
376 | <li>
|
---|
377 | The number of observable cannot change during the program runtime. Only the observable, which exist in the first epoch are outputted. If there are new observable later on, these are being ignored.
|
---|
378 | </li>
|
---|
379 | </ul>
|
---|
380 | </li>
|
---|
381 | <li>
|
---|
382 | BNC's 'Get Table' function only informs about the STR records of a source-table. Note that you can use an Internet browser to download the full source-table 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.
|
---|
383 | </li>
|
---|
384 | <li>
|
---|
385 | EUREF 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 anyone for any purpose. Up to now it is not clear how many users will have to be supported simultaneously. The given situation may develop in a way that becomes difficult to serve all registered users at all times. 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 centers while access for others might be temporarily denied.
|
---|
386 | </li>
|
---|
387 | <br>
|
---|
388 | </ul>
|
---|
389 | <a name="authors">
|
---|
390 | <p><h3>D - Authors</h3></p>
|
---|
391 | <p>
|
---|
392 | The 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:
|
---|
393 | <ul>
|
---|
394 | <li> RTCM 2.x decoder, written by Oliver Montenbruck, German Space Operations Center, DLR, Oberpfaffenhofen, with contributions from Leos Mervart</li>
|
---|
395 | <li> RTCM 3 decoder, written for BKG by Dirk Stoecker, Euronik GmbH, Schoenefeld</li>
|
---|
396 | <li> RTIGS decoder, written by Ken MacLeod, Natural Resources Canada, NRCan.</li>
|
---|
397 | </ul>
|
---|
398 | </p>
|
---|
399 | <p>
|
---|
400 | Note that this is a beta version of BNC provided for test and evaluation. Please 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 sent your comments, suggestions, or bug reports to:
|
---|
401 | </p>
|
---|
402 | <p>
|
---|
403 | Georg Weber<br>
|
---|
404 | Federal Agency for Cartography and Geodesy (BKG)<br>
|
---|
405 | Frankfurt, Germany<br>
|
---|
406 | euref-ip@bkg.bund.de
|
---|
407 | </p>
|
---|
408 | <br>
|
---|
409 |
|
---|
410 | <a name="links">
|
---|
411 | <p><h3>E - Links</h3></p>
|
---|
412 | <table>
|
---|
413 | <tr></tr>
|
---|
414 | <tr><td>NTRIP </td><td><u>http://igs.bkg.bund.de/index_ntrip.htm</u></td></tr>
|
---|
415 | <tr><td>EUREF-IP NTRIP broadcaster </td><td><u>http://www.euref-ip.net/home</u></td></tr>
|
---|
416 | <tr><td>IGS-IP NTRIP broadcaster </td><td><u>http://www.igs-ip.net/home</u></td></tr>
|
---|
417 | <tr><td>NTRIP broadcaster overview </td><td><u>http://www.rtcm-ntrip.org/home</u></td></tr>
|
---|
418 | <tr><td>EUREF-IP Pilot Project </td><td><u>http://www.epncb.oma.be/euref_IP</u></td></tr>
|
---|
419 | <tr><td>Real-Time IGS Working Group </td><td><u>http://igscb.jpl.nasa.gov/projects/rtwg/index.html</u>
|
---|
420 | </table>
|
---|
421 | <br>
|
---|
422 |
|
---|
423 | <a name="annex">
|
---|
424 | <p><h3>F - Annex</h3></p>
|
---|
425 | <p>
|
---|
426 | F - 1. <a href=#ntrip>NTRIP</a><br>
|
---|
427 | E - 1.1 <a href=#source>Source-table</a><br>
|
---|
428 | F - 2. <a href=#rtcm>RTCM</a><br>
|
---|
429 | F - 2.1 RTCM <a href=#rtcm2> Version 2.x</a><br>
|
---|
430 | F - 2.2 RTCM <a href=#rtcm3> Version 3</a><br>
|
---|
431 | F - 3. <a href=#rtigs>RTIGS</a><br>
|
---|
432 | F - 3.1 <a href=#soc>SOC</a>
|
---|
433 | </p>
|
---|
434 | <br>
|
---|
435 |
|
---|
436 | <a name="ntrip">
|
---|
437 | <p><h4>F - 1. NTRIP</h4></p>
|
---|
438 |
|
---|
439 | <p>
|
---|
440 | '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.
|
---|
441 | </p>
|
---|
442 |
|
---|
443 | <p>
|
---|
444 | NTRIP 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.
|
---|
445 | </p>
|
---|
446 |
|
---|
447 | <p>
|
---|
448 | NTRIP 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.
|
---|
449 | </p>
|
---|
450 |
|
---|
451 | <p>
|
---|
452 | NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
|
---|
453 | <ul>
|
---|
454 | <li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
|
---|
455 | <li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
|
---|
456 | <li>Potential to support mass usage; disseminating hundreds of streams simultaneously for thousands of users possible when applying modified Internet Radio broadcasting software.</li>
|
---|
457 | <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>
|
---|
458 | <li>Enables streaming over mobile IP networks because of using TCP/IP.</li>
|
---|
459 | </ul>
|
---|
460 | </p>
|
---|
461 |
|
---|
462 | <a name="source">
|
---|
463 | <p><h4>F - 1.1 Source-table</h4></p>
|
---|
464 |
|
---|
465 | <p>
|
---|
466 | The NTRIP broadcaster maintains a source-table containing information on available NTRIP streams, networks of NTRIP streams and NTRIP broadcasters. The source-table is sent to an NTRIP client on request. Source-table records are dedicated to one of the following: Data Streams (record type STR), Casters (record type CAS), or Networks of streams (record type NET).
|
---|
467 | </p>
|
---|
468 |
|
---|
469 | <p>
|
---|
470 | Source-table 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'.
|
---|
471 | </p>
|
---|
472 | <p>
|
---|
473 | Source-table records of type NET contain the following data fields: 'identifiey', 'operator', 'authentication', 'fee', 'web-net', 'web-str', 'web-reg', 'misc'.
|
---|
474 | </p>
|
---|
475 | <p>
|
---|
476 | Source-table records of type CAS contain the following data fields: 'host', 'port', 'identifier', 'operator', 'nmea', 'country', 'latitude', 'longitude', 'misc'.
|
---|
477 | </p>
|
---|
478 |
|
---|
479 | <a name="rtcm">
|
---|
480 | <p><h4>F - 2. RTCM</h4></p>
|
---|
481 |
|
---|
482 | <p>
|
---|
483 | The Radio Technical Commission for Maritime Services (RTCM) is an international non-profit scientific, professional and educational organization. Special Committees provide a forum in which governmental and non-governmental 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) are handled by the Special Committee SC 104.
|
---|
484 | <p>
|
---|
485 | Copies of RTCM Recommended Standards can be ordered through <u>http://www.rtcm.org/orderinfo.php</u>.
|
---|
486 | </p>
|
---|
487 | <br>
|
---|
488 |
|
---|
489 | <a name="rtcm2">
|
---|
490 | <p><h4>F - 2.1 RTCM Version 2.x</h4></p>
|
---|
491 | <p>
|
---|
492 | Transmitting GNSS carrier phase data can be done through RTCM Version 2.x messages. Please note that only RTCM Version 2.3 streams may include GLONASS data. Messages that may be of interest here are of type 1, 2, 3, 6, 9, 16,18/19, 20/21, and 22.
|
---|
493 | </p>
|
---|
494 |
|
---|
495 | <ul>
|
---|
496 | <li>
|
---|
497 | Type 1 message is the range correction message and is the primary 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.
|
---|
498 | </li>
|
---|
499 | <li>
|
---|
500 | Type 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.
|
---|
501 | </li>
|
---|
502 | <li>
|
---|
503 | Type 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.
|
---|
504 | </li>
|
---|
505 | <li>
|
---|
506 | Type 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.
|
---|
507 | </li>
|
---|
508 | <li>
|
---|
509 | Type 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.
|
---|
510 | </li>
|
---|
511 | <li>
|
---|
512 | Type 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.
|
---|
513 | </li>
|
---|
514 | <li>
|
---|
515 | Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
|
---|
516 | </li>
|
---|
517 | <li>
|
---|
518 | Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo-range corrections used in RTK.
|
---|
519 | </li>
|
---|
520 | </ul>
|
---|
521 |
|
---|
522 | <a name="rtcm3">
|
---|
523 | <p><h4>F - 2.2 RTCM Version 3</h4></p>
|
---|
524 | <p>
|
---|
525 | RTCM Version 3 has been developed as a more efficient alternative to RTCM 2.x. Service providers and vendors have asked for a 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 Version 3 standard is intended to correct these weaknesses.
|
---|
526 | </p>
|
---|
527 | <p>
|
---|
528 | RTCM Version 3 defines a number of message types. Messages that may be of interest here are:
|
---|
529 | </p>
|
---|
530 | <ul>
|
---|
531 | <li>Tpye 1001, GPS L1 code and phase.</li>
|
---|
532 | <li>Type 1002, GPS L1 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
533 | <li>Type 1003, GPS L1 and L2 code and phase.</li>
|
---|
534 | <li>Type 1004, GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
535 | <li>Type 1005, Station coordinates XZY for antenna reference point.</li>
|
---|
536 | <li>Type 1006, Station coordinates XYZ for antenna reference point and antenna height.</li>
|
---|
537 | <li>Type 1007, Antenna descriptor and ID.</li>
|
---|
538 | <li>Type 1008, Antenna serial number.</li>
|
---|
539 | <li>Type 1009, GLONASS L1 code and phase.</li>
|
---|
540 | <li>Type 1010, GLONASS L1 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
541 | <li>Type 1011, GLONASS L1 and L2 code and phase.</li>
|
---|
542 | <li>Type 1012, GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
543 | <li>Type 1013, Modified julian date, leap second, configured message types and interval.</li>
|
---|
544 | <li>Type 1014 and 1017, Network RTK (MAK) messages (under development).</li>
|
---|
545 | <li>Type 1019, GPS Ephemeris (under development).</li>
|
---|
546 | <li>Type 1020, GLONASS Ephemeris (under development).</li>
|
---|
547 | <li>Type 4088 and 4095, Proprietary messages (under development).
|
---|
548 | </li>
|
---|
549 | </ul>
|
---|
550 |
|
---|
551 | <a name="rtigs">
|
---|
552 | <p><h4>F - 3. RTIGS</h4></p>
|
---|
553 | <p>
|
---|
554 | RTIGS stands for a data format and transport protocol for GPS observations (no GLONASS). It was 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:
|
---|
555 | </p>
|
---|
556 | <p>
|
---|
557 | Station record number 100<br>
|
---|
558 | Observation record (O_T) number 200<br>
|
---|
559 | Ephemeris record (E_T) number 300<br>
|
---|
560 | Meteorological record (M_T) number 400
|
---|
561 | </p>
|
---|
562 | <p>
|
---|
563 | Every station has one of the following unique numbers:
|
---|
564 | </p>
|
---|
565 | <p>
|
---|
566 | 1-99 reserved for JPL<br>
|
---|
567 | 100-199 reserved for NRCan<br>
|
---|
568 | 200-299 reserved for NGS<br>
|
---|
569 | 300-399 reserved for ESOC<br>
|
---|
570 | 400-499 reserved for GFZ<br>
|
---|
571 | 500-599 reserved for BKG<br>
|
---|
572 | 600-699 reserved for GEOSCIENCE AUS<br>
|
---|
573 | 700-799 others<br>
|
---|
574 | etc
|
---|
575 | </p>
|
---|
576 | <p>
|
---|
577 | The number of bytes in each real time message includes the header as well as the data content, but NOT the pointer.
|
---|
578 | </p>
|
---|
579 | <p>
|
---|
580 | For example:
|
---|
581 | </p>
|
---|
582 | <ul>
|
---|
583 | <li>A station message is output once per hour and is 20 bytes.</li>
|
---|
584 | <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>
|
---|
585 | <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>
|
---|
586 | A RTIGSE_T message contains one eph. The message consists of 12 header bytes and 72 ephemeris bytes, for a total of 84 bytes.</li>
|
---|
587 | <li>The RTIGSM_T (met) message should be issued 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>
|
---|
588 | </ul>
|
---|
589 | <p>
|
---|
590 | All 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.
|
---|
591 | </p>
|
---|
592 | <p>
|
---|
593 | Each record header contains the GPS Time in seconds which flows continuously from 6 Jan-1980 onwards.
|
---|
594 | </p>
|
---|
595 | <p>
|
---|
596 | The 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 in order to illustrate where the data is located in the message and one possible data management option.
|
---|
597 | </p>
|
---|
598 | <p>
|
---|
599 | All record data are in network byte order (Big Endian), i.e. IA32 users have to swap bytes.
|
---|
600 | </p>
|
---|
601 | <p>
|
---|
602 | Visit <u>http://igscb.jpl.nasa.gov/mail/igs-rtwg/2004/msg00001.html</u> for further details.
|
---|
603 | </p>
|
---|
604 |
|
---|
605 | <a name="soc">
|
---|
606 | <p><h4>F - 3.1 SOC</h4></p>
|
---|
607 | <p>
|
---|
608 | The 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. 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.
|
---|
609 | </p>
|
---|
610 | <p>
|
---|
611 | Visit <u>http://gipsy.jpl.nasa.gov/igdg/papers/SOC_FORMAT.ppt</u> for further details.
|
---|
612 | </p>
|
---|
613 | <p>
|
---|
614 | </p>
|
---|
615 |
|
---|