00:02.04 | *** join/#htc-linux GSV (i=GSV@c-71-202-155-188.hsd1.ca.comcast.net) |
00:58.40 | *** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com) |
05:22.11 | *** join/#htc-linux _law_ (n=law@mail.stiftadmont.at) |
05:29.05 | *** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru) |
05:34.19 | *** part/#htc-linux rmoravcik (n=rmoravci@pc-3s0zt5w2e4y0vzmhnrzq3a21zqajzfw.users.student.utc.sk) |
05:52.45 | *** join/#htc-linux bigdissaved (n=david@quandary.dreamhost.com) |
05:53.42 | bigdissaved | Im wondering, what arch does the HTC apache use? I know its an intel Xscale. I am trying to figure out what tool chain I need to build CLFS on it |
05:55.04 | *** join/#htc-linux the_sys0p` (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) |
06:01.47 | *** join/#htc-linux SmallR2002 (n=SmallR20@80-44-105-242.dynamic.dsl.as9105.com) |
06:02.19 | *** join/#htc-linux emiliano75 (n=emiliano@adsl-ull-116-216.42-151.net24.it) |
06:02.42 | emiliano75 | good mornig |
06:04.20 | *** join/#htc-linux rob_w|mis (n=rob_w@p549BA5F6.dip0.t-ipconnect.de) |
06:30.15 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
06:36.40 | *** join/#htc-linux pleemans (n=peter@gast039a.ugent.be) |
06:51.04 | *** join/#htc-linux rob_w|mis (n=rob_w@p549BA5F6.dip0.t-ipconnect.de) |
07:22.37 | *** join/#htc-linux rob_w|mis (n=rob_w@p549BA5F6.dip0.t-ipconnect.de) |
07:43.14 | *** join/#htc-linux rob_w|mib (n=rob_w@p549BA5F6.dip0.t-ipconnect.de) |
07:44.46 | *** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be) |
07:49.03 | *** join/#htc-linux rob_w|mis (n=rob_w@p549BA5F6.dip0.t-ipconnect.de) |
08:51.59 | *** join/#htc-linux bd2 (n=cbou@85.21.88.2) |
09:06.17 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) |
09:07.29 | *** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com) |
09:07.48 | BabelO | hi all |
09:08.40 | BabelO | goxboxlive : did you try gpe image on magician ? yesturday evening i start gpe-phonepanel in standard gpe image and i like the result ;) |
09:16.54 | *** join/#htc-linux bd2 (n=cbou@85.21.88.2) |
09:24.42 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
09:25.18 | *** join/#htc-linux pH5 (n=ph5@p5485C2E1.dip.t-dialin.net) |
09:33.10 | *** join/#htc-linux TeringTuby (n=maarten@162-117-dyn.ipact.nl) |
09:34.50 | *** join/#htc-linux Ranpha1 (n=Ranpha@hlm-n-73ed.adsl.wanadoo.nl) |
09:37.17 | *** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com) |
09:40.10 | *** join/#htc-linux pleemans (n=peter@leemanpe.ugent.be) |
10:09.13 | *** join/#htc-linux rob_w|mis (n=rob_w@p549BA5F6.dip0.t-ipconnect.de) |
10:23.04 | *** join/#htc-linux tsdogs (n=twostupi@84.18.144.39) |
10:25.09 | *** join/#htc-linux bd2_ (n=cbou@85.21.88.2) |
12:44.22 | *** join/#htc-linux Foxdie` (n=foxdiefu@87-194-16-145.bethere.co.uk) |
13:47.29 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
13:51.07 | *** join/#htc-linux slapin (n=slapin@iap-pxy-mow1.siemens.ru) |
13:55.25 | goxboxlive | hi BabelO |
13:55.53 | goxboxlive | Yes i have tried out a x11 image, both the one i created my self and the one pH5 where buidling. |
13:56.10 | goxboxlive | The problem with my image is that i dont have a qvga dialer |
13:56.45 | goxboxlive | But pH5's image where suplied with it, and it realy looked good (also works fine). |
14:00.42 | *** join/#htc-linux psokolovsky (n=psokolov@82.193.98.14) |
14:01.40 | *** join/#htc-linux rmoravcik (n=rmoravci@adsl-dyn4.91-127-237.t-com.sk) |
14:03.53 | goxboxlive | BabelO, could this application be crosscompiled and run it in OpieII? I need it to call "reboot". |
14:03.57 | goxboxlive | http://www.qt-apps.org/content/show.php/Command+Monitor?content=57190 |
14:11.26 | *** join/#htc-linux theBrave (n=jberniol@ngw.virtuallogix.com) |
14:14.28 | goxboxlive | And what about this one: http://www.qt-apps.org/content/show.php/Qmmp?content=59218 |
14:27.27 | *** join/#htc-linux tsdogs (n=twostupi@84.18.144.39) |
14:29.27 | BabelO | goxboxlive : why not ;)QT cross compile is not so hard if they use standard component and if our config-qpe.h is not too restrictive |
14:35.23 | BabelO | goxboxlive : this tool could be usefull for a mobile phone ;à http://www.qt-apps.org/content/show.php/jal?content=50204 |
14:48.22 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
15:12.05 | *** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com) |
16:29.48 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
16:38.53 | *** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org) |
16:38.58 | *** join/#htc-linux punkgeek (n=jeanseb@gazypan.dyndns.org) |
16:54.45 | *** join/#htc-linux Babel (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
17:10.06 | *** join/#htc-linux pH5 (n=ph5@p5485C2E1.dip.t-dialin.net) |
17:20.44 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
17:23.50 | *** join/#htc-linux Foxdie` (i=Foxdie@77-98-48-193.cable.ubr05.harb.blueyonder.co.uk) |
17:28.07 | *** join/#htc-linux Foxdie` (i=Foxdie@77-98-48-193.cable.ubr05.harb.blueyonder.co.uk) |
17:31.40 | *** join/#htc-linux scorpio16v (n=scorpio1@ACB2E6AF.ipt.aol.com) |
17:33.33 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
17:35.27 | *** part/#htc-linux scorpio16v (n=scorpio1@ACB2E6AF.ipt.aol.com) |
17:43.43 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
17:47.19 | tsdogs | cr2_: you here? |
17:52.57 | cr2_ | yes. |
17:53.26 | cr2_ | tsdogs: i've solved many problems/questions and hit many bugs. |
17:53.36 | tsdogs | :) |
17:53.59 | tsdogs | ok. I'm trying to handle the ~[0xAA] values |
17:54.15 | cr2_ | ok. |
17:54.24 | tsdogs | but have no idea what I should draw for the highway symbols |
17:54.41 | tsdogs | the shild thing seems to be USA related |
17:54.57 | cr2_ | ok, then don't do it. |
17:55.02 | tsdogs | I think the best way is to use sprites (so you can decide what to put) |
17:55.31 | cr2_ | btw, i've tried to label pois. |
17:55.48 | cr2_ | as zero length lines. |
17:56.12 | cr2_ | it does not work., because this case is catched by the label code. |
17:56.46 | cr2_ | if i define them as short segments it works for the certain zoom levels. |
17:56.48 | tsdogs | ok, but we can handle the pois labels in pois drawing too. |
17:57.12 | cr2_ | but if the seg length becomes too short it disappeares. |
17:57.21 | cr2_ | otherwise everything works. |
17:57.39 | cr2_ | btw, the fontsize can't be changed. |
17:57.54 | cr2_ | i think you have hardcoded 12 somewhere. |
17:58.20 | cr2_ | did you pack brushes/fonts into RoadmapPen ? |
17:58.31 | cr2_ | then api does not need to change. |
17:58.47 | tsdogs | hmm, I have to check, but I think the font does not change as the label is not road related, so it uses always same pen :( |
17:58.55 | tsdogs | yes |
17:59.12 | cr2_ | i've seen 12 somewhere. |
17:59.54 | tsdogs | When it draws labels (after it has drawn the streets the pen does not change :( |
17:59.59 | cr2_ | why "areas" aka polygons use "Thickness" ? |
18:00.11 | cr2_ | ah. ok. |
18:00.33 | tsdogs | it's pen thickness, (I think for the border) |
18:00.45 | tsdogs | actually in the code the pen was set to NoPen |
18:01.14 | tsdogs | I changed it |
18:02.09 | cr2_ | i doubt that we need the polygon borders. |
18:03.18 | cr2_ | hmm. then .Color for polygons should be replaced by .Brushcolor |
18:03.38 | tsdogs | ok, then I'll simply put the pen to NoPen, you can still specify the Thikness but won't have any result on the map. |
18:04.01 | tsdogs | It's already like this: .BrushColor |
18:04.56 | tsdogs | Color is for the Pen, not the brush. (but if a plygon is filled and pen color is specified and not BrushColor, BrushColor is defaulted to Pen Color) gee this was complicated :) |
18:05.14 | cr2_ | yeah. |
18:05.34 | cr2_ | it was .Color in both cases before. |
18:05.44 | tsdogs | :) |
18:05.57 | cr2_ | i get brown color for big lakes now ;) strange. |
18:06.03 | tsdogs | that's why for the pen color and thickness. |
18:06.04 | tsdogs | hmm |
18:06.28 | tsdogs | maybe transparency ? |
18:07.37 | cr2_ | i'm looking what's wrong. |
18:07.53 | cr2_ | there are 2 other annoying problems. |
18:08.27 | cr2_ | if the label color (black) = road color (black), then you can't see the name. |
18:08.46 | cr2_ | can we buffer the labels with the current code ? |
18:09.06 | tsdogs | what U mean buffer the label? |
18:09.26 | cr2_ | i.e. draw them twice in two colors, second time with a bit smaller fontsize ? |
18:09.28 | BabelO | hi |
18:09.36 | BabelO | goxboxlive: are you here ? |
18:09.41 | cr2_ | does the cache cache pixmaps ? |
18:09.47 | cr2_ | hi BabelO |
18:10.02 | goxboxlive | BabelO, alo |
18:10.05 | tsdogs | hmm, this is dificult as smaller font size, will result in smaller label. |
18:10.10 | BabelO | hi cr2_ |
18:10.34 | BabelO | goxboxlive: does screen rotate works under your GPE ? i can rotate one tme only |
18:10.58 | tsdogs | no caching for pixmaps, it draws them all the time. |
18:11.03 | cr2_ | tsdogs: maybe then the "background" label with bigger font. |
18:11.18 | cr2_ | there is some label cache. |
18:11.31 | goxboxlive | BabelO, with universal it did, but i dont know now, havent tried it out lately. With magician i have the same issue as you AFAIR |
18:11.33 | tsdogs | cr2_: making the font work is an easy task |
18:11.38 | goxboxlive | I'll try now |
18:11.51 | cr2_ | xmag gives 16bit numbers for colors ;) can i force it use 8bit ? |
18:12.48 | tsdogs | cr2_: no idea |
18:13.09 | cr2_ | how can i check the colors ? |
18:13.14 | tsdogs | gimp ? |
18:13.25 | tsdogs | there was also a kde applet |
18:14.41 | cr2_ | is it possible to pick colors from other windows in gimp ? |
18:15.00 | tsdogs | yes. but if you have kde, it's easyer to use it's applet |
18:15.54 | cr2_ | i have kde, but where is the applet ? |
18:16.14 | tsdogs | panel menu -> add new applet |
18:16.50 | tsdogs | then look for something called color somethinf |
18:17.01 | tsdogs | s/somethinf/something |
18:18.12 | cr2_ | ok. |
18:18.30 | goxboxlive | BabelO, on magician it doesnt roate back to potrait mode. It's a new bug, have never noticed that on universal |
18:19.19 | BabelO | goxboxlive: ok same that me , to rotate back it works with xrandr --screen 0 -o normal |
18:19.42 | goxboxlive | BabelO, do you have to use --screen 0 ? |
18:20.06 | BabelO | goxboxlive: no not needed |
18:20.16 | goxboxlive | i have never used it |
18:20.18 | BabelO | i m in ssh session that 's why |
18:20.43 | cr2_ | tsdogs: i get some colors for the polygons that are not in the ~/schema ;) |
18:20.44 | goxboxlive | BabelO, do you have some issues with your backlight in GPE? |
18:21.12 | tsdogs | ;) there is also a preferences. |
18:21.32 | BabelO | goxboxlive: no it is working |
18:21.54 | cr2_ | tsdogs: hmm. |
18:22.02 | goxboxlive | BabelO, smae here, but it shuts off sometimes, and i have to adjust the bar to have it back. |
18:22.12 | cr2_ | tsdogs: i've changed that yesterday: |
18:22.15 | cr2_ | - RoadMapPen *zoomPen; |
18:22.16 | cr2_ | + RoadMapPen zoomPen; |
18:22.27 | BabelO | goxboxlive: it come back when i touch screen |
18:22.35 | goxboxlive | ok |
18:22.37 | cr2_ | tsdogs: your zoom does not show up for me. |
18:22.40 | tsdogs | ho. did I put it back ? |
18:22.51 | tsdogs | did you do cvs up? |
18:23.01 | BabelO | goxboxlive: it is like iin wince ;) |
18:23.21 | goxboxlive | right |
18:23.25 | tsdogs | cr2_: dunno why but CVS missed something |
18:24.11 | cr2_ | ok, did an update now. |
18:25.54 | cr2_ | the bar color is grey ? |
18:26.17 | tsdogs | no should be green |
18:26.35 | cr2_ | the colors are fscked here :) |
18:26.58 | tsdogs | are they #aabbcc ? |
18:27.18 | cr2_ | btw, if i define 176x220 window size it crashes. |
18:27.24 | cr2_ | in schema ? yes. |
18:27.33 | tsdogs | hmm, that's strange. |
18:27.34 | cr2_ | in preferences - not sure. |
18:27.54 | tsdogs | does not matter, as zoombar is color fixed right now. |
18:29.05 | cr2_ | ok. i'll try amd64. |
18:29.08 | tsdogs | cr2_: are you on amd64 or i386? |
18:29.24 | goxboxlive | pH5, i think i know what causing the suddenly suspend/resume on Magician. It only happends when i have openmoko-dialer running, so i guess it is the phone part that causing it. |
18:29.26 | cr2_ | i386, because i'm testing buildmap. |
18:29.29 | tsdogs | ok |
18:29.39 | cr2_ | recompiling it often. |
18:29.42 | tsdogs | I need to do tests on i386 too |
18:29.45 | tsdogs | :) |
18:30.03 | cr2_ | Major_highway.Thickness: 6 |
18:30.10 | cr2_ | Major_highway.Delta1: 2 |
18:30.24 | pH5 | goxboxlive: the resume part I can explain. but why does it suddenly suspend? perhaps ipaq-sleep is running? |
18:31.10 | cr2_ | tsdogs: the "1" line is always 2pixel wide, but the "main" line can grow to insane sizes at low zoom. is it right ?? |
18:32.15 | tsdogs | cr2_: no idea how that's calculated. |
18:32.31 | goxboxlive | pH5, yes ipaq-sleep is running. Should i shut it down |
18:32.53 | tsdogs | I only use do a setThickness, which depends on zoom I think. |
18:33.00 | cr2_ | tsdogs: we need to find out, because it's very annoying. |
18:33.14 | tsdogs | ok |
18:33.16 | pH5 | goxboxlive: try it. I think it is suspending after a certain amount of inactivity. |
18:33.18 | cr2_ | hmm. i'm not sure if it's good. |
18:35.58 | cr2_ | tsdogs: the weird colors are the same on amd64. |
18:36.17 | cr2_ | grey zoombar and brown lakes. |
18:37.09 | tsdogs | hmm |
18:37.30 | tsdogs | can you send me your schema? |
18:37.54 | cr2_ | yes. |
18:38.08 | cr2_ | i#ve modified - RoadMapPen *zoomPen; |
18:38.17 | cr2_ | because i get a warning there. |
18:38.24 | tsdogs | now me too, but it's still working for me |
18:38.31 | cr2_ | ok. |
18:39.01 | cr2_ | otherwise i've local changes only in the buildmap_postgres.c |
18:39.08 | tsdogs | hmm. |
18:39.44 | cr2_ | sending schema+preferences. |
18:40.50 | tsdogs | ok |
18:41.01 | tsdogs | cr2 now fonts seem to be working too. |
18:41.08 | tsdogs | I'll commit. |
18:41.38 | goxboxlive | pH5, after stopping ipaq-sleep it doesnt suspend again after it resume |
18:42.06 | goxboxlive | pH5, we should actaully deactivate ipaq-sleep? it doesnt do anything good? |
18:42.53 | pH5 | goxboxlive: well, it suspends the device after certain time so the battery doesn't run low. should be up to the user whether he likes that or not. |
18:44.12 | goxboxlive | pH5, ok, then i think it is usefull to have it running. |
18:44.24 | cr2_ | tsdogs: sent. |
18:44.30 | goxboxlive | But i guess when the auto resume is fixed it wouldnt be a problem anymore |
18:46.04 | tsdogs | cr2_: ok now, everything is black/white, zoombar is there though. |
18:46.25 | pH5 | goxboxlive: right. did you verify that it's CB messages that wake up the phone? |
18:46.47 | pH5 | the n_tihtc dmesg log after resume should show the first reads from the gsm chipset. |
18:48.23 | cr2_ | tsdogs: you need a better map :) |
18:48.30 | tsdogs | :) |
18:48.31 | goxboxlive | pH5, i'll check now |
18:49.06 | cr2_ | tsdogs: i'll try to add some forests, but the fscking 65536 limit is not easy to overcome. |
18:50.29 | tsdogs | ok, I have a couple of main roads which have an inside color of DC7C5A which seems to be ok with the schema |
18:50.37 | goxboxlive | BabelO, seems like ljp is comitting the 4.2.2 code now. |
18:51.30 | tsdogs | cr2_: does it display the zoombar for you? |
18:51.36 | cr2_ | tsdogs: ok. do you see this 2pix on very wide road problem ? |
18:52.13 | cr2_ | oh. segfaulted on x86. |
18:52.38 | tsdogs | you mean that it is 2 pix fixed the Color1 and Delta1 right? |
18:53.33 | cr2_ | the Delta1 line is always 2pix wide, but the main line thickness grows to insane sizes. |
18:54.04 | tsdogs | cr2_: I have to go home, now. please check the new Font Handling... and zoombar. bbl |
18:54.24 | tsdogs | cr2_: ok. I think it's the zoom thing. |
18:54.24 | cr2_ | ok. bbl. |
18:56.08 | goxboxlive | pH5, here is my dmesg after resume. http://pastebin.no/2093 |
18:56.52 | BabelO | goxboxlive: i see |
18:59.11 | goxboxlive | BabelO, i know there where some issues with bluetooth form 4.2.1 to 4.2.2 so i had to revert a lot of files back to 4.2.1 when i was building Qtopia4.2.2. Is that a htcphone issue or is it a bug in the Qtopia-4.2.2 source? |
18:59.33 | goxboxlive | I will build it now and then let you know what it might be. |
19:00.19 | BabelO | ok, ii think it was a bug before, bug due to comit in opie2 svn |
19:01.42 | goxboxlive | ok |
19:03.23 | pH5 | goxboxlive: funny. looks like the +CREG messages are waking it up. |
19:03.34 | goxboxlive | pH5, ok |
19:03.50 | goxboxlive | pH5, havent yo noticed this yourself? |
19:03.53 | pH5 | try to issue AT+CREG=0 before suspend, it shouldn't wake up anymore then (at least not due to that reason) |
19:05.01 | goxboxlive | pH5, with cu while gsmd are running? |
19:05.01 | pH5 | goxboxlive: no. maybe I just didn't leave it in suspend long enough while logged into the network :) |
19:05.10 | goxboxlive | ok |
19:05.22 | pH5 | goxboxlive: you can use libgsmd-tool --mode atcmd to talk through gsmd without confusing it. |
19:05.41 | goxboxlive | pH5, ahh i didnt know. cool |
19:05.57 | pH5 | yup, very useful tool |
19:06.24 | goxboxlive | so i have might use gsmd then without dialer issue at+cfun=1 then. I can do it manually with libgsmd-tools |
19:07.42 | pH5 | yes. I have used it to cancel quite a few calls because the dialer would segfault during the call. |
19:08.19 | goxboxlive | pH5, i get this: unknown/unsupported mode `AT+CREG=0' |
19:09.14 | pH5 | ow. really? |
19:09.32 | goxboxlive | i issue this |
19:09.44 | goxboxlive | root@magician:~$ libgsmd-tool --mode AT+CREG=0 |
19:09.44 | goxboxlive | libgsm-tool - (C) 2006 by Harald Welte |
19:09.44 | goxboxlive | This program is Free Software and has ABSOLUTELY NO WARRANTY |
19:09.44 | goxboxlive | unknown/unsupported mode `AT+CREG=0' |
19:10.13 | pH5 | ah, no use "libgsmd-tool --mode atcmd" exactly as I typed. you then get a prompt where you can enter AT commands |
19:10.24 | goxboxlive | oh :-) |
19:11.12 | goxboxlive | pH5, it didnt help, it resumed again |
19:11.37 | pH5 | that fast? |
19:13.10 | *** join/#htc-linux Ranpha1 (n=Ranpha@hlm-n-73ed.adsl.wanadoo.nl) |
19:13.14 | cr2_ | looks like some shareware. |
19:13.40 | goxboxlive | pH5, oh yes, are sure it isent the gsm signals wich might differ and thats causing the wake up |
19:13.50 | goxboxlive | like signal leveløs |
19:13.53 | goxboxlive | levels |
19:24.57 | *** join/#htc-linux ljp_ (n=lpotter@203.94.178.46) |
19:26.08 | *** join/#htc-linux thinko-X (n=jdoe6alp@smaug.rackdragon.com) |
19:29.58 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM] |
19:29.58 | *** join/#htc-linux SmallR2002 (n=SmallR20@80-44-105-242.dynamic.dsl.as9105.com) [NETSPLIT VICTIM] |
19:29.58 | *** join/#htc-linux Kevin2 (n=Kevin@207-237-65-88.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com) [NETSPLIT VICTIM] |
19:33.02 | *** join/#htc-linux KimuSan^ (n=kimusan@ip205.tankegang.dk) [NETSPLIT VICTIM] |
19:33.02 | *** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com) |
19:33.02 | *** join/#htc-linux |dion| (n=dion@inhex.net) [NETSPLIT VICTIM] |
19:33.02 | *** join/#htc-linux TeringTuby (n=maarten@162-117-dyn.ipact.nl) |
19:33.03 | *** join/#htc-linux emiliano75 (n=emiliano@adsl-ull-116-216.42-151.net24.it) [NETSPLIT VICTIM] |
19:33.03 | *** join/#htc-linux ecze (n=ecze@eczema.ecze.com) [NETSPLIT VICTIM] |
19:33.03 | *** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM] |
19:33.03 | *** join/#htc-linux pof (n=pof@192.red-62-57-228.user.auna.net) [NETSPLIT VICTIM] |
19:33.03 | *** join/#htc-linux sh3n (n=sh3n@71.Red-80-35-179.staticIP.rima-tde.net) [NETSPLIT VICTIM] |
19:33.28 | *** join/#htc-linux bigdissaved (n=david@quandary.dreamhost.com) [NETSPLIT VICTIM] |
19:33.28 | *** join/#htc-linux cyrill62 (n=user@ble59-5-82-233-205-36.fbx.proxad.net) |
19:33.30 | *** join/#htc-linux rmoravcik (n=rmoravci@adsl-dyn4.91-127-237.t-com.sk) |
19:36.11 | *** join/#htc-linux bd2 (n=cbou@89.113.85.104) |
19:40.21 | goxboxlive | BabelO, should i also add a qconfig-qpe.h to the htcphone directory, or is it enough with a empty qcofnig.h? |
19:42.26 | BabelO | enougth :) |
19:59.42 | *** join/#htc-linux tsdogs (n=twostupi@62.123.180.130) |
20:02.16 | cr2_ | tsdogs: fixed the polygon colors. |
20:02.33 | tsdogs | ok :) |
20:02.40 | cr2_ | it was my fault, but found some other bugs in progress. |
20:02.46 | tsdogs | :) |
20:02.51 | cr2_ | your polish decoder segfaults. |
20:03.04 | cr2_ | i've commented it out. |
20:03.12 | tsdogs | hmm, you mean the label interpretation? |
20:03.15 | cr2_ | yes. |
20:03.27 | cr2_ | why didn't you use c++ there ? |
20:03.54 | cr2_ | ok. it's portable code :) |
20:03.56 | tsdogs | 'cause core is not C++ |
20:03.59 | cr2_ | yes. |
20:04.20 | cr2_ | i think is does bad things if the string begins with ~[ |
20:05.01 | tsdogs | ok, I'll check the code, can you send me an updated map version? |
20:07.36 | cr2_ | your map ? |
20:08.08 | cr2_ | i use the big map now with many features. |
20:08.20 | cr2_ | i'd like to check the forests first. |
20:08.32 | tsdogs | ok |
20:08.52 | tsdogs | I'm actually using the oslo one, mine is outdated :) |
20:09.13 | cr2_ | line thickness is a problem now. |
20:09.32 | tsdogs | ok I'll check it. |
20:09.33 | cr2_ | i can update yours, but they don't have many features. |
20:09.55 | tsdogs | cr2_: no prob. I keep this and wait for new features. |
20:09.58 | cr2_ | i'm close to a generic solution anyway. |
20:10.24 | tsdogs | what do you think the street thickness should get? |
20:10.39 | cr2_ | if you are not bothered by ogr2ogr then i can send you the tools. |
20:10.40 | tsdogs | I mean with biggest zoom |
20:10.55 | tsdogs | I have ogr2ogr :) |
20:11.01 | cr2_ | i think the main and delta should not be decoupled. |
20:11.18 | cr2_ | it#s stupid to draw 1pix wide line on a 100pix road |
20:11.36 | tsdogs | At max zoom level the pixel is 22cm |
20:11.48 | cr2_ | 100pix black road creates a problem with road names. |
20:12.16 | cr2_ | ok, but the "small" line should not be 22cm wide :) |
20:12.18 | tsdogs | so if you have a high way should get something like 50px or so |
20:12.50 | cr2_ | i think 2pix should be the border between main and small, and not the small itself. |
20:13.04 | cr2_ | otherwise why is it called DeltaN ? |
20:13.32 | cr2_ | or better: |
20:13.39 | tsdogs | ok, so the delta should increase with the street |
20:13.57 | cr2_ | if N is the main, and N is small, then they should be scaled in the same way. |
20:14.27 | cr2_ | s/N is small/M is small/ |
20:14.53 | tsdogs | ok, I'll check the code. |
20:14.56 | cr2_ | ok.# |
20:20.56 | tsdogs | cr2_: there is this declutter value which is used for: |
20:21.02 | tsdogs | /* Use the declutter value to decide how fast should a line shrink. |
20:21.02 | tsdogs | <PROTECTED> |
20:21.02 | tsdogs | <PROTECTED> |
20:26.08 | cr2_ | hmm. is it possible to disable it ? |
20:27.22 | tsdogs | cr2_: for the ratio yes, but I don't know if it's used somewhere else |
20:27.40 | cr2_ | ok. |
20:27.53 | cr2_ | postgis is great. |
20:27.57 | cr2_ | delete from water where area(the_geom) < 5.0e-4 and type!=23; |
20:29.28 | tsdogs | :) |
20:29.32 | cr2_ | wow. now i have city_park enabled. |
20:29.48 | tsdogs | cr2_: there is a ROADMAP_REFERENCE_ZOOM |
20:30.02 | cr2_ | set it to 2 ? |
20:30.11 | tsdogs | it is set to 32 |
20:30.12 | tsdogs | ok |
20:31.00 | cr2_ | there is one more feature i need to understand. |
20:31.01 | tsdogs | hmm now a highway is 6 pixels big for max zoom |
20:31.20 | cr2_ | set to the high value. |
20:31.44 | tsdogs | cr2_: we found the way to have the map smaller :) |
20:32.33 | cr2_ | i'd like to include the polygon with the city borders, and assign all features which are in this polygon the city name as attribute. |
20:32.39 | tsdogs | cr2_: but this would lead to have a highway something like 10000px when zoomed in |
20:33.16 | cr2_ | then it will be possible to cut the map into pieces, and avoid the 65535 limit. |
20:33.19 | cr2_ | huh ? |
20:33.22 | cr2_ | why ? |
20:33.34 | tsdogs | wait I'll try |
20:34.21 | tsdogs | yep, everithing is blacknow :) |
20:35.28 | cr2_ | hm. |
20:35.58 | cr2_ | well, why can't the 'small' pen be resized with the same algorithm ? |
20:37.08 | tsdogs | it's not handled, I'll make it work. |
20:37.45 | tsdogs | but the ROADMAP_REFERENCE_ZOOM is used for the schema thickness. so the road would get the exact thickness (i.e. 6) at that zoom |
20:38.30 | tsdogs | :) |
20:38.31 | tsdogs | if (use_multiple_pens && (ratio < 3)) { |
20:38.31 | tsdogs | <PROTECTED> |
20:39.33 | tsdogs | bbl |
20:42.18 | goxboxlive | BabelO, are you able to configure the new OPieII source? |
20:42.52 | BabelO | goxboxlive: i didn t check out source: |
20:43.51 | goxboxlive | BabelO, check it out and tru configure. Mine is failing |
20:47.47 | BabelO | ok i ll try |
20:48.19 | *** join/#htc-linux |dion| (n=dion@inhex.net) |
20:48.32 | goxboxlive | good |
20:51.02 | tsdogs | cr2_: :) |
20:51.04 | tsdogs | /* As a matter of taste, I do dislike roads with a filler |
20:51.04 | tsdogs | <PROTECTED> |
20:51.04 | tsdogs | <PROTECTED> |
20:51.24 | cr2_ | :) |
20:53.00 | cr2_ | tsdogs: the zoombar is grey for me :) |
20:53.27 | tsdogs | grrh why is that ? :( |
20:53.52 | cr2_ | how do you set the color ? |
20:54.04 | tsdogs | fixed in the source . |
20:54.13 | tsdogs | roadmap_display.c |
20:54.17 | cr2_ | it's semitransparent, but is grey on white bg- |
20:54.19 | tsdogs | look for zoombar |
20:54.56 | tsdogs | isn't it filled with green? |
20:55.44 | tsdogs | wait maybe I know why. |
20:55.47 | cr2_ | black with 128 opacity. isn't it grey ? |
20:55.57 | tsdogs | yes |
20:56.12 | tsdogs | hmm, I thought I submitted this :( |
20:56.21 | cr2_ | roadmap_canvas_set_brush_color("#00fa00"); |
20:56.41 | cr2_ | but maybe it's overridden by some preferences setting ? |
20:57.03 | tsdogs | nope I created a new pen just for zoombar. |
20:57.08 | cr2_ | you have hardcoded 14. |
20:57.10 | cr2_ | ok. |
20:57.12 | tsdogs | cvs is missing some changes |
20:57.17 | tsdogs | :) |
20:57.40 | cr2_ | ok. |
20:58.25 | cr2_ | roadmap_canvas_draw_string_angle (start, center, angle, 12, mytext); |
20:58.29 | cr2_ | what is 12 ? |
20:59.09 | tsdogs | ? |
20:59.16 | tsdogs | where is it? |
21:00.19 | tsdogs | 12 is size :( |
21:00.32 | tsdogs | but in qt it is ignored . |
21:00.59 | tsdogs | ok committed. |
21:01.13 | cr2_ | ok. |
21:01.51 | *** join/#htc-linux Ranpha1 (n=Ranpha@hlm-n-73ed.adsl.wanadoo.nl) |
21:03.24 | cr2_ | i've committed my postgres changes. |
21:03.51 | cr2_ | hehe. it's green now. |
21:04.12 | tsdogs | :) ok now also polygons should work correctly |
21:04.54 | cr2_ | 2pix remains. |
21:05.30 | cr2_ | it's even 1pix for some lines. |
21:06.01 | tsdogs | hmm still working on it |
21:06.26 | cr2_ | the dashed lines work :) |
21:07.12 | tsdogs | :) |
21:07.30 | cr2_ | look better and better :) |
21:07.48 | tsdogs | yep |
21:08.07 | tsdogs | btw, the map now looks very detailed. |
21:08.41 | tsdogs | cr2_: now I know why the delta is not working. |
21:09.00 | tsdogs | you need to specify the difference with - (minus) |
21:09.24 | tsdogs | that is the thickness delta which should be -1 not +2 |
21:09.45 | cr2_ | ok. |
21:10.00 | cr2_ | i autogenerate the settings. |
21:10.12 | cr2_ | decluttering is disabled now. de-facto. |
21:10.55 | tsdogs | Yes, but dunno if it really is good for small devices :) |
21:11.47 | cr2_ | WOW. |
21:12.02 | tsdogs | ok put -2 |
21:12.52 | cr2_ | no. even more smart. |
21:12.58 | cr2_ | $8-$4 |
21:13.03 | cr2_ | i had it ibverted. |
21:13.10 | cr2_ | s/ib/in/ |
21:13.32 | cr2_ | this program kicks ass 8) |
21:13.53 | tsdogs | :) |
21:14.01 | goxboxlive | screenie |
21:14.04 | cr2_ | i don't believe my eyes, how good it is :) |
21:15.06 | BabelO | yes yes yes screenies ... :) |
21:15.25 | goxboxlive | i dont know wich application they even are talking about |
21:15.34 | tsdogs | goxboxlive: roadmap :) |
21:15.39 | goxboxlive | ahh |
21:17.46 | BabelO | goxboxlive: i m updating svn :) take a long time... |
21:18.04 | goxboxlive | :-) i checked out a new one |
21:19.17 | cr2_ | http://jornada820.sf.net/pic/rm.png |
21:19.26 | *** join/#htc-linux GSV (i=GSV@c-71-202-155-188.hsd1.ca.comcast.net) |
21:19.52 | cr2_ | we need to get a really good map from mapcenter.cgpsmapper.com |
21:20.04 | goxboxlive | looks good. |
21:20.12 | BabelO | cr2_: really nice color choice ;) |
21:20.14 | BabelO | it is clear |
21:20.29 | cr2_ | BabelO: it's a ripoff :) |
21:20.41 | BabelO | what is green mark in top right ? |
21:20.52 | BabelO | i can't read |
21:21.30 | tsdogs | cr2_: can you commit the new schema ? |
21:21.33 | cr2_ | tsdogs: the label cache is too small for a big computer. |
21:21.46 | tsdogs | :) |
21:21.53 | cr2_ | so 2/3 of the roads are not labeled. |
21:21.57 | tsdogs | isn't there a DEFINE |
21:22.13 | cr2_ | BabelO: it's some roadname that is planned. |
21:22.18 | cr2_ | but not yet there. |
21:22.23 | tsdogs | #define MAX_LABELS 2048 |
21:22.50 | cr2_ | tsdogs: for a PDA is may be ok. |
21:22.55 | tsdogs | I think it should be enough, the problem is how it is handled |
21:23.22 | tsdogs | I think that on a big computer, cache shouldn't even be used. |
21:23.29 | cr2_ | tsdogs: ok, i'll commit the schema |
21:23.32 | cr2_ | ok. |
21:24.12 | tsdogs | cr2_: what is this fancy red/green street? |
21:24.43 | tsdogs | ho ok, it's the border. |
21:24.46 | cr2_ | afaik the best map on mapcenter is Warsaw. |
21:25.39 | cr2_ | or should be. |
21:26.14 | cr2_ | tsdogs: how can you see it with your map ? |
21:26.29 | tsdogs | what? |
21:26.32 | cr2_ | oh, yes. you only miss the polygons. |
21:26.39 | tsdogs | yep |
21:27.28 | cr2_ | i'll pack the map, so you'll see the polygons rendering bugs. |
21:28.49 | cr2_ | tsdogs: it's the daytime skin, btw. |
21:29.03 | tsdogs | ok |
21:29.09 | cr2_ | there is also nighttime. |
21:29.31 | tsdogs | we should start implement skins? |
21:29.32 | cr2_ | and we should also think about copilot. |
21:29.39 | cr2_ | tsdogs: they are already. |
21:29.59 | tsdogs | hmm, not really sure about that. |
21:30.00 | cr2_ | we miss a lot because we are not using the latest CVS. |
21:30.39 | tsdogs | cr2_: yes. that's what I meant. but skin ain't dificult, it's only a matter of loading pens and images for navigation |
21:31.05 | tsdogs | btw do you have some examples for the highway symbols= |
21:31.11 | tsdogs | s/=/?/ |
21:31.19 | cr2_ | gpsbabel site ? |
21:31.46 | cr2_ | goxboxlive: can you take care of the a780 map skin ? |
21:33.14 | cr2_ | tsdogs: can you add the label buffering to qt_canvas.cc ? |
21:33.56 | tsdogs | what's the use? they are already drawn on pixmap, and then flushed |
21:35.10 | cr2_ | p.drawText(0, -text_descent, QString::fromUtf8(text)); |
21:35.24 | cr2_ | change the fontsize++ |
21:35.28 | cr2_ | and draw again. |
21:35.37 | cr2_ | hm. and the color. |
21:35.50 | *** join/#htc-linux snakefreak (n=dennisco@p548252F0.dip.t-dialin.net) |
21:35.58 | snakefreak | hi all |
21:36.15 | tsdogs | hmm, but then you should change color too? |
21:36.18 | tsdogs | hi snakefreak |
21:36.50 | cr2_ | hmm. it should be in the skin. and the font delta too. |
21:36.58 | cr2_ | ok, but it's fine-tuning :) |
21:37.14 | tsdogs | and I don't think you'd get what you expect |
21:37.15 | cr2_ | what i miss now are the POI labels |
21:37.23 | snakefreak | ^^ |
21:37.33 | cr2_ | tsdogs: you can check it in the qgis. |
21:37.37 | snakefreak | are you there? |
21:37.45 | BabelO | snakefreak: i know that, i know it from ogame.fr channel :) |
21:38.04 | tsdogs | cr2_: the POI or the labels? |
21:38.07 | snakefreak | `? |
21:38.21 | cr2_ | tsdogs: at least the POI labels. |
21:38.24 | BabelO | snakefreak: i want to eat now ;) not a trout |
21:38.47 | cr2_ | the current lababeling code should not be tied to lines, actually. |
21:38.49 | snakefreak | ah ok |
21:38.52 | tsdogs | ok. does you map have poi labels? |
21:39.04 | cr2_ | there are POIs and "landmarks" aka polygon names too. |
21:39.08 | cr2_ | no. |
21:39.30 | cr2_ | it can be done as zero length 'roads'. |
21:39.36 | cr2_ | but it's a hack |
21:39.42 | tsdogs | ok, like lakes and forset ? |
21:39.46 | BabelO | goxboxlive: where does it fail ? i have checlout a new svn tree now |
21:39.51 | cr2_ | because then the pois will land in the roadname search. |
21:40.09 | cr2_ | tsdogs: yes, like lake names. they are in the rdm now. |
21:40.27 | cr2_ | look for "landmark" dictionary. |
21:40.54 | tsdogs | ok. it then only needs some math for point calculation and then simply add it to the labels. |
21:41.31 | cr2_ | buildmap_polygon_search_landmark() |
21:42.06 | cr2_ | tsdogs: the POIs are called 'places' but this code is unfinished for some reason. |
21:42.54 | tsdogs | hmm I thought they were sprites. |
21:43.49 | tsdogs | cr2_: you know what is missing? |
21:45.51 | tsdogs | cr2_: places are built with buildmap_place ? |
21:45.54 | cr2_ | no. |
21:46.01 | cr2_ | right now, yes. |
21:46.08 | cr2_ | but from the shapefiles. |
21:46.10 | BabelO | goxboxlive: ok it fail with 3rdparty librarie sqlite |
21:46.14 | cr2_ | whch we disable. |
21:46.22 | cr2_ | that's braindead anyway. |
21:46.27 | tsdogs | cr2_: yes postgress is missing |
21:46.30 | goxboxlive | BabelO, yes it failes configure |
21:46.30 | tsdogs | :) |
21:46.37 | cr2_ | this should be in buildmap_postgres.c |
21:47.15 | goxboxlive | cr2_, wich files and what to do? |
21:47.43 | BabelO | goxboxlive: we have to download qtopia 4.2.2 and check this directory |
21:48.17 | goxboxlive | BabelO, i hjave it. hold on |
21:49.22 | goxboxlive | BabelO, yes it is included in Qtopia-4.2.2 |
21:50.17 | BabelO | goxboxlive: so it is an error in comit, because you need to specify new directory by hand maybe ljp forgot it ;) |
21:50.52 | goxboxlive | yes i guess. He know's it, i told him at #qtopia |
21:51.07 | goxboxlive | BabelO, i also have some other bugs rported there |
21:51.37 | cr2_ | tsdogs: i'll commit preferences and schema, but they have decluttering switched off |
21:51.54 | goxboxlive | BabelO, i added the directory. Trying to configure now |
21:52.03 | tsdogs | cr2_: it's ok |
21:52.18 | cr2_ | done. |
21:52.27 | BabelO | goxboxlive: ok |
21:53.48 | goxboxlive | BabelO, what is this. This is new: pastebin.no/2096 |
21:54.00 | pH5 | I just compiled a magician kernel with pxa27x fb overlay support - seems to work just fine with mplayer -vo pxa |
21:54.19 | goxboxlive | pH5, great |
21:55.02 | goxboxlive | BabelO, ljp has added sqlite |
21:55.21 | BabelO | oksyncing |
21:57.47 | snakefreak | babel0 http://freenet-homepage.de/denniscooldelux/balin.jpg |
21:59.11 | BabelO | snakefreak: so it is booting ;) |
21:59.43 | cr2_ | tsdogs: http://home.online.no/~sigurdhu/12MAP_symbols.htm |
22:00.12 | cr2_ | snakefreak: which boardid do you have ? |
22:00.18 | snakefreak | but the error |
22:00.28 | snakefreak | bord id how can i find out |
22:00.46 | goxboxlive | BabelO, i think this fixes the tetrix missing icons in OPie2: pastebin.no/2099 |
22:01.31 | tsdogs | cr2_: ok, I think this can be done with sprites. |
22:01.47 | BabelO | snakefreak: i don't see any error |
22:02.19 | snakefreak | ok i see moment i reupload it. |
22:03.11 | cr2_ | tsdogs: there is another way, like with the skin :) but we can't use it directly. |
22:03.25 | tsdogs | ? |
22:03.50 | BabelO | goxboxlive: i don't know for the floating point :( |
22:03.52 | cr2_ | there is a png with the symbols. |
22:04.10 | cr2_ | tsdogs: check the iGO beta version. |
22:04.11 | BabelO | goxboxlive: it is software on our device |
22:04.38 | snakefreak | http://freenet-homepage.de/denniscooldelux/bilder/balin.jpg |
22:04.40 | cr2_ | tsdogs: are the sprites cached ? |
22:04.50 | snakefreak | now its complete screen |
22:05.09 | tsdogs | depends on what you mean for cached. |
22:05.19 | tsdogs | it you mean like labels then no. |
22:05.33 | tsdogs | if you mean like double buffering of the image then yes. |
22:05.36 | cr2_ | snakefreak: there must be a boardid in this list. which kernel are you using ? |
22:05.57 | cr2_ | tsdogs: ok. |
22:06.11 | tsdogs | cr2_: they are drawn from the sprites file which is read every time. |
22:06.15 | tsdogs | I think |
22:06.27 | snakefreak | i dont know my bord id and the kernel its a image from babel0 |
22:06.28 | cr2_ | hmm. not very smart. |
22:06.43 | cr2_ | snakefreak: ok. |
22:08.10 | snakefreak | kernel should be 2.6.21-hh5 |
22:08.27 | snakefreak | but bord id how can i find out there |
22:08.38 | cr2_ | snakefreak: dmesg ? |
22:08.51 | goxboxlive | BabelO, mine is still failing at the with the same |
22:08.52 | cr2_ | you need to login to ba. |
22:09.03 | BabelO | goxboxlive: :( |
22:09.13 | goxboxlive | And also BT was disabled |
22:09.16 | BabelO | cr2_: it is same error as you |
22:09.18 | snakefreak | cr2 i cant i become a error before log in promt comes |
22:09.22 | goxboxlive | It has never happend before |
22:09.30 | tsdogs | cr2_: iGo explorer? |
22:10.44 | snakefreak | babel0 i have testet 3 cards 4gb sd 256mb mmc and a 512mb sd |
22:10.45 | cr2_ | tsdogs: http://www.i-go.com |
22:10.47 | BabelO | snakefreak: it is erally strange, it mount your sdcardand did not found /sbin/init |
22:10.51 | snakefreak | but same error |
22:10.59 | tsdogs | cr2_: download is broken :( |
22:11.12 | cr2_ | tsdogs: this is a copilot skin http://www.auckland-services.freeserve.co.uk/styles.cfg |
22:11.45 | cr2_ | look if we can learn something from it. |
22:12.15 | tsdogs | cr2_: I took the options from that file for brush/fonts |
22:13.03 | cr2_ | ok :) |
22:13.06 | snakefreak | babel0 its there i have a link his name init and i have file init.sysvinit |
22:13.16 | tsdogs | we only miss a couple of things (shadow and orientation afair) |
22:13.36 | cr2_ | goxboxlive: this is the a780 skin http://www.auckland-services.freeserve.co.uk/styles.cfg |
22:13.39 | snakefreak | shit now its raining and iam outside with laptop... grml^^ |
22:13.49 | cr2_ | tsdogs: custom pixmap brush ? |
22:13.53 | tsdogs | capitalize is not implemented. |
22:14.03 | cr2_ | not that important. |
22:14.04 | tsdogs | that's in the code, but not handled |
22:14.17 | cr2_ | its for stupid outdated garmin devices ;) |
22:14.29 | tsdogs | I have also a Gradient one, still not implemented we'd need a Color2 or something |
22:14.39 | cr2_ | ok. |
22:15.10 | goxboxlive | cr2_, ok, but what do yu want me to do with it? |
22:15.51 | cr2_ | goxboxlive: compare it with the 'schema' file for roadmap |
22:16.04 | cr2_ | then you can do 'schema.a780' |
22:16.17 | goxboxlive | The one in xanadux? |
22:16.23 | cr2_ | we can have multiple 'schemas' |
22:16.38 | cr2_ | yes. i've just uploaded a big version used on the screenshot. |
22:17.05 | cr2_ | tsdogs: looking for a file. |
22:17.24 | snakefreak | anybody have a secound root file system image i can test? |
22:17.54 | snakefreak | exist a ftp for that stuff? |
22:18.04 | cr2_ | tsdogs: found. i'll send you an e-mail. |
22:18.13 | tsdogs | cr2_: ok |
22:18.48 | BabelO | snakefreak: take one at gnulinux.biz |
22:18.55 | BabelO | one from universal |
22:19.16 | snakefreak | ok |
22:19.45 | snakefreak | but why from universal? |
22:20.42 | BabelO | setup are closest and image is built with eabi compiler |
22:20.51 | snakefreak | ok |
22:22.00 | cr2_ | tsdogs: sent. |
22:22.40 | snakefreak | so i must close my laptop its raining ... |
22:24.49 | tsdogs | cr2_: thx will take some time. |
22:26.31 | cr2_ | tsdogs: i'll be thinking about switching to mercator. |
22:26.48 | cr2_ | and fixing the rasterio(write) bug. |
22:27.04 | cr2_ | never had problems with rasterio read. |
22:27.43 | tsdogs | ok |
22:29.04 | tsdogs | cr2_: what should I look for in iGO? |
22:31.09 | cr2_ | pictures. |
22:31.51 | cr2_ | i'm looking for some very good free .mp map which we can use as a demo. |
22:36.08 | snakefreak | cyall |
22:38.08 | cr2_ | tsdogs: a stupid question now. |
22:38.22 | cr2_ | how do i escape this string |
22:38.24 | tsdogs | cr2_: hmm they are a strange format. there are some which are bmp, but others ... |
22:38.29 | cr2_ | INSERT INTO test VALUES ( 1, 'pieton 1', GeometryFromText( 'POINT(10 70)', -1 ) ); |
22:38.40 | tsdogs | \' ? |
22:38.46 | cr2_ | does not work |
22:38.48 | tsdogs | what you mean |
22:39.01 | tsdogs | you want a ' in the string or what? |
22:39.28 | cr2_ | psql -c '$string' |
22:39.34 | cr2_ | yes. |
22:39.51 | tsdogs | psql -c "$string" |
22:41.19 | tsdogs | cr2_: shouldn't it be something like: INSERT INTO test VALUES ( 1, 'pieton 1', GeometryFromText( 'POINT(10, 70)', -1 ) ); |
22:41.28 | tsdogs | the comman in the POINT |
22:41.49 | cr2_ | i'm trying to get rid of ogr2ogr |
22:42.00 | tsdogs | did it work? |
22:42.03 | cr2_ | no. a point is 2 numbers. |
22:42.08 | tsdogs | ok |
22:42.44 | cr2_ | it's faster with ogr2ogr. if you know what you are doing :) |
22:42.50 | tsdogs | :) |
22:42.59 | cr2_ | but i must do it more user-friendly. |
22:43.47 | cr2_ | requiring a postgis installations will already push a lot of (l)users away :) |
22:44.31 | tsdogs | :) I'm not really sure about that. postgis is pretty easy to setup. commands are more complex though |
22:45.34 | cr2_ | http://www.01map.com/david/doc/postgis090/ch02s04.html |
22:45.41 | cr2_ | something for BabelO :) |
22:47.49 | BabelO | cr2_: sql command ? |
22:48.16 | BabelO | for insert values, you need to specify all sql column |
22:48.45 | tsdogs | unless you specify column names :) |
22:48.48 | cr2_ | i mean, to generate a map you need to know postgis a bit. |
22:51.15 | BabelO | cr2_: ah yes, it is interesting .. but how to you cut polygon from map you donwload ? |
22:53.33 | cr2_ | cut polygon ? |
22:54.02 | BabelO | yes, i m curious how you add route |
22:54.37 | cr2_ | i'm trying to understand how to cut out all map elements inside a polygon with postgis. it should be very simple. |
22:54.47 | cr2_ | what do you mean add route ? |
22:56.35 | BabelO | t s your import tool that fit to map you download ?you have map and separate coordinate for road ? |
22:56.47 | BabelO | sorry for route, bad french |
22:57.35 | cr2_ | a road is made of lines. |
22:57.56 | cr2_ | a polyline (linestring in postgis-speak) |
22:58.16 | cr2_ | you just add a row to the DB. |
22:58.46 | cr2_ | a polyline + all attributes like oneway, speed, and so on. |
22:59.12 | cr2_ | postgis creates an object 'the_geom' for your road. |
22:59.13 | BabelO | ok, and those polyline coordinate are from ? |
22:59.23 | cr2_ | and you can use many operations on geometries. |
22:59.41 | cr2_ | hmm. there are many options :) |
22:59.54 | BabelO | explain it to me please :) |
23:00.36 | cr2_ | the free option is to use a map that somebody was drawing |
23:00.39 | BabelO | postgis iis really interesting |
23:00.51 | cr2_ | http://mapcenter.cgpsmapper.com |
23:01.16 | cr2_ | these maps are in 'polish' format. |
23:01.29 | cr2_ | it's just some ascii representation. |
23:01.52 | cr2_ | i convert it with bash/awk/black magic into sql. |
23:02.05 | cr2_ | sql is put into postgis. |
23:02.22 | cr2_ | then there is a program called 'buildmap' that creates a |
23:02.40 | cr2_ | map from the postgis DB in the roadmap interanl binary format. |
23:02.51 | cr2_ | which is used by roadmap |
23:03.03 | cr2_ | at the same time it creates a road graph |
23:03.22 | cr2_ | with oneway streets and turn restrictions. |
23:03.34 | cr2_ | all the infor is stored in the postgis DB. |
23:03.55 | cr2_ | so you only need to keep your DB updated. |
23:04.08 | BabelO | i see some sample of turn restriction |
23:04.29 | BabelO | and how do you calcylate road from point to point ? |
23:04.37 | cr2_ | road1 crosses road2 |
23:04.47 | cr2_ | the segments are stored. |
23:04.55 | cr2_ | from one crossing to another. |
23:05.28 | tsdogs | cr2_: I think I fixed label ~[ segfaults. committed. |
23:05.42 | cr2_ | tsdogs:ok, i'll check. |
23:05.42 | BabelO | ok, so need a little software to do that |
23:08.42 | cr2_ | tsdogs: yes, looks much better now, and does not crash. |
23:09.04 | BabelO | cr2_: really interesting i have to try on map for walk |
23:10.06 | cr2_ | tsdogs: ~[0x05] ? |
23:10.28 | tsdogs | hmm, have to look at MapEdit for that I think |
23:10.31 | cr2_ | ~[0x03] |
23:10.41 | cr2_ | get the source. |
23:10.57 | tsdogs | I have, but have to isolate all the cases |
23:10.58 | cr2_ | i don't know if everything is implemented in QLandkarte. |
23:11.01 | cr2_ | ok. |
23:13.06 | BabelO | cr2_: to you use some precalculated table forroad driving ? like we do on really small device with slow processor for gps float ? |
23:13.48 | cr2_ | yellow popup on the blue lake background is green :) |
23:14.00 | tsdogs | cr2_: it does not crash on my i386? |
23:14.03 | cr2_ | BabelO: yes, it's called road graph. |
23:14.23 | cr2_ | tsdogs: yes, i test it on i386 |
23:14.26 | BabelO | ok |
23:14.47 | tsdogs | I tested it also, so now everything should be ok. |
23:14.57 | cr2_ | BabelO: it's the database of all crossings and the distances between them. |
23:15.22 | cr2_ | or times needed to reach the next crossing. |
23:15.23 | BabelO | database export as sqlite is possible ? |
23:15.30 | cr2_ | "routing table" :) |
23:15.44 | cr2_ | for the attributes maybe. |
23:15.51 | cr2_ | not for the geometry. |
23:16.29 | BabelO | really cool to calculate new way on fly, if you take wrong road :) |
23:16.35 | cr2_ | there is special software to deal with this problem, why do you need sqlite ? |
23:16.47 | tsdogs | cr2_: I have some .111 and -E18 do the . and - mean something ? |
23:17.06 | cr2_ | yes, it's only limited by the CPU speed. |
23:17.12 | cr2_ | tsdogs: no. |
23:17.15 | tsdogs | ok |
23:17.45 | cr2_ | the road probably has 2 names. one national and another is european. |
23:18.21 | tsdogs | cr2_: I still don't get what you wanted to do with the buffering of labels with size+1 |
23:18.27 | tsdogs | ho ok |
23:18.35 | cr2_ | tsdogs: i can send you the latest version. |
23:18.46 | cr2_ | tsdogs: i'll explain it with qgis. |
23:18.58 | tsdogs | ok |
23:19.14 | cr2_ | load a vector shapefile |
23:19.15 | BabelO | good night, dreaming of road this night :) |
23:19.21 | cr2_ | with some attribute table. |
23:19.29 | cr2_ | good night BabelO |
23:19.43 | tsdogs | good night BabelO |
23:19.48 | cr2_ | line.shp from the .mp file for example. |
23:22.05 | tsdogs | cr2_: ok |
23:22.28 | cr2_ | double click, so you get into the 'Layer properties' dialog. |
23:23.35 | tsdogs | ok |
23:24.00 | cr2_ | goto Labels |
23:24.10 | tsdogs | ok |
23:24.18 | cr2_ | click 'Display labels' |
23:24.31 | tsdogs | ok |
23:24.49 | cr2_ | Field containing labels: label |
23:25.26 | cr2_ | it's a combo-box |
23:25.28 | tsdogs | I think I found what you mean |
23:25.43 | cr2_ | go to Buffer |
23:25.54 | cr2_ | Buffer Labels ? |
23:25.56 | cr2_ | yes. |
23:26.05 | cr2_ | size: 1 |
23:26.16 | cr2_ | apply |
23:26.18 | tsdogs | ok. I see |
23:26.32 | cr2_ | then you'll see |
23:26.35 | tsdogs | But you need to change the color. |
23:26.43 | cr2_ | these params should be in the skin. |
23:26.56 | cr2_ | buffer yes and delta in pt. |
23:27.13 | cr2_ | makes things slower, but nice :) |
23:27.17 | tsdogs | so we need buffer, delta and pt. |
23:27.50 | cr2_ | fontcolor1, fontcolor2 |
23:28.06 | tsdogs | yes |
23:28.40 | tsdogs | delta is the x,y of the center point difference (so to create some kind of shadow effect? |
23:29.03 | tsdogs | I like the Preview of the Qgis font :) |
23:29.27 | cr2_ | :) |
23:30.24 | tsdogs | ok. I'll add this. |
23:30.30 | cr2_ | :) |
23:30.50 | cr2_ | we will get very nice software. |
23:32.03 | tsdogs | hmm 3d view is not handling the ~[ strings |
23:32.07 | tsdogs | yes. :) |
23:32.54 | tsdogs | I think I forgot to change text to mytext :) |
23:33.11 | tsdogs | yep. ok fixed |
23:33.40 | cr2_ | don't see the update. |
23:34.02 | tsdogs | :) committing now |
23:34.25 | tsdogs | U should now |
23:37.04 | cr2_ | get the map from the same location. |
23:37.14 | cr2_ | hmm. the format is not very compressed :) |
23:37.22 | cr2_ | 10 -> 2.8 MB |
23:37.26 | cr2_ | with bzip2 |
23:37.28 | tsdogs | :) |
23:37.37 | tsdogs | we should opt for zip |
23:37.48 | cr2_ | 7z |
23:38.14 | cr2_ | but since it's mmaped, the format is very fast. |
23:38.33 | cr2_ | *.rdm |
23:38.45 | cr2_ | and the SD cards are cheap. |
23:38.55 | cr2_ | the dictionary can be compressed. |
23:39.08 | cr2_ | with a lot of pois we will suffer ;) |
23:40.42 | tsdogs | :) |
23:41.30 | cr2_ | the ~[ are still kept in the road popup. |
23:41.58 | tsdogs | hmm , I do not see the lake, only rivers |
23:43.03 | tsdogs | ok I'll fix that too, need some more general function |
23:43.06 | cr2_ | schema ? |
23:43.19 | tsdogs | it's the cvs one |
23:43.22 | cr2_ | should be in CVS. |
23:44.22 | cr2_ | the half of the map are lake+sea. |
23:44.51 | tsdogs | hmm maybe some strange amd64 issue. |
23:44.57 | tsdogs | trying with i386+ |
23:45.01 | cr2_ | i'll check amd64 |
23:45.34 | cr2_ | i'm sick of the dglib not in the makefile ;) |
23:46.09 | wireddd | so what is all this map stuff about? |
23:46.16 | tsdogs | hmm nope |
23:47.07 | cr2_ | wireddd: making a killer app for htcphone. |
23:47.34 | wireddd | my phone doesn't have gps... |
23:47.34 | cr2_ | based on roadmap |
23:47.41 | cr2_ | use BT. |
23:48.02 | wireddd | don't have a BT gps either |
23:48.16 | cr2_ | tsdogs: amd64 is ok too. |
23:48.35 | tsdogs | cr2_: mine no neither i386 nor amd |
23:48.47 | tsdogs | hmm maybe hit some qt4 polygons problems. |
23:49.02 | cr2_ | tsdogs: there are some triangle polygon render bugs, i've seen a description what's wrong somewhere. |
23:49.10 | cr2_ | you don't see the lakes ? |
23:49.15 | wireddd | so what has to happen to get x working on the wizard? |
23:49.30 | cr2_ | x ? |
23:49.38 | wireddd | yeah I want a gui |
23:49.46 | cr2_ | SD gpios and the touchscreen. |
23:49.59 | cr2_ | without SD it's a pain. |
23:50.13 | cr2_ | without ts too ;) |
23:50.16 | tsdogs | nope only lines with dotted style (and also with weerd cyan) |
23:50.23 | cr2_ | unless you have an IR mouse ;) |
23:50.42 | wireddd | that will take all of 2 minutes to get |
23:50.54 | cr2_ | tsdogs: strange. i have everything working perfectly. |
23:51.11 | tsdogs | hmm. I'll check it tomorrow. |
23:51.29 | tsdogs | nice work :) bed time. good night |
23:51.46 | cr2_ | ok. good night. |
23:51.55 | tsdogs | cr2_: btw what version of qt4 u using? |
23:52.05 | cr2_ | wireddd: i'm falling asleep too. |
23:52.09 | cr2_ | tsdogs: 4.3.0 |
23:52.17 | wireddd | touch screen 346.941 B80BD000=ffffe8ff (00001000) |
23:52.19 | tsdogs | ok same here. good night :) |
23:52.38 | cr2_ | wireddd: it's the ts irq ? |
23:52.59 | cr2_ | wiredd: do you know which chip is the ts ? tsc2046 ? |
23:53.37 | wireddd | I don't |
23:53.40 | cr2_ | wireddd: i'll check tomorrow. you have a wizard ? |
23:53.45 | wireddd | yeah |
23:53.49 | cr2_ | ok. good night. |
23:53.57 | wireddd | later |