Hello,<br><br>Thanks for replying. We as a team on six are working on a project which involves developing a location based service. One of the key product functions of this service is the ability for the user to reach a location using open street map. Therefore, for this purpose we are looking at Gpsmid functionality.<br>
<br>we have some specific questions on GpsMid and perhaps would ask them in the GpsMid forums at sourceforge.<br><br>Regards & Thanks<br>Ansari Ghouse<br><br><div class="gmail_quote">On Mon, Apr 28, 2008 at 2:45 AM, Kai Krueger <<a href="mailto:kakrueger@gmail.com">kakrueger@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<div class="Ih2E3d"><br>
<br>
Ansari Ghouse wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
We are trying to develop a location based mobile phone application by customizing the functionality of GpsMid. Does someone know how to find the current position of the user in GpsMid.<br>
</blockquote>
<br></div>
I am not sure I follow what you mean here. Where do you want to find the current position? In the source code? It is stored in the Trace class and is passed in from the various available LocationProviders.<div class="Ih2E3d">
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Second,while customizing the application where can we start from either gpsmid src code or osm2gpsmid.<br>
</blockquote>
<br></div>
I think this depends a bit on what exactly you want to customize. GpsMid uses its own binary format to store the OSM data as efficiently for its purposes as possible. Osm2GpsMid is simply a translation program that takes some OSM data and a desired area and converts it to the format needed by GpsMid. So if your customisation requires information from OSM that isn't currently in the GpsMid data format, then you would need to adapt both Osm2GpsMid and GpsMid to your needs, otherwise GpsMid should be sufficient.<br>

<br>
I'd be interested to hear what kind of customisations you have in mind though, as you don't really say what you are planning. Perhaps some of your needs are already met, as you might be interested to know, that the current version of GpsMid (in the GpsMid CVS repository) is now more or less customizable with respect to which OSM features you want to have displayed and the colours and icons in which it gets rendered. It now has an XML style file that describes to Osm2GpsMid which OSM tags are relevant and how to display them in GpsMid. With this you should hopefully be able to make e.g. a Ski-lift map, or a map of power lines if you wish, with out having to touch any source code.<br>

<br>
Some of this stuff only got added a few days ago, so it might still be a bit flaky and I can't quite promise that everything works yet. ;-)<br>
<br>
If you are interested in the details of GpsMid, I suspect the discussion would perhaps be more appropriate though for the GpsMid forums over at (<a href="http://sourceforge.net/projects/gpsmid" target="_blank">http://sourceforge.net/projects/gpsmid</a>), where I would be happy to try and answer any questions.<br>

<br>
Kai<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
thanks<br>
Ansari<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev" target="_blank">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br>
</blockquote>
<br>
</blockquote></div><br>