Comment

Jan 25, 2012 at 6:36 AM

// Append latitude in the format HHMM.MMMM.
builder.Append(position.Latitude.ToString("HHMM.MMMM, I,", NmeaCultureInfo));
// Append Longitude in the format HHHMM.MMMM.
builder.Append(position.Longitude.ToString("HHHMM.MMMM, I,", NmeaCultureInfo));

to:

// Append latitude in the format HHMM.MMMM.
builder.Append(position.Latitude.ToString("HHMM.MMMM,I,", NmeaCultureInfo));
// Append Longitude in the format HHHMM.MMMM.
builder.Append(position.Longitude.ToString("HHHMM.MMMM,I,", NmeaCultureInfo));

If this is not done, done correctly determine the position.

Developer
Jan 25, 2012 at 3:11 PM

There are three locations where I find this code. Which ones were you referring to?

C:\dev\DotSpatial\DotSpatial.Positioning\DotSpatial.Positioning\GpggaSentence.cs(177):  C:\dev\DotSpatial\DotSpatial.Positioning\DotSpatial.Positioning\GpgllSentence.cs(114):  C:\dev\DotSpatial\DotSpatial.Positioning\DotSpatial.Positioning\GprmcSentence.cs(133): 

Jan 25, 2012 at 4:57 PM

All three places. In the analysis of space here: " I" will interfere.

Developer
Jan 25, 2012 at 6:39 PM

Okay, I'm moving these to a constant in NmeaSentence.  Let me know if there is a better location for those strings. You'll find these changes in 88eb709a02b9.