<span style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small;display:inline!important;float:none">Hi Torsten,</span><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
I'm experimenting some difficulty to pass the marble clock to ViewportParams as parameter.</div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
The problem is that the viewport parameter in SphericalProjection::screenCoordinates() is constant, for this reason I can't set the marble clock to the ViewportParams class.</div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
My SphericalProjection::screenCoordinates() method: <a href="http://pastebin.com/yd2F1Kqy">http://pastebin.com/yd2F1Kqy</a></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
My ViewportParams methods: <a href="http://pastebin.com/xhtEjU7M">http://pastebin.com/xhtEjU7M</a></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
Furthermore I think that the code isn't implemented properly because ViewportParamsPrivate::setPlanetAxis() isn't called from SphericalProjection. ViewportParamsPrivate::setPlanetAxis() method need the marble clock.</div>
<div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br>Can you help me?</div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
<br></div><div style="color:rgb(0,0,0);font-family:arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">
Best regards.</div><br><br><div class="gmail_quote">2012/5/14 Arne Krüger <span dir="ltr"><<a href="mailto:arne.krueger@tu-braunschweig.de" target="_blank">arne.krueger@tu-braunschweig.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am fairly new to Marble and wondering which coordinate system is used by classes such as GeoPainter and GeoDataCoordinates and how this relates to different map projections. I probably will mostly use OpenStreetMap which - as far as I know - uses a Mercator-On-Sphere projection just like Google and Bing. However, since my application requires drawing WG84 data onto the map I wonder whether I need to transform my GPS coordinates before passing them to the Marble classes.<br>

<br>
Thanks for hints and clarifications.<br>
<br>
Arne<br>
<br>
PS: I would highly appreciate a link to the API documentation on the main project page, since the latter has a rather prominent google search ranking, which the former is sadly lacking.<br>
_______________________________________________<br>
Marble-devel mailing list<br>
<a href="mailto:Marble-devel@kde.org" target="_blank">Marble-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/marble-devel" target="_blank">https://mail.kde.org/mailman/listinfo/marble-devel</a><br>
</blockquote></div><br>