The Following User Says Thank You to gianko For This Useful Post: | ||
![]() |
2012-09-08
, 11:34
|
Posts: 101 |
Thanked: 150 times |
Joined on Oct 2007
@ Stuttgart, Germany
|
#613
|
My question is, as it possible to turn off some POIs, how can we add new category of POIs ?
there is a list of active pois here: http://wiki.navit-project.org/index....avit/map_items
and a link to the file osm.c: https://navit.svn.sourceforge.net/sv.../maptool/osm.c
but i like to have the missing: bike_sharing, car_sharing, bicycle_parking, pubs, etc.
how can we add these?
![]() |
2012-09-09
, 09:18
|
Posts: 87 |
Thanked: 80 times |
Joined on Sep 2009
|
#614
|
[...]
I also made adjustments to my OSD layout and not I think it works well. I now use 96x96 icons, as they are large so one can better use them while driving. I added clock and I made speed bigger and without units (as I know it is in km/h, I am interested in the number. See attached screenshot.
Anyway, I am attaching my working setup now (just download it and unzip to .navit/ ).
<osd enabled="yes" type="toggle_announcer" x="10" y="50" w="70" h="70" icon_src="$NAVIT_SHAREDIR/xpm/%s_70_70.png" />
The Following User Says Thank You to magic_doc For This Useful Post: | ||
![]() |
2012-09-12
, 15:42
|
Posts: 445 |
Thanked: 367 times |
Joined on Nov 2010
@ Italy
|
#615
|
gianko,
I tried something similar with mtb:scale and this is what I did and my conclusions.
I added entries like
+ "w highway=path,mtb:scale=0 pmtb_scale0\n"
into osm.c
If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them.
If you want to make new ways and make them routable, you need to insert in addition
The only navit version I have so far for displaying and routing these new ways, I had to add in addition
in item_def.h lines like
+ITEM(pmtb_scale0)
Thanks,
Rainer
PS: There is no need to build for the n900, you can build navit and maptool on a regular linux installation much easier. If you have good patches submit them upstream, if the are very useful for a wide range of users, I would be happy to include them in the n900 build, even when they are not yet included (reviewed would be good though) upstream.
The Following User Says Thank You to gianko For This Useful Post: | ||
![]() |
2012-09-15
, 12:50
|
Posts: 197 |
Thanked: 91 times |
Joined on Dec 2010
|
#616
|
Thank you for that, for my taste the ETA and remaining travel-time and distance was too tiny so I adjusted it to my needs.
I found your speech.active-button was not working for me, I found this in the wiki:
which works quite nice, it even displays the status of the toggle.Code:<osd enabled="yes" type="toggle_announcer" x="10" y="50" w="70" h="70" icon_src="$NAVIT_SHAREDIR/xpm/%s_70_70.png" />
The only problem with this one: if you switch from fullscreen to windowed-mode, toggle there and switch back, the announcer does not work any more at all.
If anyone wants to try out, I attached the OSD.xml zipped.
CU & HAND
Michael
The Following User Says Thank You to sup For This Useful Post: | ||
![]() |
2012-09-16
, 15:30
|
Posts: 445 |
Thanked: 367 times |
Joined on Nov 2010
@ Italy
|
#617
|
If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them.
The Following User Says Thank You to gianko For This Useful Post: | ||
![]() |
2012-09-22
, 14:19
|
Posts: 445 |
Thanked: 367 times |
Joined on Nov 2010
@ Italy
|
#618
|
![]() |
2012-09-29
, 19:25
|
Posts: 101 |
Thanked: 150 times |
Joined on Oct 2007
@ Stuttgart, Germany
|
#619
|
![]() |
2012-09-29
, 19:26
|
Posts: 101 |
Thanked: 150 times |
Joined on Oct 2007
@ Stuttgart, Germany
|
#620
|
![]() |
Tags |
navigation, navit, nokia n900, openstreetmap |
|
there is a list of active pois here: http://wiki.navit-project.org/index....avit/map_items
and a link to the file osm.c: https://navit.svn.sourceforge.net/sv.../maptool/osm.c
but i like to have the missing: bike_sharing, car_sharing, bicycle_parking, pubs, etc.
how can we add these?