You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2013-02-20 19:31:18

treztrez
Member
Registered: 2012-08-15
Posts: 2

mkgmap style problem

Hey,
I am trying to make my own very simple img-map with mkgmap which contains only the  for gliding important information.
So I made 3 style files (points, lines and polygons) and just wrote the tags I want to have in the map in it.
But now there are only the lines in the created map not the polygons or points.
What am I doing wrong?
Edit: Okay seems that if there is just one mistake in a style file the whole file won't be displayed.
The polygons are now visible in the map, but still not the points...

This is what I write in the points file:

man_made=lighthouse [0x41]
man_made=tower [0x42]
man_made=chimney [0x43]
man_made=works [0x44]
historic=castle [0x45]
natural=peak[0x46]
place=city [0x47]
place=town [0x47]
place=village [0x47]
aeroway=aerodrome [0x48]

greetings

Last edited by treztrez (2013-02-21 00:14:48)


GPSMap 62s

Offline

#2 2013-02-21 09:29:07

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: mkgmap style problem

You forgot to set the resolution, see the default for example:
http://www.mkgmap.org.uk/websvn/filedet … t%2Fpoints

And I doubt if 0x41 is working, it should be 0x4100, 0x4101 etc (sub-type must be included)
See http://wiki.openstreetmap.org/wiki/OSM_ … 6_Other.29

Last edited by ligfietser (2013-02-21 12:04:55)

Offline

#3 2013-02-21 11:21:31

chris66
Member
From: Germany
Registered: 2009-05-24
Posts: 10,128

Re: mkgmap style problem

Hi,
you should take a look to the default mkgmap style and take the codes from it.

Example:

natural=peak {name '${name|def:}${ele|height:m=>ft|def:}' } [0x6616 resolution 24]

Christian


Mapper aus dem Münsterland.

Offline

#4 2013-02-21 12:36:26

treztrez
Member
Registered: 2012-08-15
Posts: 2

Re: mkgmap style problem

Thanks for the replys.
It has to be 0x4000 in the points file, in the other files it doesen't matter.
Thank you very much!

Last edited by treztrez (2013-02-21 12:49:55)


GPSMap 62s

Offline

Board footer

Powered by FluxBB