Google
  Web www.gpspassion.com


GpsPasSion LIVE!
www.flickr.com
This is a Flickr badge showing public photos from GpsPasSion Live !. Make your own badge here.

www.NaviBlog.com



Versions

Links/Liens




Portal/Portail
Rechercher

- -

Polls/Sondages
Sondage
Pour vous guider sur la Route :
GPS Mobile (SEM)
GPS Intégré
Smartphone
Autre
Voter  -  Résultat des votes
Votes : 1439




Club GpsPasSion
Soutenez le site!

USA: (US$)
EUROPE: (€)
Guide Paypal


GpsPasSion Forums
Home | Profile | Register/Enregist. | Active Topics | Search/Recherche | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 English Forums - Software
 PDA and Smartphone Road Navigation Software
 Mireo viaGPS / Don't Panic favorites
 New Topic  Reply/Répondre
 Printer Friendly
Author Previous Topic Topic Next Topic  

arg_

4 Posts

Posted - 24 sept. 2011 :  05:50:04  Show Profile  Reply with Quote
I am trying to convert my iGO favorites to Mireo Dont't Panic and I am stuck. Favorites are stored in a text file named favs.txt where each point is specified like this:

COUNTRY="India" CITY="New Delhi" AREA="Delhi NCR" STREET="Mehrauli Najafgarh Road" POI="check" TYPE="1050" PT="76.993175 28.590787" IDPT="57410272 22262984"

The last two integers (IDPT) are essential for viaGPS to recognise the point but I have no clue how they are calculated. Are they the coordinates in some other format?

I would very much appreciate any help

Ads


gpspassion

93427 Posts

Posted - 24 sept. 2011 :  12:26:41  Show Profile  Visit gpspassion's Homepage  Reply with Quote
Not a reference I recognize, have you asked them for some pointers?

Discounts and Assistance/Réductions et Assistance (Club GpsPasSion) / Où commencer?
Go to Top of Page

arg_

4 Posts

Posted - 24 sept. 2011 :  13:09:08  Show Profile  Reply with Quote
not sure I understand the question, could you please clarify?
Go to Top of Page

glogloglo

2 Posts

Posted - 24 sept. 2011 :  23:46:53  Show Profile  Reply with Quote
quote:
Originally posted by arg_
COUNTRY="India" CITY="New Delhi" AREA="Delhi NCR" STREET="Mehrauli Najafgarh Road" POI="check" TYPE="1050" PT="76.993175 28.590787" IDPT="57410272 22262984"



Hm, this seems like a nice challenge. Maybe not, since the coordinates that you are searching for are most like Mercator projection coordinates. Basic formulae are given at http://en.wikipedia.org/wiki/Transverse_Mercator_projection.

Basically, the formulas say:
x = a * lambda
y = a * ln(tan(PI/4 + phi/2))


So first, lets convert coordinates from your example, from degrees to radians:
lambda = 76.993175 * PI /180 = 1.3437843
phi = 28.590787 * PI / 180 = 0.4990033


Then, find the constant a:
a = x / lambda = 57410272 / 1.3437843 = 42722832.824

Now, apply the constant a and the second formula to verify if our assumptions are correct;

y = 42722832.824 * ln(tan(PI/4 + 0.4990033/2)) = 22262981.317 which is very close to your value of 22262984. So my assumptions were correct

Therefore, to convert PT="lambda phi" to IDPT="x y", use the formulas:

x = 42722832.824 * lambda * PI / 180
y = 42722832.824 * ln(tan(PI / 4 + phi * PI / 360))

Go to Top of Page

arg_

4 Posts

Posted - 25 sept. 2011 :  06:42:51  Show Profile  Reply with Quote
you are a treasure!

I just converted in excel all my iGO favourites and imported to Don't Panic

thanks so much!
Go to Top of Page

glogloglo

2 Posts

Posted - 25 sept. 2011 :  21:25:20  Show Profile  Reply with Quote
No problem!

What are your impressions of Dontpanic? I didn't see it mentioned anywhere on GPSPassion. Perhaps someone could write a review of Dontpanic and put it here under "Articles"?
Go to Top of Page

arg_

4 Posts

Posted - 26 sept. 2011 :  07:36:32  Show Profile  Reply with Quote
well, I must say that so far I am very impressed with it. It is lightweight and FAST! Has the smoothest scrolling while navigating that I have seen and route calculation -and recalculation- is ultra fast.
There are some goodies missing however, like user defined POIs and radars. Another minor nuisance is that user favourites are limited to one hundred so I had to choose the best-100 among my iGO favourites ;) Hope they will increase the number in the future.

There is a 7-day trial version in android market so anybody can (and should) give it a try


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply/Répondre
 Printer Friendly
Jump To:
GpsPasSion Forums © 2002-2013_GpsPasSion/Manzanite Go To Top Of Page
This page was generated in 0,31 seconds. Powered By: Snitz Forums 2000 Version 3.4.05