LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2011, 12:31 AM   #1
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,724
Blog Entries: 29

Rep: Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931
Finding paths between two GPS coordinates on Google maps, embedded in a Qt widget


QtMobility 1.2

Is this the class that does the trick: http://apidocs.meego.com/1.2-preview...ngmanager.html ?

Or there are some other ways of doing the same?

--Anisha
 
Old 05-20-2011, 09:46 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

well, I'm not a programmer, but since I searched a long time for programs for Linux which support my GPS-device (I need it for Geocaching), I've some overview about the software. I'd recommend to look at the sources of "QLandkarteGT" http://www.qlandkarte.org/index.php?...&id=3&Itemid=4. at least GeoMath.cpp within this sources looks promising.

Markus
 
1 members found this post helpful.
Old 05-24-2011, 04:57 AM   #3
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,724

Original Poster
Blog Entries: 29

Rep: Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931
Bad news

Quote:
Originally Posted by Anisha Kaul View Post
Is this the class that does the trick: http://apidocs.meego.com/1.2-preview...ngmanager.html ?

Or there are some other ways of doing the same?
Well, that class is NOT the right thing for the Google maps. QtMobility's calculateRoute function allows only the Nokia provider.

Quote:
Originally Posted by markush View Post
I'd recommend to look at the sources of "QLandkarteGT" http://www.qlandkarte.org/index.php?...&id=3&Itemid=4. at least GeoMath.cpp within this sources looks promising.
Thanks for responding,

I peeked at your link, and couldn't find answers to:
1. What are GPS maps?
2. Does it support Google map tiles, since that's the most descriptive map I ve found. I don't want Openstreet Maps.
3. I couldn't find any link towards this project's API.

I haven't yet downloaded its source, but I will soon and see if what's in GeoMath.cpp.
 
Old 05-24-2011, 08:07 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi Anisha,

I'm using QLandkarteGT with Openstreetmaps .

GPS-maps (as I understand) are routable maps which one can install on GPS-devices. I'm using Openstreetmaps on a Garmin-device.

I did not really understand what you want to do. I know that one can get coordinates by clicking into a google-map. How do you generate the coordinates? automatically (via a script)?

And if you have the coordinates of two points, what exactly is the path between them? a mathmatical "line"?, a part of the spherical surface? or the route which one can go/drive from one point to the other via the streets?

Maybe I can help if I understand more of the real problem.

Markus

Last edited by markush; 05-24-2011 at 08:10 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Google Maps works well in Google Chrome but not in Chromium... Robert.Thompson Slackware 1 04-13-2011 02:47 AM
LXer: Android game secretly transmits GPS coordinates LXer Syndicated Linux News 0 08-18-2010 02:50 PM
LXer: Google Maps and Google Earth KML overlays LXer Syndicated Linux News 0 10-29-2008 04:30 AM
Finding on-screen coordinates of colored rectangle aravind137 Linux - General 0 06-23-2008 12:01 PM
GPS road maps for linux searcher625 Linux - Software 2 01-27-2006 05:08 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration