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 2015-04-01 18:13:34

blubbersprudel
Member
Registered: 2015-03-31
Posts: 3

Help! Cant get any POIs when creating garmin .img

Hi

Please tell me what i'm doing wrong.
I want to create a small map (meanwhile I'm down to one POI fot testing ;)) with some tracks/streets and some POIs.
I' doing the following.

-Import tracks ond POIs from gmx file in JOSM (POIs have to be imported via Babel. Is this a bug in JOSM?)
-Set Properties and save as .OSM
-create .img with mkgmap
-install in Bascamp with MapSetToolkit

my .osm looks like this:

<node id='-8' action='modify' timestamp='2015-03-27T13:59:10Z' visible='true' lat='39.509785' lon='20.272745'>
    <tag k='created_by' v='GPSBabel-1.5.2' />
    <tag k='name' v='Downhill Trail' />
    <tag k='note' v='Downhill Trail' />
    <tag k='sport' v='bike_trail' />
  </node>

My style file for points has following entry:

  sport=bike_trail [0x2d0a resolution 10]

I call mkgmap with

java -jar mkgmap.jar --mapname=11449001 --levels=0:24,1:24,2:24,3:24,4:24,5:24 --style-file=MyStyle --keep-going  --description=Bike_Tracks_Greece --gmapsupp  --transparent infile.osm


I think the POI exists in the .img file scince sometimes when the mous is over the map i get an annotation with the name of the POI, but the POI itself is invisible.:/

WHY ????:o

Help would be apreciated.
Thanks.

Offline

#2 2015-04-01 21:08:39

blubbersprudel
Member
Registered: 2015-03-31
Posts: 3

Re: Help! Cant get any POIs when creating garmin .img

P.S.

my levels when calling mkgmap are a little unusual, but i want the poi to be visible at all zoomlevels.

Thx

Offline

#3 2015-04-02 11:48:34

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

Re: Help! Cant get any POIs when creating garmin .img

You need to use --draw-priority=31 in order to see the map on top of all other maps, please remove --levels=0:24,1:24,2:24,3:24,4:24,5:24 because this makes no sense.
And try  --transparent before --gmapsupp

Offline

#4 2015-04-02 12:50:08

blubbersprudel
Member
Registered: 2015-03-31
Posts: 3

Re: Help! Cant get any POIs when creating garmin .img

Thanks a lot, that helped a big deal.
I get a POI with picture now, but only if I zoom in closer than 70 meters on the scale.
Is there a way to show the POI even if zooming out much further?

Thks

Offline

#5 2015-04-02 13:24:43

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

Re: Help! Cant get any POIs when creating garmin .img

Did you remove --levels? The level 24 is the highest zoomlevel, so it is only visible when you zoom in very close.

Offline

Board footer

Powered by FluxBB