[Marble-devel] OSM Layer is not drawn
Torsten Rahn
tackat at t-online.de
Mon Sep 5 15:34:16 UTC 2011
Hi Thomas,
Sounds weird. But I also didn't quite figure out whether you are reusing the
same data path that the normal Marble version is using or whether you have
introduced your own data paths. If the latter is the case then you should be
aware of chapter 3 of:
http://edu.kde.org/marble/obtain.php
which features the different ways in which you can define your own custom
Marble data path (and plugin path).
BR,
Torsten
On Monday, 5. September 2011 13:45:31 Thomas Klemmer wrote:
> Hi Torsten
>
> yes and now... I have to setups one works one doesn't...
>
> If I copy my executable into the marble folder and start it from there it
> works just fine (with the working marble build),
> I played around a bit and once I copied the "plugin" folder into the
> execution folder (right next to the data folder) of my own project the map
> loaded perfectly...
>
> On my other setup the marble build doesn't show openstreetmap and my
> executable gives the following error:
>
> QWindowfileSystemWatcherEngine: unknown message
> QFSFileEngine::open No File name specified
> Cannot open file ' ', because: No file name specified
>
>
> I build marble on both mashines using visual studio 2008 and Qt 4.7.2
>
> cheers from Dortmund..
>
> Thomas
>
>
>
> 2011/9/5 Torsten Rahn <tackat at t-online.de>
>
> > Does the OSM theme work properly with the Marble application for you?
> >
> > Best Regards,
> >
> > Torsten
> >
> > On Monday, 5. September 2011 12:06:37 Thomas Klemmer wrote:
> > > Hi Everyone,
> > >
> > >
> > > I'm fairly new to marble but I'm already falling in love with it...
> > > I have a Visual Studio 2008 project set up and everything builds just
> > > fine...
> > >
> > > I just tried this very simple example:
> > >
> > > #include <QtGui/QApplication>#include <marble/MarbleWidget.h>
> > >
> > > using namespace Marble;
> > > int main(int argc, char** argv){
> > >
> > > QApplication app(argc,argv);
> > >
> > > // Create a Marble QWidget without a parent
> > > MarbleWidget *mapWidget = new MarbleWidget();
> > >
> > > // Load the OpenStreetMap map
> > > mapWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dgml");
> > >
> > > mapWidget->show();
> > >
> > > return app.exec();}
> > >
> > > So here ist the issue I'm having trouble with:
> > >
> > > If I set the maptheme:
> > >
> > > MarbleWidget->setMapThemeId("earth/bluemarble/bluemarble.dgml");
> > >
> > > everything gets rendered just perfectly...
> >
> > > if I set it to:
> > FDCD_MW.MarbleWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dg
> > ml
> >
> > > ");
> > >
> > > I only get a green tile (0 tile...), so no other tiles are loaded.
> > >
> > > I have a working internet connection (no proxy) and I can reach the
> > > tile servers... is there anything else I have to do to make OSM run??
> > >
> > > Help is greatly appreciated.
> > >
> > > cheers
> > >
> > > Thomas
> >
> > _______________________________________________
> > 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