[Marble-devel] Coordinate System of GeoPainter, GeoDataCoordinates and similar

marble_developer marble_developer marbledeveloper at gmail.com
Mon May 14 22:15:56 UTC 2012


 Hi Torsten,

I'm experimenting some difficulty to pass the marble clock to
ViewportParams as parameter.

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.

My SphericalProjection::screenCoordinates() method:
http://pastebin.com/yd2F1Kqy
My ViewportParams methods: http://pastebin.com/xhtEjU7M

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.

Can you help me?

Best regards.


2012/5/14 Arne Krüger <arne.krueger at tu-braunschweig.de>

> Hi,
>
> 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.
>
> Thanks for hints and clarifications.
>
> Arne
>
> 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.
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120515/61fce830/attachment.html>


More information about the Marble-devel mailing list