Re: which gps app can do this?

2009-07-06 Thread Joseph Reeves
gvSIG Mobile 0.1.4 was released today, here's a guide that should help you:

http://gvsigmobileonopenmoko.wordpress.com/download/

Create a shapefile of your coast line (or download a shapefile for a
country) and you should be good to go.

http://blogs.thehumanjourney.net/finds/entry/unofficial_gvsig_mobile_0_1

Cheers, Joseph




2009/6/28 lanzo lanz...@gmail.com:

 Hi!
 I'd like to be using my FR on my little boat as marine GPS. I was curious
 if, in your opinion, it could be possible to constantly show  the distance
 between me and the nearest point on the coast line. This would be important
 because in my country (and i guess everywhere) there are rules about the
 little boats distances from the coast and I cannot overcome 3 nautical
 miles.

 I know it should be possible to show the distances between my present
 position and any given point, but what about something always displaying the
 distances between my position and the nearest point on the coast?

 is there maybe any more in-topic forum where i can ask this?

 Thank you very much for any answer!
 bye! :)
 --
 View this message in context: 
 http://n2.nabble.com/which-gps-app-can-do-this--tp3169715p3169715.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: which gps app can do this?

2009-07-06 Thread Juan Lucas Dominguez Rubio
Hello, Lanzo. In which area will your boat be navigating? I mean, which coast 
are you talking about? It should be easy to get a reasonably good shapefile of 
that shoreline and you would be permanently informed of the distance to the 
nearest vertex.
 
Regards,
Juan Lucas
 
 




De: community-boun...@lists.openmoko.org en nombre de Joseph 
Reeves
Enviado el: lun 06/07/2009 17:58
Para: List for Openmoko community discussion
Asunto: Re: which gps app can do this?



gvSIG Mobile 0.1.4 was released today, here's a guide that 
should help you:

http://gvsigmobileonopenmoko.wordpress.com/download/

Create a shapefile of your coast line (or download a shapefile 
for a
country) and you should be good to go.


http://blogs.thehumanjourney.net/finds/entry/unofficial_gvsig_mobile_0_1

Cheers, Joseph




2009/6/28 lanzo lanz...@gmail.com:

 Hi!
 I'd like to be using my FR on my little boat as marine GPS. I 
was curious
 if, in your opinion, it could be possible to constantly show  
the distance
 between me and the nearest point on the coast line. This 
would be important
 because in my country (and i guess everywhere) there are 
rules about the
 little boats distances from the coast and I cannot overcome 3 
nautical
 miles.

 I know it should be possible to show the distances between my 
present
 position and any given point, but what about something always 
displaying the
 distances between my position and the nearest point on the 
coast?

 is there maybe any more in-topic forum where i can ask this?

 Thank you very much for any answer!
 bye! :)
 --
 View this message in context: 
http://n2.nabble.com/which-gps-app-can-do-this--tp3169715p3169715.html
 Sent from the Openmoko Community mailing list archive at 
Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: which gps app can do this?

2009-06-29 Thread arne anka
why not simply draw a circle with the boat's current position as center  
and the given distance (3nm) as radius and then check if the circle  
contains part of the coast line? the moment, the circle is empty, you're  
out of range.

still no scenario for an usual gps app, but the coast lines should be  
available with almost all data (openstreetmap frinst) and thus easily  
checked.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: which gps app can do this?

2009-06-29 Thread Helge Hafting
lanzo wrote:
 Hi!
 I'd like to be using my FR on my little boat as marine GPS. I was curious
 if, in your opinion, it could be possible to constantly show  the distance
 between me and the nearest point on the coast line. This would be important
 because in my country (and i guess everywhere) there are rules about the
 little boats distances from the coast and I cannot overcome 3 nautical
 miles.
 

If this is a safety feture, take care to use map data that is 
sufficiently accurate for your use. Also, the freerunner is not built to 
withstand salt water, so make sure it won't get wet.

 I know it should be possible to show the distances between my present
 position and any given point, but what about something always displaying the
 distances between my position and the nearest point on the coast?
 
I don't know any such app, the use seems a bit special to me. So you may 
have to use an existing app, and add code to it for your use.


An approach using navit - requires programming:

I guess navit is a good choice. It has maps in vector format, including 
coastline. So you could add some code that periodically checks
that at least some coast points are within 3 nautical miles.


An approach using tangogps - no programming at all:

Tangogps performs better than navit on the freerunner, it is faster.
Tangogps uses a map made from png tiles. So there is no way to find the 
distance to the coast. However, you can make your own map (based on 
openstreetmap tiles) that includes the 3 mile border. You could have a 
line in the water, or color the forbidden regions differently. Then, you 
simply look at the map display now and then to check that you are within 
the allowed zone.

The absolutely simplest way is to edit the png tiles with an image 
editor, and just draw the border line/area yourself. Openstreetmap has 
the information you need about scale. (How big regions the tiles cover.)
This way require no programming at all, you just draw the (rough) limits 
onto the existing map. The tiles are small - you might have to edit lots 
of them depending on what zoom level and how big an area you need maps for.


Better approach for tangogps - requires some software and configuration:

A more elegant way is to render the tiles for your region yourself. 
openstreetmap.org has information on how you download software to do 
this. It is some one-time work downloading and installing the software.

After that, you need to modify the rules for rendering, so that allowed 
and disallowed water is rendered with different color. (Or a borderline 
3 miles outside the coast). Then, run the software so it renders maps 
for your region. This approach has the advantage that you can update 
with new data from openstreetmap now and then, and have your map improve 
with time. Perhaps you won't need to do actual programming, but you will 
have to work with rendering rules (and install some software).


 is there maybe any more in-topic forum where i can ask this?

Your question is definitely on-topic, because you are using a 
freerunner. Don't worry about that. :-)

For detailed help, note that navit has a mailing list, and openstreetmap 
has several mailing lists/forums where they can help you with rendering 
questions and other tech stuff.

Helge Hafting

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: which gps app can do this?

2009-06-28 Thread mqy

hi lanzo,

I have to say that your problem is interesting, but it's a bit too specific
for a GPS application to do this.
One quick and dirty solution is: 

You write a small application which:
1) calculate a polygon area which contains the allowed range. to do this you
have to use web map or standalone map. The polygon nodes are lat/lon pairs.
2) get GPS fix from fso ogpsd through DBUS API. this is not difficult with
python
3) periodically (say every five seconds) test if current position goes out
of predefined area. 
   if the test result is true, then warn with sound (aplay command).

To see where you are, you can run a GPS application at the same time.

I'm the writer of omgps, I'm planning to extend omgps to solve this kind of
problem -- 
allow user register his/her python script as plugin, omgps periodically call
each plugin,
passing parameters of current lat/lon/altitude, etc. Periodically can be
defined as: (1) on each fix (2) every N seconds.

Welcome your feed back :)


lanzo wrote:
 
 Hi!
 I'd like to be using my FR on my little boat as marine GPS. I was curious
 if, in your opinion, it could be possible to constantly show  the distance
 between me and the nearest point on the coast line. This would be
 important because in my country (and i guess everywhere) there are rules
 about the little boats distances from the coast and I cannot overcome 3
 nautical miles.
 
 I know it should be possible to show the distances between my present
 position and any given point, but what about something always displaying
 the distances between my position and the nearest point on the coast?
 
 is there maybe any more in-topic forum where i can ask this?
 
 Thank you very much for any answer!
 bye! :)
 

-- 
View this message in context: 
http://n2.nabble.com/which-gps-app-can-do-this--tp3169715p3170060.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: which gps app can do this?

2009-06-28 Thread Michal Brzozowski
Alternatively, place POIs along the coast (how dense depends on the accuracy
you want to have). Calculate the minimum distance from the set of POIs.

