Modify

Opened 17 years ago

Closed 17 years ago

Last modified 2 years ago

#675 closed enhancement (fixed)

NMEA uploads

Reported by: sbarar@… Owned by: framm
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:

Description

Right now we have to convert our nmea file to gpx using gpsbabel. Is it possible to:
either - directly incorporate upload of nmea files
or - incorporate gpsbabel to convert to gpx from various type of file formats?

Attachments (5)

ExtensionFileFilter.patch (1.1 KB ) - added by jennergruhle 17 years ago.
Patch to add NMEA functionality
OpenAction.patch (2.5 KB ) - added by jennergruhle 17 years ago.
Patch to add NMEA functionality
NmeaReader.java (3.7 KB ) - added by jennergruhle 17 years ago.
New class to add NMEA functionality
josm-nmea-support.patch (8.3 KB ) - added by egore@… 17 years ago.
This adds support for parsing NMEA-0183 files
josm-nmea-support.2.patch (7.8 KB ) - added by egore@… 17 years ago.
Patch that merges the two patches. Should work correct now

Download all attachments as: .zip

Change History (11)

comment:1 by jennergruhle, 17 years ago

I have already implemented NMEA import functionality. I added a new class named org.openstreetmap.josm.io.NmeaReader and added some code to org.openstreetmap.josm.actions.ExtensionFileFilter and org.openstreetmap.josm.actions.OpenAction to acheive that.
I would like to submit this to the project but don't have an account capable of committing code.

in reply to:  1 comment:2 by cm, 17 years ago

Replying to jennergruhle:

I would like to submit this to the project but don't have an account capable of committing code.

You can submit a patch right here. No need for an account.

comment:3 by jennergruhle, 17 years ago

Sorry - I can't post the patches and the new file here (neither as Attachments nor as plain text content) - Trac doesn't accept them and always produces errors. Is there any other way for sending them in?

by jennergruhle, 17 years ago

Attachment: ExtensionFileFilter.patch added

Patch to add NMEA functionality

by jennergruhle, 17 years ago

Attachment: OpenAction.patch added

Patch to add NMEA functionality

by jennergruhle, 17 years ago

Attachment: NmeaReader.java added

New class to add NMEA functionality

comment:4 by jennergruhle, 17 years ago

Well, I succeeded today with uploading the files, at last.
I have tested the NMEA functionality with files generated by a Royaltek RBT-2300 Data Logger. Only lines starting with "$GPRMC" are processed, and number format errors are ignored silently. Maybe there could be a better way for signalling wrong data, but this first approach works fine for correct NMEA input files.

by egore@…, 17 years ago

Attachment: josm-nmea-support.patch added

This adds support for parsing NMEA-0183 files

comment:47 by egore@…, 17 years ago

I didn't know such a patch existed and so I did my own. It's able to handle the nmea-traces I did and also puts them on a track. I get the same result importing my NMEA direct or converting it to GPX (via gpsbabel) and importing it then.

by egore@…, 17 years ago

Attachment: josm-nmea-support.2.patch added

Patch that merges the two patches. Should work correct now

comment:48 by framm, 17 years ago

Resolution: fixed
Status: newclosed

applied in r737.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.