navit-project.org
http://forum.navit-project.org/

vehicle cursor circle radius depending on vehicle.height
http://forum.navit-project.org/viewtopic.php?f=10&t=722
Page 1 of 1

Author:  Ltech [ 27 Jun 2018, 20:42 ]
Post subject:  vehicle cursor circle radius depending on vehicle.height

Hello,

I need to get a variable circle around my current position depending on the height of the local gps.

<vehicle name="Local GPS" ....
<cursor w="600" h="600">
<itemgra>
<circle color="#ff0000" radius="500" width="10">
<coord x="0" y="0"/>
</circle>

I need to get the radius="500" to be changed on the fly depending of the height or scale.

I try to visualize the ideal reception mark on a map depending on the height of a plane
We need it for television broadcasting of cycle races

Somebody have ideas ?

Thank-you

Author:  Ltech [ 07 Jul 2018, 13:59 ]
Post subject:  Re: vehicle cursor circle radius depending on vehicle.height

:?:
Ltech wrote:
Hello,

I need to get a variable circle around my current position depending on the height of the local gps.

<vehicle name="Local GPS" ....
<cursor w="600" h="600">
<itemgra>
<circle color="#ff0000" radius="500" width="10">
<coord x="0" y="0"/>
</circle>

I need to get the radius="500" to be changed on the fly depending of the height or scale.

I try to visualize the ideal reception mark on a map depending on the height of a plane
We need it for television broadcasting of cycle races

Somebody have ideas ?

Thank-you

Author:  Ektus [ 08 Jul 2018, 16:11 ]
Post subject:  Re: vehicle cursor circle radius depending on vehicle.height

I did read you the first time already, but have no idea. Apart from drawing the circle, I don't know of a reliable source for elevation data within navit. GPS is +-50m in that direction.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/