[Marble-devel] Plotting custom position data on MarbleWidget (viaPositionProviderPlugin?)[Scanned]
Ian Holtham
ian.holtham at srt-marine.com
Mon Apr 2 11:20:38 UTC 2012
Hello Konrad
Thanks for responding to my question. Your solution has raised a number
of other questions in my mind. Again any help you can provide would be
gratefully received.
* I'm not quite sure how I should generate a route from my
position points (PositionProvider). Do you have any examples I could
look at?
* How can I produce a route with all my GPS waypoints?
* The track I'm trying to plot is cross-country and so will not
follow any road or path features of the map, will this cause a problem
with the route manager?
* Will the performance of loading a route file be enough to cope
with 1 position report every second over a period of up to 7 days (i.e.
604,800 or six hundred thousand points)?
Regards
Ian
Ian Holtham
Software Engineer
Software Radio Technology plc
Wireless House
Westfield Industrial Estate
Midsomer Norton
Bath
England
BA3 4BS
Direct line +44 (0)1761 409 516
Office +44 (0)1761 409 500
Fax +44 (0)1761 410 093
www.srt-marine.com <http://www.srt-marine.com/>
________________________________
From: Konrad Enzensberger [mailto:e.konrad at mpegcode.com]
Sent: 29 March 2012 10:12
To: Ian Holtham; marble-devel at kde.org
Subject: Re: [Marble-devel] Plotting custom position data on
MarbleWidget (viaPositionProviderPlugin?)[Scanned]
Hi Ian,
>>I have tried implementing my own PositionProviderPlugin
try the positionprovider/FileReade plugin,
this is a Gps simulation plugin.
First use marble/routing functionality to create
a route, export the route to:
..\mapdata\routing\route.kml .
The FileReader plugin imports the placemarks from the route.kml,
see if this works.
br, konrad
----- Original Message -----
From: Ian Holtham <mailto:ian.holtham at srt-marine.com>
To: marble-devel at kde.org
Sent: Wednesday, March 28, 2012 5:26 PM
Subject: [Marble-devel] Plotting custom position data on
MarbleWidget (viaPositionProviderPlugin?)
Hello. I would like to be able to plot a track of position data
(from a custom GPS data source) onto a map displayed in MarbleWidget.
Ideally I would like the user to be able to hover over any point on the
track and get a display of the data (time, position, etc) at that point?
Could anyone let me know the best way to do this?
I have tried implementing my own PositionProviderPlugin and
setting this visible in the MarbleWidget:
Marble::MarbleModel* model = this->model();
model->positionTracking()->setPositionProviderPlugin( new
Marble::CustomPositionProvider() );
model->positionTracking()->setTrackVisible( true );
However when I run this, the widget only displays a small
segment (say 30 degrees) of the map centred at the current position in
the direction given by the PositionProviderPlugin with the rest of the
widget remaining undrawn.
I am using a QT only build of the MarbleWidget (version 1.2)
build on Windows using Visual Studio 2010
Any assistance would be gratefully appreciated.
Ian Holtham
Software Engineer
Software Radio Technology plc
Wireless House
Westfield Industrial Estate
Midsomer Norton
Bath
England
BA3 4BS
Direct line +44 (0)1761 409 516
Office +44 (0)1761 409 500
Fax +44 (0)1761 410 093
www.srt-marine.com <http://www.srt-marine.com/>
Registered Office: Wireless House, Westfield Industrial Estate,
Midsomer Norton, Bath BA3 4BS The SRT plc group includes: Software Radio
Technology plc. Registered in England No. 5459678 SRT Marine Technology
Ltd. Registered in England No. 4317661 The message contains information
that may be privileged or confidential and is the property of the
Software Radio Technology plc group. It is intended only for the person
to whom it is addressed. If you are not the intended recipient, you are
not authorized to read, print, retain, copy, disseminate, distribute, or
use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of
this message. Please Note: No commitment is or can be made by any
employee of SRT on behalf of SRT for any goods or service unless a
numbered and duly authorised SRT Purchase Order is first provided.
________________________________
_______________________________________________
Marble-devel mailing list
Marble-devel at kde.org
https://mail.kde.org/mailman/listinfo/marble-devel
Registered Office: Wireless House, Westfield Industrial Estate, Midsomer Norton, Bath BA3 4BS
The SRT plc group includes:
Software Radio Technology plc. Registered in England No. 5459678
SRT Marine Technology Ltd. Registered in England No. 4317661
The message contains information that may be privileged or confidential and is the property of the Software Radio Technology plc group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Please Note: No commitment is or can be made by any employee of SRT on behalf of SRT for any goods or service unless a numbered and duly authorised SRT Purchase Order is first provided.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120402/bed5a8c3/attachment-0001.html>
More information about the Marble-devel
mailing list