4
1

I'm using marble (http://marble.kde.org/index.php). I want to learn how to use it offline: I want to download maps from openstreetmap, and then show gps tracks on these maps (that i do now, but in an online way).

can someone please refer me to a place that wxplains how to do that? thanks

asked 13 Dec '12, 14:56

sahark's gravatar image

sahark
61122
accept rate: 0%

edited 13 Dec '12, 17:34

Tordanik's gravatar image

Tordanik
9.7k1287114


Another option is to download a country extract in .osm format, since recent versions of marble can render that directly. It's a bit slow (only use small extracts) and not as pretty as a mapnik rendering, but it works.

permanent link

answered 18 Dec '12, 10:29

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
16.7k14146240
accept rate: 19%

Really? I never discovered that feature. How do you get to render it? Just open the OSM file?

(20 Dec '12, 08:37) Sanderd17
2

Yes, just go to file->open. The file probably needs to be uncompressed, and certainly needs to be rather small.

Marble can read osm, shp, gpx, kml, and one or two other formats I think.

(21 Dec '12, 13:11) Vincent de P... ♦

I'm a bit confused - I cant seem to find .osm files, but a osm.pbf files. marble can't open osm.pbf files.

(23 Dec '12, 11:55) sahark

You can find bz2 packaged osm files from here: http://download.geofabrik.de/openstreetmap/

As you may need even smaller extract, then you can export it directly from Openstreetmap main server: Zoom to your desired area on osm.org Click on the Export tab on the top of page Choose option Openstreetmap data as xml Click on export button

Or you may use Osmosis to apply a bounding box to a bigger extract.

(23 Dec '12, 12:30) RM87

You can download map regions, see this documentation. But please be gentle to the servers. If you download an area that's too big, you will be blocked.

If you want more, you can also set up your own rendering, and use it with Marble. But that would require a quite heavy computer, and it's not documented how to achieve it in Marble (because they are afraid people will use it to display proprietary maps).

permanent link

answered 13 Dec '12, 15:10

Sanderd17's gravatar image

Sanderd17
1.1k51637
accept rate: 33%

1

thanks Sanderd17, but in this link, the only way do download maps is threw Marble itself. Is there a way to download maps threw openstreetmap or some other way what doesn't make me install marble?

(13 Dec '12, 16:34) sahark

Well, the downloaded maps are just images under ~/.local/share/marble/maps for Linux or data/maps in the marble installation location for Windows.

You can download the tiles with any tile downloader found on the wiki: http://wiki.openstreetmap.org/wiki/Category:Tile_downloading

But I wonder why you don't want to do it via Marble if you are using it in Marble. The downloading stays the same.

(13 Dec '12, 17:10) Sanderd17
1

The tiles storage scheme is the same than on the server side. So you can generate your own tiles and put the zoom folders in .local/share/marble/maps/earth/openstreetmap/

(14 Dec '12, 12:26) NicolasDumoulin

Sanderd17 - I tried to save maps theew marblem but i can seen to find where exactly marble saves the maps. maybe you know?

NicolasDumoulin - my main question is how to build that zoom filder. and are the files in it end with 'dgml' or 'osm'?

(17 Dec '12, 16:27) sahark
1

What operating system are you using? As Sanderd17 pointed out correctly the maps can be found under

~/.local/share/marble/maps/earth/openstreetmap

on Linux. On Mac OSX it should be:

~/.marble/maps/earth/openstreetmap

and on Windows it's in your hidden AppData user folder inside the folder .marble/maps/earth/openstreetmap

(20 Dec '12, 00:39) tackat

I'm not at all familiar with Marble but a quick poke around suggests that you might want to start reading here for an introduction to how Marble themes are set up.

If you have Marble installed you'll have an "/usr/share/kde4/apps/marble/data/maps/earth/openstreetmap" directory with an "openstreetmap.dgml" file in it. In there you can see how the tile servers are configured.

If you never wanted to get blocked from a tile server, you could try serving your own tiles.

permanent link

answered 13 Dec '12, 23:00

SomeoneElse's gravatar image

SomeoneElse ♦
30.3k62316703
accept rate: 15%

2

No worries, Marble will refuse to download more than 100000 tiles from the OpenStreetMap Servers in a single action. Also the number of download threads is restricted. These restrictions have been made since we added this bulk-download feature to Marble.

(20 Dec '12, 00:44) tackat

thanks SomeoneElse, but I dont want to setup a whole server ( for now..). I just want to download tiles and then, give them as input to marble, so it could work offline.

(23 Dec '12, 10:50) sahark
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×93
×91
×5

question asked: 13 Dec '12, 14:56

question was seen: 19,702 times

last updated: 23 Dec '12, 12:30

powered by OSQA