This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Create own map

Tags: None
(comma "," separated)
dariav
Registered Member
Posts
5
Karma
0

Create own map

Thu Jul 03, 2014 11:07 am
Hello everyone!

Could you say how to create my own map for loading in Marble, in particular dgml file, if I have offline map tiles.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Create own map

Mon Jul 07, 2014 8:54 am
Have you tried looking at the maps shipped with Marble and basing your own map off of them?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
dariav
Registered Member
Posts
5
Karma
0

Re: Create own map

Fri Aug 01, 2014 10:23 am
Yes, but how can I find shp files and edit them?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Create own map

Sat Aug 02, 2014 1:24 am
I'm afraid I'm not familiar with the specific formats Marble supports for maps - it is quite likely you will need to use a different tool to handle SHP format files however. The Marble developers may be able to provide more insight here.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Earthwings
KDE Developer
Posts
172
Karma
1
OS

Re: Create own map

Sat Aug 02, 2014 9:47 pm
Marble provides support for opening .shp files - they can be read and displayed, though maybe not all features are supported yet. Are you looking for .shp files already used by Marble? For efficiency we have converted them to a custom format (pn2) using src/tools/shp2pn2.
dariav
Registered Member
Posts
5
Karma
0

Re: Create own map

Mon Aug 04, 2014 6:42 am
Yes, I'm looking for .shp files. Could I find them in Marble source code or only pn2 files are available? Where I can find .shp files which used in Marble for pn2?
dariav
Registered Member
Posts
5
Karma
0

Re: Create own map

Thu Aug 07, 2014 8:25 am
Hello! I have problems with your tool shp2pn2. I downloaded shp files from naturalearthdata.com and tried to convert them to pn2 format, but got the error "Core dumped (SIGSEGV)". Could you help me?
User avatar
Earthwings
KDE Developer
Posts
172
Karma
1
OS

Re: Create own map

Sat Aug 09, 2014 7:10 am
Can you provide a backtrace? E.g. by not running
Code: Select all
shp2pn2 argument1 argument2 argument3
but instead
Code: Select all
gdb --args shp2pn2 argument1 argument2 argument3
run
backtrace
dariav
Registered Member
Posts
5
Karma
0

Re: Create own map

Fri Aug 15, 2014 12:58 pm
So, when I parse file, I have errors (shown in image) Image
User avatar
tackat
KDE Developer
Posts
131
Karma
0
OS

Re: Create own map

Sat Aug 30, 2014 8:22 pm
You need to build Marble against libshape in order to use the SHP file format inside Marble and inside shp2pn2:

http://shapelib.maptools.org/


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]