--- Log opened Tue Sep 20 00:00:53 2011 00:02 -!- drlizau [~liz@billiau.net] has joined #navit 00:26 -!- takuan [~takuan@178-118-50-126.access.telenet.be] has quit [Ping timeout: 260 seconds] 01:57 -!- playya_ [~playya@unaffiliated/playya] has quit [Quit: Verlassend] 02:36 -!- jffathome___ [~quassel@p5DCCE25C.dip0.t-ipconnect.de] has joined #navit 02:37 -!- jffathome_ [~quassel@p5DCCE1D5.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 02:39 -!- Dark_Ebola [~ebola@183-171-33-178.dsl.ovh.net] has quit [Quit: You're just jealous because the voices are talking to me] 03:06 -!- noradtux|away [~noradtux@2002:5ce0:36f6::1] has quit [Ping timeout: 244 seconds] 03:13 -!- noradtux|away [~noradtux@2002:5ce0:351f::1] has joined #navit 03:13 -!- noradtux|away is now known as noradtux 03:34 -!- cp15` [klyxij@p57B1CB70.dip0.t-ipconnect.de] has joined #navit 03:34 -!- cp15 [edjagm@p57B1CCB2.dip0.t-ipconnect.de] has quit [Disconnected by services] 03:34 -!- cp15` is now known as cp15 03:35 -!- mode/#navit [+o cp15] by ChanServ 03:38 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 03:55 -!- Brinky [brinky@faui2k3.org] has quit [Ping timeout: 258 seconds] 04:05 -!- Brinky [brinky@faui2k3.org] has joined #navit 04:27 -!- laroche [~laroche@dslb-178-002-176-212.pools.arcor-ip.net] has quit [Ping timeout: 260 seconds] 04:40 -!- laroche [~laroche@dslb-188-104-178-173.pools.arcor-ip.net] has joined #navit 05:44 -!- drlizau [~liz@billiau.net] has joined #navit 07:06 -!- tparcina [~tomo@cisco15.fesb.hr] has joined #navit 07:24 -!- cp15 [klyxij@p57B1CB70.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 07:26 -!- cp15 [smnluj@p57B1CB70.dip0.t-ipconnect.de] has joined #navit 07:26 -!- mode/#navit [+o cp15] by ChanServ 07:37 -!- Benja1972 [~sergei@79.71.13.109.rev.sfr.net] has joined #navit 07:46 -!- Benja1972 [~sergei@79.71.13.109.rev.sfr.net] has quit [Quit: Leaving.] 08:00 -!- jffathome___ [~quassel@p5DCCE25C.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 08:14 -!- sera [~sera@90-85.2-85.cust.bluewin.ch] has quit [Remote host closed the connection] 08:18 -!- sera [~sera@90-85.2-85.cust.bluewin.ch] has joined #navit 08:30 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has joined #navit 08:56 -!- sera [~sera@90-85.2-85.cust.bluewin.ch] has quit [Remote host closed the connection] 08:57 -!- sera [~sera@90-85.2-85.cust.bluewin.ch] has joined #navit 09:08 <@Horwitz> morgen 09:25 < Number6> Morning 10:32 -!- sera [~sera@90-85.2-85.cust.bluewin.ch] has quit [Read error: Operation timed out] 10:46 -!- sera [~sera@149-69.62-81.cust.bluewin.ch] has joined #navit 11:45 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has quit [Ping timeout: 276 seconds] 11:56 -!- Dark_Ebola [~ebola@183-171-33-178.dsl.ovh.net] has joined #navit 12:30 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has joined #navit 12:48 -!- GosuBuster [karvex@c-1631e155.547-1-64736c10.cust.bredbandsbolaget.se] has joined #navit 13:02 < GosuBuster> Hi everyone! I started to code a little bit using navit and I like it very much. I'm wondering how this blue line is drawn after I have set a position and a destination. I can see that a route graph and a route path is created after setting the destination, but I don't understand where in graphics.c the path is drawn. Does this displaylist struct contain the path? 13:04 <@cp15> GosuBuster, the route is actually a map which is created by the routing code 13:04 <@cp15> So the display code for the route path isn't different from for example displaying a street 13:05 <@cp15> If you go to settings/maps you can see there is a route map, if you disable it the route disappears 13:10 < GosuBuster> thnx cp15, that will probably help me a bit! :) 13:10 <@cp15> May I ask what you are planning to do? 13:12 < GosuBuster> I'm trying to paint the driven distance to another colour and storing it 13:14 <@cp15> The driven path? 13:14 <@cp15> Because for that there is already code 13:14 < GosuBuster> yes 13:14 < GosuBuster> really? 13:14 < GosuBuster> but is there something that paints the driven path? 13:15 < GosuBuster> or just something that stores the driven path? 13:17 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 13:17 <@cp15> Both... You can add a to the vehicle tag and then add pathlog.bin as map to your mapset 13:20 < GosuBuster> wow, that's amazing! 13:20 <@cp15> It also has a douglas peucker simplification built in, the number of points will be reduced after recording of 1024 points 13:21 < GosuBuster> I must test that and see the results :) 13:21 < GosuBuster> thnx a lot 13:23 <@cp15> Another question. I have seen you are from sweden. We could use a swedish navit key user. Could you sign up at our wiki http://wiki.navit-project.org (please add your email at signup) and create an user page with a user box like here: http://wiki.navit-project.org/index.php/User:Cp15 13:26 < GosuBuster> Cool, I will do that. But have in mind that I'm still quite new to navit. :) 13:34 -!- KaZeR [~kazer@145.43.195.77.rev.sfr.net] has quit [Ping timeout: 260 seconds] 13:39 <@cp15> No problem, it is just for cases where we need someone whith knowledge of swedish or sweden 13:47 -!- KaZeR [~kazer@166.170.67.86.rev.sfr.net] has joined #navit 13:47 -!- mode/#navit [+o KaZeR] by ChanServ 13:50 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has quit [Ping timeout: 276 seconds] 13:51 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has joined #navit 14:03 -!- mase76 [~mase76@pD9FF7692.dip.t-dialin.net] has joined #navit 14:04 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has quit [Quit: leaving] 14:16 -!- KaZeR [~kazer@166.170.67.86.rev.sfr.net] has quit [Ping timeout: 258 seconds] 14:30 -!- KaZeR [~kazer@86.67.170.151] has joined #navit 14:30 -!- mode/#navit [+o KaZeR] by ChanServ 14:35 -!- tparcina [~tomo@cisco15.fesb.hr] has left #navit [] 15:14 < GosuBuster> Does anyone know where to change the color and the width of the route path (blue is default)? 15:16 <@cp15> Look into navit.xml for street_route 15:28 -!- zaatlob [55bf5533@gateway/web/freenode/ip.85.191.85.51] has joined #navit 15:30 < zaatlob> saw that the new version of navit on android is much smaller. Is a major improvment in my opinion 15:30 < zaatlob> keep up the good work :D 15:35 <@cp15> zaatlob, thanks :-) 15:35 <@cp15> Now even app2sd should work 15:35 <@cp15> Well, actually you have to thanks Rikky 15:35 < zaatlob> did already work with the app2sd app. 15:36 < zaatlob> but you need a rooted phone in that case 15:36 <@cp15> I am not sure whether it actually will gain much, since the shared libraries which need quite some space still need to reside on the flash 15:36 < GosuBuster> cp15, worked like a charm :D 15:37 <@cp15> On the other hand they only need to do that once with app2sd 15:40 < zaatlob> @cp: at least this version i could install without diffilculties. 15:40 < zaatlob> the last one i had to do some tricks 15:46 <@cp15> What tricks? 15:53 < GosuBuster> cp15, do u know how to apply styles to my routed path which is stored in pathlog.bin? 15:59 <@cp15> It is currently hardcoded to "track" as type, so you need to change the appearance in navit.xml looking for item_types="track" 16:07 < zaatlob> @cp15: i had to fix permisions with rom manager, because otherwise the memory was insufficent. 16:12 < zaatlob> bey 16:12 < zaatlob> bye 16:12 -!- zaatlob [55bf5533@gateway/web/freenode/ip.85.191.85.51] has quit [Quit: Page closed] 16:26 < GosuBuster> is it possible to see the logged track in realtime? 16:28 <@cp15> Yes, of course. But you need to set follow="1" for the vehicle so the map follows the vehicle and gets redrawn at each update 16:31 -!- AngusRF [~Angus@82.113.106.209] has joined #navit 16:35 -!- joe___ [7d278422@gateway/web/freenode/ip.125.39.132.34] has joined #navit 16:37 < GosuBuster> I added the follow parameter and set it to 1, but I can't see the logged path in realtime. I have to restart navit each time to see the logged path. 16:37 < GosuBuster> also using the demo vehicle 16:41 <@cp15> I will try it out, there might be a bug 16:42 < GosuBuster> thnx for your time! 16:52 <@cp15> Yes, there is a bug, but there is a workaround: Add check_version="1" to the map tag for the track.bin map 16:56 < GosuBuster> worked like a charm. thnx a lot, cp15. :) 17:00 <@cp15> Of course a gui function to do all this would be nice 17:00 <@cp15> If you have spare time and interest it would be good if you could work on this 17:03 -!- korrosa [c30285b6@gateway/web/freenode/ip.195.2.133.182] has joined #navit 17:04 < korrosa> Afternoon. 17:04 < korrosa> [TRAC] New ticket http://trac.navit-project.org/ticket/938 "poor display on-screen keyboard" 17:05 < korrosa> [TRAC] New comment "hurry up!" http://trac.navit-project.org/ticket/754#comment:11 "Multipolygon relations not handled correctly" 17:05 < korrosa> END 17:07 < korrosa> cp15: We missing a Swedish flag on purpose? 17:08 <@cp15> No, I haven't found one on the osm wiki 17:09 < korrosa> Adding it now... 17:10 < korrosa> Done. 17:12 -!- joe___ [7d278422@gateway/web/freenode/ip.125.39.132.34] has quit [Ping timeout: 252 seconds] 17:14 < GosuBuster> cp15, u mean inside the internal_gui or creating a osd? 17:14 < GosuBuster> nice with swedish flag. :D 17:15 <@cp15> Internal gui 17:16 <@cp15> Of course enabling/disabling it via osd would also make sense 17:19 < GosuBuster> cool, sounds like a good starting. :) 17:30 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has joined #navit 17:39 -!- korrosa [c30285b6@gateway/web/freenode/ip.195.2.133.182] has quit [Quit: Page closed] 17:42 -!- Dark_Ebola [~ebola@183-171-33-178.dsl.ovh.net] has quit [Quit: You're just jealous because the voices are talking to me] 17:55 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has quit [Ping timeout: 260 seconds] 17:59 < panda81> hi cp15. How do I conver the coordinate pairs in the binary file to lat/lon 18:07 -!- mase_76 [~mase76@p5DD3A86B.dip.t-dialin.net] has joined #navit 18:10 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has joined #navit 18:11 -!- mase76 [~mase76@pD9FF7692.dip.t-dialin.net] has quit [Ping timeout: 276 seconds] 18:21 -!- zoff99 [~chatzilla@chello080109110017.13.15.vie.surfer.at] has joined #navit 18:21 < zoff99> hi 18:30 < Number6> Hello 18:33 < panda81> hello 18:34 < Number6> Hello... Is it me you're looking for? And I wonder who you are... 18:36 <@cp15> and I wonder what you do 18:37 < Number6> Are you sometimes feeling lonely? Or is someone loving you? 18:37 <@cp15> tell me how to win your heart 18:37 < panda81> No, map rendering keeps me off the street 18:37 < Number6> 'Cause I haven't got a clue 18:38 <@cp15> but let me start by saying 18:38 < Number6> I love Objective C 18:38 < zoff99> i stoped wondering long ago 18:39 < zoff99> anybody wanting to solve the "relations" problem, in maptool? 18:40 < Number6> You won't trick me that easily, cp15 18:40 < Number6> Not after last time 18:40 -!- korrosa [~netbook@host-2-98-222-133.as13285.net] has joined #navit 18:40 < korrosa> panda81: Just for you: http://wiki.navit-project.org/index.php/FAQ#Weird_coordinates_in_bookmarks.txt_and_centre.txt 18:40 < zoff99> korrosa: hello 18:41 < korrosa> Hi zoff99! 18:41 < zoff99> korrosa: how did you creep in here, without me noticing? 18:41 < korrosa> Still a ninja. 18:42 < zoff99> do u have a secret door into this channel? 18:42 -!- noradtux is now known as noradtux|away 18:44 < panda81> oh cool I saw the link cp15 and korrosa. What is 6371000. Is that equivalent to one PI 18:44 < korrosa> panda81: Circumference or radius of earth or something like that... 18:44 <@cp15> radius 18:44 < Number6> radius 18:44 < korrosa> radius 18:45 < zoff99> *oink* 18:48 < panda81> Then, the INT in the formula INT/6371000.0/PI*180 must be in the range +-6371000? 18:48 <@cp15> No, INT is the coordinate value 18:49 < zoff99> relations issue, anyone? does this bother nobody? 18:50 < panda81> The output of INT/6371000.0/PI*180 should be within +- PI because it's a longitude value right. Hence INT should be within +-6371000 18:51 < panda81> sorry, I meant +-180 instead of +-PI 18:52 <@cp15> Which makes it roughly +- 20 000 000... The earth circumfence 18:52 < korrosa> WHICH IS WHAT I SAID!!! RIGHT GUYS? GUYS? 18:52 < panda81> oh yes you are right. It's a divide by PI in the formula 18:53 < panda81> you said radius 18:54 < panda81> and cp15 said radius 18:54 < zoff99> korrosa: yeah, u da man :) 18:54 < zoff99> i said *oink* 18:57 < panda81> how does this work. circumference = 2*PI*radius. There is no 2 in the formula above 18:59 < zoff99> maybe the "2" is within the "180" ? 19:00 < korrosa> panda81: I'm sure it's got something to do with converting degrees to radians... 19:00 < zoff99> who cares? its a formula 19:01 < korrosa> panda81: Are you managing to convert the coordinates you need with the info from the wiki? I wrote it but haven't had any feedback yet on whether it's useful.... 19:02 -!- KaZeR [~kazer@86.67.170.151] has quit [Ping timeout: 240 seconds] 19:02 < panda81> I'm interested in map rendering and learning what's out there. Navit having a binary format definitely is very useful 19:05 < Number6> All of computing is based on maths. We rely on the fundamental principals of maths to even get the computer to boot up! 19:05 < korrosa> ....physics. 19:05 < Number6> Which is a form of applied maths 19:06 < panda81> I think there should a 2 if INT goes from 0 to 24,000,000. Such as INT/(2*6371000*PI) * 180 19:06 < zoff99> now really, u are hurting my ears 19:06 -!- Benja1972 [~sergei@79.71.13.109.rev.sfr.net] has joined #navit 19:06 < zoff99> are we going back to the book of genesis now also? 19:07 < Number6> Yes, please. I can school you in the old testament 19:07 < panda81> nevermind I think I'm wrong. Nerd spam ends here hehe 19:07 < Number6> Along with maths, applies maths, stats, chemistry, physics and computational fluid dynamics 19:08 < zoff99> Number6: better fix the relations issue, instead of reading up on the bible 19:08 < zoff99> that be more useful 19:09 < zoff99> and the lord with thank thee 19:09 < zoff99> will 19:10 < panda81> what's wrong with relations 19:12 < Number6> Have you ever met my in-laws? :-P 19:13 < panda81> I noticed there is no attrib equivalent page for http://wiki.navit-project.org/index.php/Item_def.h. Isn't relations just a bunch of attribs in and item 19:14 -!- KaZeR [~kazer@222.149.81.79.rev.sfr.net] has joined #navit 19:14 -!- mode/#navit [+o KaZeR] by ChanServ 19:15 < panda81> * bunch of attribs in AN item 19:19 < zoff99> not really 19:19 < zoff99> OSM relations are not really fully supported in navit(maps) yet 19:25 < panda81> ah then the relations you mention must be something else 19:28 < panda81> another thing about the INT/6371000.0/PI*180 formula. Since INT is an integer kilometer value, how do you represent any node or POI with fractional kilometer value 19:33 < korrosa> Because degrees!=kilometres? 19:33 < korrosa> Is this a test? 19:34 <@cp15> it is a meter value 19:34 < zoff99> wanna go out and fight it out? 19:38 < panda81> oh that makes sense. So the data is accurate to meters 19:39 -!- mase_76 [~mase76@p5DD3A86B.dip.t-dialin.net] has quit [Remote host closed the connection] 19:42 < panda81> 32bit int goes to about +- 2.15 billion. More bits are available for data accuracy if we need it. Then again, I don't know what's the accuracy of typical gps devices 19:43 <@cp15> ~ 10 meters... For the map 1m is ok, but internal calculations could sometimes use more precision 19:44 <@cp15> And the units are just at the equator 1m, they decrease with the lattitude 19:44 -!- zoff99 [~chatzilla@chello080109110017.13.15.vie.surfer.at] has quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.1/20090707221522]] 19:44 <@cp15> At the pole they are 0, so it is impossible to display them 19:53 < panda81> I see. Then the number 6371000 is a convention, though it should really be the radius of the longitude circle at a particular latitude 19:54 -!- mase76 [~mase76@p5DD3A86B.dip.t-dialin.net] has joined #navit 19:55 < panda81> This way, we use meters as unit regardless of latitude. 19:56 < panda81> Wonder if gps units report such pair of integer coordinates like Navit. It would skip over floating point issues of lat/lon. 19:57 <@cp15> The coordinates are in a mercator projection. This projection makes squares always square-shaped 19:59 < panda81> it sounds like mercator projection is same as texture mapping a sphere in typical graphics APIs 20:00 < panda81> oh wait the math is complicated, so unlikely. 20:03 <@cp15> Do you have experience with opengl? 20:03 < panda81> I was thinking of a simple phi/PI * circumferenceOfEarth to arrive at the integer numbers I see 20:03 < panda81> yes 20:04 <@cp15> Great. Maybe you could help improving the navit opengl driver? 20:04 -!- jffathome [~quassel@p5DCCE25C.dip0.t-ipconnect.de] has joined #navit 20:05 < korrosa> cp15's in full-on recruitment-drive-mode today! 20:05 < panda81> what does that do. 20:06 <@cp15> ? 20:07 < panda81> the opengl driver 20:07 <@cp15> Well, what every other graphics driver in navit does: Rendering the map and the menus 20:08 <@cp15> But of course opengl would allow much more things: 3d landmarks and buildings, considering elevation when rendering maps and so on 20:09 < panda81> ah I thought it was already opengl since it's Linux based. 20:10 <@cp15> Opengl is one option, gtk, qt, win32, sdl, cocoa, android and gd are some others 20:10 < panda81> what's the road map for the more advanced features you speak of 20:11 <@cp15> There is no strict roadmap 20:12 < Number6> You do what cp15 says, or he puts you in the coal mine. If you please him, he will sing Lionel Ritchie to you 20:13 < panda81> Haha. And I'll be Number7 in the mine? 20:15 < panda81> Alright. I haven't bothered with the code since I was looking at file formats and if what I know of OGL is sufficient. What's the typical rendering? Line draws? Polygons 20:16 <@cp15> Polygons 20:16 <@cp15> Line objects are converted to polygons if they have a width > 1 pixel, since most graphics systems aren't capable of drawing lines with varying width 20:18 < panda81> What about a road with a border color 20:19 <@cp15> It is currently drawn twice, first timer with a bigger linewidth, second time with a smaller one 20:19 <@cp15> Which isn't quite efficient since the body is actually drawn twice 20:21 < panda81> any special handling of intersections 20:21 <@cp15> No 20:26 < panda81> ok. I will ask you for rendering questions when my lookings direct me to it. Isn't there too many apis for drawing 20:31 -!- woglinde [~heinold@g229046210.adsl.alicedsl.de] has joined #navit 20:44 -!- mase76 [~mase76@p5DD3A86B.dip.t-dialin.net] has quit [Remote host closed the connection] 20:46 -!- sera [~sera@149-69.62-81.cust.bluewin.ch] has quit [Ping timeout: 252 seconds] 20:57 -!- panda81 [cff22602@gateway/web/freenode/ip.207.242.38.2] has quit [Ping timeout: 252 seconds] 20:58 -!- sera [~sera@116-112.62-81.cust.bluewin.ch] has joined #navit 21:00 -!- playya [~playya@93.216.232.146] has joined #navit 21:00 -!- playya [~playya@93.216.232.146] has quit [Changing host] 21:00 -!- playya [~playya@unaffiliated/playya] has joined #navit 21:14 -!- jffathome__ [~quassel@p5DCCE3E0.dip0.t-ipconnect.de] has joined #navit 21:14 -!- jffathome [~quassel@p5DCCE25C.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 21:23 -!- mase76 [~mase76@p5DD3A86B.dip.t-dialin.net] has joined #navit 21:25 -!- drlizau [~liz@billiau.net] has joined #navit 21:55 -!- GosuBuster [karvex@c-1631e155.547-1-64736c10.cust.bredbandsbolaget.se] has quit [] 22:04 -!- korrosa [~netbook@host-2-98-222-133.as13285.net] has quit [Quit: Leaving] 22:09 -!- panda81 [cff22602@gateway/web/freenode/ip.207.242.38.2] has joined #navit 22:20 -!- mase76 [~mase76@p5DD3A86B.dip.t-dialin.net] has quit [Remote host closed the connection] 22:21 -!- drlizau [~liz@billiau.net] has quit [Remote host closed the connection] 22:40 -!- womml [~asdf@88.231.77.236] has joined #navit 22:41 < womml> Hi, can I get the label of the pois in the map? 22:42 < woglinde> hm? 22:51 -!- womml [~asdf@88.231.77.236] has quit [Ping timeout: 276 seconds] 22:55 -!- woglinde [~heinold@g229046210.adsl.alicedsl.de] has quit [Quit: zapp] 23:25 -!- Benja1972 [~sergei@79.71.13.109.rev.sfr.net] has left #navit [] 23:36 -!- Amorphous [jan@unaffiliated/amorphous] has quit [Read error: Operation timed out] 23:37 -!- smt [~smt@188-195-124-231-dynip.superkabel.de] has joined #navit 23:37 -!- takuan [~takuan@178-118-48-228.access.telenet.be] has quit [Ping timeout: 240 seconds] 23:38 -!- smt [~smt@188-195-124-231-dynip.superkabel.de] has quit [Client Quit] 23:39 -!- Dark_Ebola [~ebola@183-171-33-178.dsl.ovh.net] has joined #navit 23:53 -!- Amorphous [jan@unaffiliated/amorphous] has joined #navit --- Log closed Wed Sep 21 00:00:53 2011