Ticket #55 (new enhancement)

Opened 6 years ago

Last modified 4 years ago

Support for OSGB grid references

Reported by: riverdude Owned by: saua
Priority: minor Milestone: 1.0
Component: MIDlet Version: 0.4.2
Keywords: Cc:

Description

For recreational use in the UK, the ability to change the coordinates from latlong to OSGB would make a handheld Blackberry with GPS a very useful when used in conjunction with Ordnance Survey maps.

Change History

comment:1 Changed 6 years ago by saua

Looks like it can be implemented easily enough.

The priority for this feature is rather low, 'though. That means that it won't be implemented very soon, as there are already tons of new features planed.

comment:3 Changed 5 years ago by Soulhand

I'd like to third this request.

I'm happy to work on implementing it, but could do with some guidance on how to build bbtracker from scriatch.

comment:4 follow-up: ↓ 5 Changed 5 years ago by saua

Anyone's welcome to work on bbTracker and send in patches.

I've thrown together some basic instructions on how to build bbTracker.

comment:5 in reply to: ↑ 4 ; follow-up: ↓ 6 Changed 5 years ago by Soulhand

Replying to saua:

I've thrown together some basic instructions on how to build bbTracker.

I can build BBtracker following those instructions - thanks. Although I've not actually installed the jar yet :) I'm also a neophyte at Java development (experienced in other environments, though) so any changes may take a while

comment:6 in reply to: ↑ 5 Changed 5 years ago by Soulhand

Replying to Soulhand:

any changes may take a while

Right, I've got a version that displays the OS 6 figure grid reference on the Details screen. This may be sufficient for most people in the UK?

I guess ideally there would be a preference setting for the "secondary" location - OS Grid Reference for us in the UK, but in Ireland you'd want their grid and I'm sure there are others. This would require hacking the preferences, and a) that requires bumping the version, if I read the code correctly, and b) my Java's probably not up to that.

Another possibility is to change the status on every screen to optionally show the "secondary" location instead of or as well as Lat/Long?.

So, what do I do with my modifications? How do I go about submitting a patch?

(Changes are to DetailsTile?.java, plus the addition of the code from  http://www.jstott.me.uk/jcoord/, modified to deal with the replacement math functions in MMath and MathUtil?, and altering two calls to Character.toString to String.valueOf as the first doesn't seem to exist with this version of Java)

comment:7 Changed 4 years ago by marculos

Hi, will bbtracker ever be able to display OSGB grid references , would be so useful ?

Note: See TracTickets for help on using tickets.