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 retrieves information needed for RINEX headers from so-called public RINEX header skeleton files as derived from sitelogs. An HTTP link to a directory containing these skeleton files may be available through data field number 7 of the affected NET record in the source-table. See <u>http://www.epncb.oma.be:80/stations/log/skl/BRUS.skl</u> for an example for a public RINEX header skeleton file concerning the EPN station Brussels.
|
---|
247 | </p>
|
---|
248 | <p>
|
---|
249 | However, it may happen that public RINEX header skeleton files are not available, its contents is not up to date or you need to have additional/optional records in the RINEX header. For that BNC lets you introduce personal skeleton files that contain the header records you would like to see. You may derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the 'RINEX directory' with the 'RINEX skeleton extension' is interpreted by BNC as a personal RINEX header skeleton file for the affected stream.
|
---|
250 | </p>
|
---|
251 | <p>
|
---|
252 | Example for file name convention: 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 personal skeleton files named</p>
|
---|
253 | <p>
|
---|
254 | WETT.skl<br>
|
---|
255 | FRAN_KFURT.skl<br>
|
---|
256 | FRAN_CE.skl<br>
|
---|
257 | BRUS_0.skl<br>
|
---|
258 | BRUS_1.skl</p>
|
---|
259 | <p>
|
---|
260 | if 'RINEX skeleton extension' is set to 'skl'.
|
---|
261 | </p>
|
---|
262 | <p>
|
---|
263 | Note the following conditions regarding personal RINEX header skeleton files:
|
---|
264 | <ul>
|
---|
265 | <li>If such a file appear appears in the 'RINEX directory', a probably existing public RINEX header skeleton file is ignored. The RINEX header is generated solely from the contents of the personal skeleton.</li>
|
---|
266 | <li>They should contain <u>complete</u> header record of type</li>
|
---|
267 | <br> RINEX VERSION / TYPE (first record)
|
---|
268 | <br> MARKER NAME
|
---|
269 | <br> OBSERVER / AGENCY
|
---|
270 | <br> REC # / TYPE / VERS
|
---|
271 | <br> ANT # / TYPE
|
---|
272 | <br> APPROX POSITION XYZ
|
---|
273 | <br> ANTENNA: DELTA H/E/N
|
---|
274 | <br> WAVELENGTH FACT L1/2
|
---|
275 | <li>They should further contain <u>empty</u> header records of type</li>
|
---|
276 | <br> PGM / RUN BY / DATE
|
---|
277 | <br> # / TYPES OF OBSERVATIONS
|
---|
278 | <br> TIME OF FIRST OBS
|
---|
279 | <br>The existence of these empty records force BNC to include such lines in the final RINEX file header together with an additional
|
---|
280 | <br> COMMENT
|
---|
281 | <br>line quoting the source of the stream.
|
---|
282 | <li>They must contain an empty header record of type</li>
|
---|
283 | <br> END OF HEADER (last record)
|
---|
284 | <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>
|
---|
285 | </ul>
|
---|
286 | <p>
|
---|
287 | If neither a public nor a personal RINEX header skeleton file is available for BNC, a default header is generated for the affected RINEX file.
|
---|
288 | </p>
|
---|
289 |
|
---|
290 | <p>
|
---|
291 |
|
---|
292 | <a name="rnxappend">
|
---|
293 | <p><h4>B - 5.6 Append Files</h4></p>
|
---|
294 | <p>
|
---|
295 | 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.
|
---|
296 | </p>
|
---|
297 |
|
---|
298 | <a name="mountpoints">
|
---|
299 | <p><h4>B - 6. Mountpoints</h4></p>
|
---|
300 | <p>
|
---|
301 | 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.
|
---|
302 | </p>
|
---|
303 |
|
---|
304 | <a name="AddMounts">
|
---|
305 | <p><h4>B - 6.1 Add Mountpoints</h4></p>
|
---|
306 | <p>
|
---|
307 | Button 'Add Mountpoints' opens a window that allows you to select data streams from an NTRIP broadcaster by their mountpoints.
|
---|
308 | </p>
|
---|
309 |
|
---|
310 | <a name="HostPort">
|
---|
311 | <p><h4>B - 6.2 Broadcaster Host and Port - mandatory</h4></p>
|
---|
312 | <p>
|
---|
313 | 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>.
|
---|
314 | </p>
|
---|
315 |
|
---|
316 | <a name="account">
|
---|
317 | <p><h4>B - 6.3 Broadcaster User and Password - mandatory for protected streams</h4></p>
|
---|
318 | <p>
|
---|
319 | 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>.
|
---|
320 | </p>
|
---|
321 |
|
---|
322 | <a name="GetTable">
|
---|
323 | <p><h4>B - 6.4 Get Table</h4></p>
|
---|
324 | <p>
|
---|
325 | 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.
|
---|
326 | </p>
|
---|
327 | <p>
|
---|
328 | Hit 'OK' to return to the main window. You may like to 'Add Mountpoints' from another NTRIP broadcaster when necessary.
|
---|
329 | </p>
|
---|
330 |
|
---|
331 | <a name="delete">
|
---|
332 | <p><h4>B - 6.5 Delete Mountpoints</h4></p>
|
---|
333 | <p>
|
---|
334 | 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>
|
---|
335 |
|
---|
336 | <a name="edit">
|
---|
337 | <p><h4>B - 6.6 Edit Mountpoints</h4></p>
|
---|
338 | <p>
|
---|
339 | 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'.
|
---|
340 | </p>
|
---|
341 |
|
---|
342 | <a name="log">
|
---|
343 | <p><h4>B - 7. Log - optional</h4></p>
|
---|
344 | <p>
|
---|
345 | 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.
|
---|
346 | </p>
|
---|
347 |
|
---|
348 | <a name="start">
|
---|
349 | <p><h4>B - 8. Start</h4></p>
|
---|
350 | <p>
|
---|
351 | 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.
|
---|
352 | </p>
|
---|
353 |
|
---|
354 | <a name="stop">
|
---|
355 | <p><h4>B - 9. Stop</h4></p>
|
---|
356 | <p>
|
---|
357 | Hit the 'Stop' button in order to stop BNC.
|
---|
358 | </p>
|
---|
359 |
|
---|
360 | <a name="nw">
|
---|
361 | <p><h4>B - 10. No Window - optional</h4></p>
|
---|
362 | <p>
|
---|
363 | 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).
|
---|
364 | </p>
|
---|
365 | <p>
|
---|
366 | 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.
|
---|
367 | </p>
|
---|
368 | <br>
|
---|
369 | <a name="limits">
|
---|
370 | <p><h3>C - Limitations</h3></p>
|
---|
371 | <ul>
|
---|
372 | <li>
|
---|
373 | 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.
|
---|
374 | </li>
|
---|
375 | <li>
|
---|
376 | 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.
|
---|
377 | </li>
|
---|
378 | <li>
|
---|
379 | Due to a limitation of the RTIGS format and transport protocol, streams coming in that format can only contain GPS data.
|
---|
380 | </li>
|
---|
381 | <li>
|
---|
382 | 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.
|
---|
383 | </li>
|
---|
384 | <li>
|
---|
385 | 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).
|
---|
386 | </li>
|
---|
387 | <li>
|
---|
388 | The generated RINEX is somewhat limited due to the streaming character of the conversion.
|
---|
389 | <ul>
|
---|
390 | <li>
|
---|
391 | 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.
|
---|
392 | </li>
|
---|
393 | <li>
|
---|
394 | 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.
|
---|
395 | </li>
|
---|
396 | </ul>
|
---|
397 | </li>
|
---|
398 | <li>
|
---|
399 | 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.
|
---|
400 | </li>
|
---|
401 | <li>
|
---|
402 | 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.
|
---|
403 | </li>
|
---|
404 | <br>
|
---|
405 | </ul>
|
---|
406 | <a name="authors">
|
---|
407 | <p><h3>D - Authors</h3></p>
|
---|
408 | <p>
|
---|
409 | 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:
|
---|
410 | <ul>
|
---|
411 | <li> RTCM 2.x decoder, written by Oliver Montenbruck, German Space Operations Center, DLR, Oberpfaffenhofen, with contributions from Leos Mervart</li>
|
---|
412 | <li> RTCM 3 decoder, written for BKG by Dirk Stoecker, Euronik GmbH, Schoenefeld</li>
|
---|
413 | <li> RTIGS decoder, written by Ken MacLeod, National Resources, Canada.</li>
|
---|
414 | </ul>
|
---|
415 | </p>
|
---|
416 | <p>
|
---|
417 | 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:
|
---|
418 | </p>
|
---|
419 | <p>
|
---|
420 | Georg Weber<br>
|
---|
421 | Federal Agency for Cartography and Geodesy (BKG)<br>
|
---|
422 | Frankfurt, Germany<br>
|
---|
423 | euref-ip@bkg.bund.de
|
---|
424 | </p>
|
---|
425 | <br>
|
---|
426 |
|
---|
427 | <a name="links">
|
---|
428 | <p><h3>E - Links</h3></p>
|
---|
429 | <table>
|
---|
430 | <tr></tr>
|
---|
431 | <tr><td>NTRIP </td><td><u>http://igs.bkg.bund.de/index_ntrip.htm</u></td></tr>
|
---|
432 | <tr><td>EUREF-IP NTRIP broadcaster </td><td><u>http://www.euref-ip.net/home</u></td></tr>
|
---|
433 | <tr><td>IGS-IP NTRIP broadcaster </td><td><u>http://www.igs-ip.net/home</u></td></tr>
|
---|
434 | <tr><td>NTRIP broadcaster overview </td><td><u>http://www.rtcm-ntrip.org/home</u></td></tr>
|
---|
435 | <tr><td>EUREF-IP Pilot Project </td><td><u>http://www.epncb.oma.be/euref_IP</u></td></tr>
|
---|
436 | <tr><td>Real-Time IGS Working Group </td><td><u>http://igscb.jpl.nasa.gov/projects/rtwg/index.html</u>
|
---|
437 | </table>
|
---|
438 | <br>
|
---|
439 |
|
---|
440 | <a name="annex">
|
---|
441 | <p><h3>F - Annex</h3></p>
|
---|
442 | <p>
|
---|
443 | F - 1. <a href=#ntrip>NTRIP</a><br>
|
---|
444 | E - 1.1 <a href=#source>Source-table</a><br>
|
---|
445 | F - 2. <a href=#rtcm>RTCM</a><br>
|
---|
446 | F - 2.1 RTCM <a href=#rtcm2> Version 2.x</a><br>
|
---|
447 | F - 2.2 RTCM <a href=#rtcm3> Version 3</a><br>
|
---|
448 | F - 3. <a href=#rtigs>RTIGS</a><br>
|
---|
449 | F - 3.1 <a href=#soc>SOC</a>
|
---|
450 | </p>
|
---|
451 | <br>
|
---|
452 |
|
---|
453 | <a name="ntrip">
|
---|
454 | <p><h4>F - 1. NTRIP</h4></p>
|
---|
455 |
|
---|
456 | <p>
|
---|
457 | '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.
|
---|
458 | </p>
|
---|
459 |
|
---|
460 | <p>
|
---|
461 | 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.
|
---|
462 | </p>
|
---|
463 |
|
---|
464 | <p>
|
---|
465 | 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.
|
---|
466 | </p>
|
---|
467 |
|
---|
468 | <p>
|
---|
469 | NTRIP is an open none-proprietary protocol. Major characteristics of NTRIP's dissemination technique are:
|
---|
470 | <ul>
|
---|
471 | <li>Based on the popular HTTP streaming standard; comparatively easy to implement when having limited client and server platform resources available.</li>
|
---|
472 | <li>Application not limited to one particular plain or coded stream content; ability to distribute any kind of GNSS data.</li>
|
---|
473 | <li>Potential to support mass usage; disseminating hundreds of streams simultaneously for thousands of users possible when applying modified Internet Radio broadcasting software.</li>
|
---|
474 | <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>
|
---|
475 | <li>Enables streaming over mobile IP networks because of using TCP/IP.</li>
|
---|
476 | </ul>
|
---|
477 | </p>
|
---|
478 |
|
---|
479 | <a name="source">
|
---|
480 | <p><h4>F - 1.1 Source-table</h4></p>
|
---|
481 |
|
---|
482 | <p>
|
---|
483 | 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).
|
---|
484 | </p>
|
---|
485 |
|
---|
486 | <p>
|
---|
487 | 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'.
|
---|
488 | </p>
|
---|
489 | <p>
|
---|
490 | Source-table records of type NET contain the following data fields: 'identifiey', 'operator', 'authentication', 'fee', 'web-net', 'web-str', 'web-reg', 'misc'.
|
---|
491 | </p>
|
---|
492 | <p>
|
---|
493 | Source-table records of type CAS contain the following data fields: 'host', 'port', 'identifier', 'operator', 'nmea', 'country', 'latitude', 'longitude', 'misc'.
|
---|
494 | </p>
|
---|
495 |
|
---|
496 | <a name="rtcm">
|
---|
497 | <p><h4>F - 2. RTCM</h4></p>
|
---|
498 |
|
---|
499 | <p>
|
---|
500 | 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.
|
---|
501 | <p>
|
---|
502 | Copies of RTCM Recommended Standards can be ordered through <u>http://www.rtcm.org/orderinfo.php</u>.
|
---|
503 | </p>
|
---|
504 | <br>
|
---|
505 |
|
---|
506 | <a name="rtcm2">
|
---|
507 | <p><h4>F - 2.1 RTCM Version 2.x</h4></p>
|
---|
508 | <p>
|
---|
509 | 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.
|
---|
510 | </p>
|
---|
511 |
|
---|
512 | <ul>
|
---|
513 | <li>
|
---|
514 | 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.
|
---|
515 | </li>
|
---|
516 | <li>
|
---|
517 | 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.
|
---|
518 | </li>
|
---|
519 | <li>
|
---|
520 | 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.
|
---|
521 | </li>
|
---|
522 | <li>
|
---|
523 | 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.
|
---|
524 | </li>
|
---|
525 | <li>
|
---|
526 | 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.
|
---|
527 | </li>
|
---|
528 | <li>
|
---|
529 | 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.
|
---|
530 | </li>
|
---|
531 | <li>
|
---|
532 | Type 18 and 20 messages are RTK uncorrected carrier phase data and carrier phase corrections.
|
---|
533 | </li>
|
---|
534 | <li>
|
---|
535 | Type 19 and 21 messages are the uncorrected pseudo-range measurements and pseudo-range corrections used in RTK.
|
---|
536 | </li>
|
---|
537 | </ul>
|
---|
538 |
|
---|
539 | <a name="rtcm3">
|
---|
540 | <p><h4>F - 2.2 RTCM Version 3</h4></p>
|
---|
541 | <p>
|
---|
542 | 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.
|
---|
543 | </p>
|
---|
544 | <p>
|
---|
545 | RTCM Version 3 defines a number of message types. Messages that may be of interest here are:
|
---|
546 | </p>
|
---|
547 | <ul>
|
---|
548 | <li>Tpye 1001, GPS L1 code and phase.</li>
|
---|
549 | <li>Type 1002, GPS L1 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
550 | <li>Type 1003, GPS L1 and L2 code and phase.</li>
|
---|
551 | <li>Type 1004, GPS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
552 | <li>Type 1005, Station coordinates XZY for antenna reference point.</li>
|
---|
553 | <li>Type 1006, Station coordinates XYZ for antenna reference point and antenna height.</li>
|
---|
554 | <li>Type 1007, Antenna descriptor and ID.</li>
|
---|
555 | <li>Type 1008, Antenna serial number.</li>
|
---|
556 | <li>Type 1009, GLONASS L1 code and phase.</li>
|
---|
557 | <li>Type 1010, GLONASS L1 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
558 | <li>Type 1011, GLONASS L1 and L2 code and phase.</li>
|
---|
559 | <li>Type 1012, GLONASS L1 and L2 code and phase and ambiguities and carrier to noise ratio.</li>
|
---|
560 | <li>Type 1013, Modified julian date, leap second, configured message types and interval.</li>
|
---|
561 | <li>Type 1014 and 1017, Network RTK (MAK) messages (under development).</li>
|
---|
562 | <li>Type 1019, GPS Ephemeris (under development).</li>
|
---|
563 | <li>Type 1020, GLONASS Ephemeris (under development).</li>
|
---|
564 | <li>Type 4088 and 4095, Proprietary messages (under development).
|
---|
565 | </li>
|
---|
566 | </ul>
|
---|
567 |
|
---|
568 | <a name="rtigs">
|
---|
569 | <p><h4>F - 3. RTIGS</h4></p>
|
---|
570 | <p>
|
---|
571 | 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:
|
---|
572 | </p>
|
---|
573 | <p>
|
---|
574 | Station record number 100<br>
|
---|
575 | Observation record (O_T) number 200<br>
|
---|
576 | Ephemeris record (E_T) number 300<br>
|
---|
577 | Meteorological record (M_T) number 400
|
---|
578 | </p>
|
---|
579 | <p>
|
---|
580 | Every station has one of the following unique numbers:
|
---|
581 | </p>
|
---|
582 | <p>
|
---|
583 | 1-99 reserved for JPL<br>
|
---|
584 | 100-199 reserved for NRCan<br>
|
---|
585 | 200-299 reserved for NGS<br>
|
---|
586 | 300-399 reserved for ESOC<br>
|
---|
587 | 400-499 reserved for GFZ<br>
|
---|
588 | 500-599 reserved for BKG<br>
|
---|
589 | 600-699 reserved for GEOSCIENCE AUS<br>
|
---|
590 | 700-799 others<br>
|
---|
591 | etc
|
---|
592 | </p>
|
---|
593 | <p>
|
---|
594 | The number of bytes in each real time message includes the header as well as the data content, but NOT the pointer.
|
---|
595 | </p>
|
---|
596 | <p>
|
---|
597 | For example:
|
---|
598 | </p>
|
---|
599 | <ul>
|
---|
600 | <li>A station message is output once per hour and is 20 bytes.</li>
|
---|
601 | <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>
|
---|
602 | <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>
|
---|
603 | 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>
|
---|
604 | <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>
|
---|
605 | </ul>
|
---|
606 | <p>
|
---|
607 | 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.
|
---|
608 | </p>
|
---|
609 | <p>
|
---|
610 | Each record header contains the GPS Time in seconds which flows continuously from 6 Jan-1980 onwards.
|
---|
611 | </p>
|
---|
612 | <p>
|
---|
613 | 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.
|
---|
614 | </p>
|
---|
615 | <p>
|
---|
616 | All record data are in network byte order (Big Endian), i.e. IA32 users have to swap bytes.
|
---|
617 | </p>
|
---|
618 | <p>
|
---|
619 | Visit <u>http://igscb.jpl.nasa.gov/mail/igs-rtwg/2004/msg00001.html</u> for further details.
|
---|
620 | </p>
|
---|
621 |
|
---|
622 | <a name="soc">
|
---|
623 | <p><h4>F - 3.1 SOC</h4></p>
|
---|
624 | <p>
|
---|
625 | 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.
|
---|
626 | </p>
|
---|
627 | <p>
|
---|
628 | Visit <u>http://gipsy.jpl.nasa.gov/igdg/papers/SOC_FORMAT.ppt</u> for further details.
|
---|
629 | </p>
|
---|
630 | <p>
|
---|
631 | </p>
|
---|
632 |
|
---|