2009/6/28 mqy meng.qing...@gmail.com


 hi lanzo,

 I have to say that your problem is interesting, but it's a bit too specific
 for a GPS application to do this.
 One quick and dirty solution is:

 You write a small application which:
 1) calculate a polygon area which contains the allowed range. to do this
 you
 have to use web map or standalone map. The polygon nodes are lat/lon pairs.
 2) get GPS fix from fso ogpsd through DBUS API. this is not difficult with
 python
 3) periodically (say every five seconds) test if current position goes out
 of predefined area.
   if the test result is true, then warn with sound (aplay command).

 To see where you are, you can run a GPS application at the same time.

 I'm the writer of omgps, I'm planning to extend omgps to solve this kind of
 problem --
 allow user register his/her python script as plugin, omgps periodically
 call
 each plugin,
 passing parameters of current lat/lon/altitude, etc. Periodically can be
 defined as: (1) on each fix (2) every N seconds.

 Welcome your feed back :)


 lanzo wrote:
 
  Hi!
  I'd like to be using my FR on my little boat as marine GPS. I was curious
  if, in your opinion, it could be possible to constantly show  the
 distance
  between me and the nearest point on the coast line. This would be
  important because in my country (and i guess everywhere) there are rules
  about the little boats distances from the coast and I cannot overcome 3
  nautical miles.
 
  I know it should be possible to show the distances between my present
  position and any given point, but what about something always displaying
  the distances between my position and the nearest point on the coast?
 
  is there maybe any more in-topic forum where i can ask this?
 
  Thank you very much for any answer!
  bye! :)
 

 --
 View this message in context:
 http://n2.nabble.com/which-gps-app-can-do-this--tp3169715p3170060.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: which gps app can do this?

2009-06-28 Thread Joseph Reeves
I woder if you could hack something up based on the upcoming Courier
Mode feature in gvSIG Mobile:

http://gvsigmobileonopenmoko.wordpress.com/2009/06/24/with-the-new-courier-mode-openmoko-actively-guides-you-through-the-city/

Cheers, Joseph



2009/6/28 Michal Brzozowski ruso...@poczta.fm:
 Alternatively, place POIs along the coast (how dense depends on the accuracy
 you want to have). Calculate the minimum distance from the set of POIs.

 2009/6/28 mqy meng.qing...@gmail.com

 hi lanzo,

 I have to say that your problem is interesting, but it's a bit too
 specific
 for a GPS application to do this.
 One quick and dirty solution is:

 You write a small application which:
 1) calculate a polygon area which contains the allowed range. to do this
 you
 have to use web map or standalone map. The polygon nodes are lat/lon
 pairs.
 2) get GPS fix from fso ogpsd through DBUS API. this is not difficult with
 python
 3) periodically (say every five seconds) test if current position goes out
 of predefined area.
   if the test result is true, then warn with sound (aplay command).

 To see where you are, you can run a GPS application at the same time.

 I'm the writer of omgps, I'm planning to extend omgps to solve this kind
 of
 problem --
 allow user register his/her python script as plugin, omgps periodically
 call
 each plugin,
 passing parameters of current lat/lon/altitude, etc. Periodically can be
 defined as: (1) on each fix (2) every N seconds.

 Welcome your feed back :)


 lanzo wrote:
 
  Hi!
  I'd like to be using my FR on my little boat as marine GPS. I was
  curious
  if, in your opinion, it could be possible to constantly show  the
  distance
  between me and the nearest point on the coast line. This would be
  important because in my country (and i guess everywhere) there are rules
  about the little boats distances from the coast and I cannot overcome 3
  nautical miles.
 
  I know it should be possible to show the distances between my present
  position and any given point, but what about something always displaying
  the distances between my position and the nearest point on the coast?
 
  is there maybe any more in-topic forum where i can ask this?
 
  Thank you very much for any answer!
  bye! :)
 

 --
 View this message in context:
 http://n2.nabble.com/which-gps-app-can-do-this--tp3169715p3170060.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community