|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
How to convert gpsd output to NMEA or similar?Hi
I'm wondering whether there exists a tool or mechanism to convert gpsd output (with r=0) like GPSD,O=RMC 1250426540.000 0.005 49.304183333 11.074100000 ? 36.000 ? 127.0800 6.276 ? ? 72.00 ? 2 GPSD,O=GGA 1250426540.000 0.005 49.304183333 11.074100000 320.000 36.000 89.700 127.0800 6.276 0.000 ? 72.00 ? 3 GPSD,O=GSA 1250426540.000 0.005 49.304183333 11.074100000 320.000 36.000 89.700 127.0800 6.276 0.000 ? 72.00 ? 3 to NMEA or any other GPS format? I believe it should be possible to make use of the values in gpsd output format and put them into the appropriate fields of NMEA sentences like gprmc, gpgga, gpvtg, gpgsa, etc. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> Hi > > I'm wondering whether there exists a tool or mechanism to convert gpsd output > (with r=0) like > > GPSD,O=RMC 1250426540.000 0.005 49.304183333 11.074100000 ? 36.000 ? 127.0800 6.276 ? ? 72.00 ? 2 > GPSD,O=GGA 1250426540.000 0.005 49.304183333 11.074100000 320.000 36.000 89.700 127.0800 6.276 0.000 ? 72.00 ? 3 > GPSD,O=GSA 1250426540.000 0.005 49.304183333 11.074100000 320.000 36.000 89.700 127.0800 6.276 0.000 ? 72.00 ? 3 > > to NMEA or any other GPS format? I believe it should be possible to make use > of the values in gpsd output format and put them into the appropriate fields > of NMEA sentences like gprmc, gpgga, gpvtg, gpgsa, etc. There is no such facility. You may want r=1 for a similar effect. Why do you want to do this? -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Mon, Sep 14, 2009 at 07:25:04AM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > Hi > > > > I'm wondering whether there exists a tool or mechanism to convert gpsd output > > (with r=0) like > > > > GPSD,O=RMC 1250426540.000 0.005 49.304183333 11.074100000 ? 36.000 ? 127.0800 6.276 ? ? 72.00 ? 2 > > GPSD,O=GGA 1250426540.000 0.005 49.304183333 11.074100000 320.000 36.000 89.700 127.0800 6.276 0.000 ? 72.00 ? 3 > > GPSD,O=GSA 1250426540.000 0.005 49.304183333 11.074100000 320.000 36.000 89.700 127.0800 6.276 0.000 ? 72.00 ? 3 > > > > to NMEA or any other GPS format? I believe it should be possible to make use > > of the values in gpsd output format and put them into the appropriate fields > > of NMEA sentences like gprmc, gpgga, gpvtg, gpgsa, etc. > > There is no such facility. You may want r=1 for a similar effect. Why do you > want to do this? Well, Merkaartor (OpenStreetMap Editor) does use r=0 when connecting to gpsd and reads this gpsd output instead of NMEA-like r=1 output (not sure why it prefers w=0, I didn't write the code). Unlike when connecting directly to a GPS device via /dev/ttyS1 Merkaartor does not save the recorded trackpoints. Probably because it is not NMEA what is read. Now I'm wondering what can be done to save the output also when using gpsd. Makes sense? Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> Well, Merkaartor (OpenStreetMap Editor) does use r=0 when connecting to gpsd > and reads this gpsd output instead of NMEA-like r=1 output (not sure why it > prefers w=0, I didn't write the code). I know why. Our O format is much m,ore regular and easier to parse. > Unlike when connecting directly to a > GPS device via /dev/ttyS1 Merkaartor does not save the recorded > trackpoints. Probably because it is not NMEA what is read. Now I'm wondering > what can be done to save the output also when using gpsd. Makes sense? See gpspipe. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar? > Stefan Dirsch <sndirsch@...>:
> > Well, Merkaartor (OpenStreetMap Editor) does use r=0 when connecting to gpsd > > and reads this gpsd output instead of NMEA-like r=1 output (not sure why it > > prefers w=0, I didn't write the code). > > I know why. Our O format is much m,ore regular and easier to parse. > > > Unlike when connecting directly to a > > GPS device via /dev/ttyS1 Merkaartor does not save the recorded > > trackpoints. Probably because it is not NMEA what is read. there's no reason merkaartor couldn't save trackpoints when connecting via the gpsd protocol. the information is all there. paul > > Now I'm wondering > > what can be done to save the output also when using gpsd. Makes sense? > > See gpspipe. =--------------------- paul fox, pgf@... (arlington, ma, where it's 61.9 degrees) _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Mon, Sep 14, 2009 at 10:13:24PM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > Well, Merkaartor (OpenStreetMap Editor) does use r=0 when connecting to gpsd > > and reads this gpsd output instead of NMEA-like r=1 output (not sure why it > > prefers w=0, I didn't write the code). > > I know why. Our O format is much m,ore regular and easier to parse. Merkaartor has also parsers for the NMEA sentences GGA, GLL, GSA, RMC, GSV, but it doesn't make use of them when connecting to gpsd instead of directly to a NMEA speaking device. So this is probably not the reason. > > Unlike when connecting directly to a > > GPS device via /dev/ttyS1 Merkaartor does not save the recorded > > trackpoints. Probably because it is not NMEA what is read. Now I'm wondering > > what can be done to save the output also when using gpsd. Makes sense? > > See gpspipe. Hmm. How can gpspipe help here? Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Mon, Sep 14, 2009 at 10:22:06PM -0400, Paul Fox wrote:
> > Stefan Dirsch <sndirsch@...>: > > > Well, Merkaartor (OpenStreetMap Editor) does use r=0 when connecting to gpsd > > > and reads this gpsd output instead of NMEA-like r=1 output (not sure why it > > > prefers w=0, I didn't write the code). > > > > I know why. Our O format is much m,ore regular and easier to parse. > > > > > Unlike when connecting directly to a > > > GPS device via /dev/ttyS1 Merkaartor does not save the recorded > > > trackpoints. Probably because it is not NMEA what is read. > > there's no reason merkaartor couldn't save trackpoints when connecting > via the gpsd protocol. the information is all there. With r=0 things like hdop have been converted to horizontal error estimate (in meters). Not sure whether it's possible to calculate the original values. Probably not. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> > See gpspipe. > > Hmm. How can gpspipe help here? Use it to capture the O output. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> With r=0 things like hdop have been converted to horizontal error estimate (in > meters). Not sure whether it's possible to calculate the original values. > Probably not. It isn't. But I could add the DOPs to the skyview report, and probably should. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Tue, Sep 15, 2009 at 05:29:54AM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > With r=0 things like hdop have been converted to horizontal error estimate (in > > meters). Not sure whether it's possible to calculate the original values. > > Probably not. > > It isn't. But I could add the DOPs to the skyview report, and probably should. What do you mean with skyview report, the y output maybe? Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Tue, Sep 15, 2009 at 05:20:39AM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > > See gpspipe. > > > > Hmm. How can gpspipe help here? > > Use it to capture the O output. Merkaartor already captures the O output. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> On Tue, Sep 15, 2009 at 05:29:54AM -0400, Eric S. Raymond wrote: > > Stefan Dirsch <sndirsch@...>: > > > With r=0 things like hdop have been converted to horizontal error estimate (in > > > meters). Not sure whether it's possible to calculate the original values. > > > Probably not. > > > > It isn't. But I could add the DOPs to the skyview report, and probably should. > > What do you mean with skyview report, the y output maybe? No, the SKY response in JSON. The old protocol can't be modified thisd way wuithout breaking everything. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> On Tue, Sep 15, 2009 at 05:20:39AM -0400, Eric S. Raymond wrote: > > Stefan Dirsch <sndirsch@...>: > > > > See gpspipe. > > > > > > Hmm. How can gpspipe help here? > > > > Use it to capture the O output. > > Merkaartor already captures the O output. Then I do not undestand your question. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Tue, Sep 15, 2009 at 11:38:10AM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > On Tue, Sep 15, 2009 at 05:20:39AM -0400, Eric S. Raymond wrote: > > > Stefan Dirsch <sndirsch@...>: > > > > > See gpspipe. > > > > > > > > Hmm. How can gpspipe help here? > > > > > > Use it to capture the O output. > > > > Merkaartor already captures the O output. > > Then I do not undestand your question. The question was: "Unlike when connecting directly to a GPS device via /dev/ttyS1 Merkaartor does not save the recorded trackpoints. Probably because it is not NMEA what is read. Now I'm wondering what can be done to save the output also when using gpsd?" I mean, what's the use in saving the O output, if this is a format, which you can't convert to anything, as you've told me before? Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Tue, Sep 15, 2009 at 11:37:16AM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > On Tue, Sep 15, 2009 at 05:29:54AM -0400, Eric S. Raymond wrote: > > > Stefan Dirsch <sndirsch@...>: > > > > With r=0 things like hdop have been converted to horizontal error estimate (in > > > > meters). Not sure whether it's possible to calculate the original values. > > > > Probably not. > > > > > > It isn't. But I could add the DOPs to the skyview report, and probably should. > > > > What do you mean with skyview report, the y output maybe? > > No, the SKY response in JSON. The old protocol can't be modified this > way without breaking everything. Understood. So this would be an enhancement for GPSD-NG as you've documented on http://gpsd.berlios.de/protocol-evolution.html Thanks, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> > No, the SKY response in JSON. The old protocol can't be modified this > > way without breaking everything. > > Understood. So this would be an enhancement for GPSD-NG as you've documented > on > > http://gpsd.berlios.de/protocol-evolution.html Correct. More complete documendation is at gpsd.8. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> > Then I do not undestand your question. > > The question was: > > "Unlike when connecting directly to a GPS device via /dev/ttyS1 Merkaartor > does not save the recorded trackpoints. Probably because it is not NMEA what > is read. Now I'm wondering what can be done to save the output also when > using gpsd?" > > I mean, what's the use in saving the O output, if this is a format, which you > can't convert to anything, as you've told me before? I still don't understand your question. Do you want to know what other format besides O gpsd can dump? If so, the answer is that it can pass through NMEA, or generate pseudo-NMEA from binary deiced. Try gpspire with raw mode on. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Tue, Sep 15, 2009 at 12:56:59PM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > > Then I do not undestand your question. > > > > The question was: > > > > "Unlike when connecting directly to a GPS device via /dev/ttyS1 Merkaartor > > does not save the recorded trackpoints. Probably because it is not NMEA what > > is read. Now I'm wondering what can be done to save the output also when > > using gpsd?" > > > > I mean, what's the use in saving the O output, if this is a format, which you > > can't convert to anything, as you've told me before? > > I still don't understand your question. Do you want to know what > other format besides O gpsd can dump? If so, the answer is that it > can pass through NMEA, or generate pseudo-NMEA from binary deiced. > Try gpspire with raw mode on. I know that there are the following outputs possible with gpsd a) native gpsdsentences (r=0) b) raw NMEA sentences (r=1) c) super-raw (gps binary) (r=2) Merkaartor uses a), shows the information on the map, but doesn't save it. Instead of using gpsd in Merkaartor you can also connect directly to a NMEA device. In that case it saves the NMEA sentences. What I wanted to do is to save the information also when connecting to gpsd. Of course one way to do this would be to use b) instead of a) and simply save the NMEA sentences. But there might have been a reason why Merkaartor uses a), so I wondered whether it would make sense to save a) in NMEA format or convert it to NMEA afterwards. Does this background help to understand my question? Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?Stefan Dirsch <sndirsch@...>:
> I know that there are the following outputs possible with gpsd > > a) native gpsdsentences (r=0) > b) raw NMEA sentences (r=1) > c) super-raw (gps binary) (r=2) > > Merkaartor uses a), shows the information on the map, but doesn't save it. > Instead of using gpsd in Merkaartor you can also connect directly to a NMEA > device. In that case it saves the NMEA sentences. What I wanted to do is to > save the information also when connecting to gpsd. You appear to asking me a question about Merkaartor, which I cannot answer. > Of course one way to do this would be to use b) instead of a) and simply save > the NMEA sentences. But there might have been a reason why Merkaartor uses a), > so I wondered whether it would make sense to save a) in NMEA format or convert > it to NMEA afterwards. > > Does this background help to understand my question? Yes. It is not one I can answer. I don't know why Merkaartor behaves as it does, nor how to change that. -- <a href="http://www.catb.org/~esr/">Eric S. Raymond</a> _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
|
|
Re: How to convert gpsd output to NMEA or similar?On Tue, Sep 15, 2009 at 03:42:37PM -0400, Eric S. Raymond wrote:
> Stefan Dirsch <sndirsch@...>: > > I know that there are the following outputs possible with gpsd > > > > a) native gpsdsentences (r=0) > > b) raw NMEA sentences (r=1) > > c) super-raw (gps binary) (r=2) > > > > Merkaartor uses a), shows the information on the map, but doesn't save it. > > Instead of using gpsd in Merkaartor you can also connect directly to a NMEA > > device. In that case it saves the NMEA sentences. What I wanted to do is to > > save the information also when connecting to gpsd. > > You appear to asking me a question about Merkaartor, which I cannot answer. > > > Of course one way to do this would be to use b) instead of a) and simply save > > the NMEA sentences. But there might have been a reason why Merkaartor uses a), > > so I wondered whether it would make sense to save a) in NMEA format or convert > > it to NMEA afterwards. > > > > Does this background help to understand my question? > > Yes. It is not one I can answer. I don't know why Merkaartor behaves as > it does, nor how to change that. Well, the question was if there is a tool to convert a) to NMEA sentences. You told me that there is no such facility. After asking me why I wanted to do this, you now know more about Merkaartor than you ever wanted to know. ;-) I apologize for wasting your time! Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- _______________________________________________ Gpsd-users mailing list Gpsd-users@... https://lists.berlios.de/mailman/listinfo/gpsd-users |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |