[Marble-devel] Paint in Marble

Torsten Rahn torsten at kde.org
Tue Aug 9 00:35:43 UTC 2011


On Tuesday, 9. August 2011 00:25:02 tom.grope at st.ovgu.de wrote:
> Oh thank you. I did not get, that the drawEllipse(...)-method with the
> isGeoProjected-flag may solve my problem :-)
> Thank you.

I guess it might not solve your problem since the "isGeoProjected" will only 
create a circle in geodetic coordinates (which is rather eggshaped and not a 
circle on the ground). :-/ 
But we'd gladly accept patches for such a feature.

Best Regards,

Torsten

> Zitat von Kyle Shannon <ksshannon at gmail.com>:
> > I am new to marble, but I think you can use the geopainter,
> > 
> > http://api.kde.org/4.x-api/kdeedu-apidocs/marble/html/classMarble_1_1GeoP
> > ainter.html
> > 
> > 
> > /**
> > 
> >  *
> >  * Kyle Shannon
> >  * ksshannon at gmail.com
> >  *
> >  */
> > 
> > On Sun, Aug 7, 2011 at 17:06, <tom.grope at st.ovgu.de> wrote:
> >> Hey there,
> >> 
> >> I have my own project for the visualization of data points and I use
> >> marble. My problem is that I want to draw circles / ellipses, whose
> >> radius is dependent on geographical distance (meters/kilometer).
> >> I know how to generally draw in marble - thanks to your tutorials!
> >> However, QPainters draw-methods bases on pixlesize.
> >> 
> >> The problem is that i have no idea how to
> >> convert a geographical size into pixlesize for using QPainters
> >> drawmethods or
> >> find a method that draws a circle / ellipse, whose radius corresponds to
> >> a geographical distance. (for example the lenght of a
> >> geodatalinestring)
> >> 
> >> I would thank for any advice or idea.
> >> 
> >> Tom
> >> 
> >> ______________________________**_________________
> >> Marble-devel mailing list
> >> Marble-devel at kde.org
> >> https://mail.kde.org/mailman/**listinfo/marble-devel<https://mail.kde.or
> >> g/mailman/listinfo/marble-devel>
> 
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel



More information about the Marble-devel mailing list