Thread: Navit on N900
View Single Post
Posts: 445 | Thanked: 367 times | Joined on Nov 2010 @ Italy
#768
does anybody tried if the OSD item for the speed_camera is working? http://wiki.navit-project.org/index.php/OSD#speed_cam

Code:
<osd enabled="yes" type="speed_cam" w="550" h="40" x="30" y="350" font_size="450" text_color="#00FF00" label="${distance} | ${camera_type} | ${camera_dir} | ${direction} | ${speed_limit}" />
i will add now to test if is capable of detecting cameras in OSM-derived binfiles.

i want to know if highway=speed_camera node are detected only if the node is on the way, or also to the side of the way as suggested by osm community. i can see the poi icon but let's check if some audible and visual information related to speed cameras in the near vicinity works. (wiki says: announce_on by default is 1 (i.e. this osd item will announce upcoming cameras with a "Look out! Camera!" warning) if this attribute is not set. )

wiki says also: "When using an OSM-derived binfile this OSD can only determine the distance to the camera. This is due to limitations of the OSM data". well there are plenty of tags in osm that can give informations like: maxspeed=30, camera:direction=180(degrees), etc.

also in osm you can add an "enforcement" relation with 3 nodes (from, to and device) but is it Navit handling relations?

maybe not yet. if a tag for example amenity=post_office is added only in the relation, it doesn't show up in navit map.

@rdorsch btw if we like to use also IGO8 files, are you compiling Navit with the option --enable-map-csv ?

so we can add also
Code:
<map type="csv" enabled="yes" data="/path/to/igo8/file/speedcam.txt" item_type="tec_common" attr_types="position_longitude,position_latitude,tec_type,maxspeed,tec_dirtype,tec_direction" />
http://wiki.navit-project.org/index.php/Csv

ps: as some new users find difficult to edit xml files, is it possible to use/port the NavitConfigurator for N900? http://wiki.navit-project.org/index....itConfigurator
__________________
Flickr photos taken with N900 https://www.flickr.com/cameras/nokia/n900/
"Closed source software tells you what you can do. With open source, you decide what software can do for you" Richard Stallman