IRC log for #htc-linux on 20080310

00:23.42BabelOgood night
01:36.39*** join/#htc-linux l33tlinuxh4x0r (i=Brice@adsl-144-143-75.rmo.bellsouth.net)
01:45.41*** part/#htc-linux l33tlinuxh4x0r (i=Brice@adsl-144-143-75.rmo.bellsouth.net)
02:34.22*** join/#htc-linux swc666 (n=no@24.143.67.18)
02:39.44swc666omgwtfroflmfaobrb
02:40.45swc666i think i just summed up my weekend with 17 letters
03:25.33*** join/#htc-linux ndavey (n=neil@pc075650.workstation.griffith.edu.au)
04:29.42*** join/#htc-linux joschkopf79 (n=joschi@ACADC35B.ipt.aol.com)
05:02.58*** join/#htc-linux joschkop179 (n=joschi@ACADC35B.ipt.aol.com)
05:18.42*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
06:21.57*** join/#htc-linux BabelO (n=Fabrice@unaffiliated/babelo)
06:51.54*** join/#htc-linux rob_w|laptop (n=rob@p549B9D94.dip0.t-ipconnect.de)
06:56.57*** join/#htc-linux kiozen (n=kiozen@p5492A691.dip0.t-ipconnect.de)
08:16.05*** join/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
09:08.11BabelO_hi
09:10.30kiozenBabelO_:  morning :)
09:19.50goxboxlivehi
09:39.13*** join/#htc-linux patoche (n=patoche@77.197.38.195)
09:47.53*** join/#htc-linux ndavey (n=neil@60-240-227-199-vic-pppoe.tpgi.com.au)
10:02.53BabelO_goxboxlive: did you try to integrate camera in hh kernel ?
10:06.26*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
10:14.09goxboxliveBabelO_: no, i dont think there is any cam driver yet. AFAIK nobody is working on it.
10:14.28BabelO_goxboxlive: do i have to buy an universal ? :)
10:24.02goxboxliveBabelO_: if ytou want to waste your money, then yes :-)
10:24.09goxboxliveotherwise, no.
10:25.42BabelO_goxboxlive: i ve not the same waf that kiozen, mine is a little more high :)
10:25.54BabelO_goxboxlive: i have to look at n800 before ;)
10:26.11goxboxliveBabelO_: I have tried to use Qtopie as main phone on both universal and mio, but they both lack important support so i cant use them as my everyday phone. One particular important task i need is support for syncing my calandar and tasks with a exchnage server.
10:26.33*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
10:27.01goxboxlivehas n800 phone support? Isent it just a surf board/pda? (n810)
10:27.07BabelO_goxboxlive: i understand this, but there is only one plugin these day which can sync with a microsoft exchange server
10:27.18BabelO_goxboxlive: else you have to sync your gmail with exchange
10:27.22BabelO_then your phone with gmail ;)
10:28.14kiozenyes WAF is a bad thing :)
10:28.47BabelO_goxboxlive: no phone support on n800 but a 800x480 display, wifi + bt + fm radio +usb host , a good gadget . And usefull in car if you want children keep quite :)
10:32.13kiozenBabelO_: did you buy a new monitor together with your new pc ?
10:34.01BabelO_kiozen: no i ve already one from next year, acer 2216WD , the good point for me is that i can use it as tv
10:34.52kiozenBabelO_: hm, looking for a good 24''
10:36.40BabelO_kiozen: ah :)Swiss customers run our application on 30" :) they are crazy
10:37.10kiozen30'' would be fine too, where is one?
10:38.27BabelO_kiozen: http://www.ldlc.com/fiche/PB00059008.html
10:39.29BabelO_kiozen: enough ? 2560 x 1600 pixels
10:39.33kiozen<PROTECTED>
10:39.39*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-10ebd5f278159b77)
10:39.43kiozenpixels yes, but contrast is low
10:39.54BabelO_mine is only 1680x1050, i think cr2 had a better resultion on his laptop
10:40.04BabelO_yes
10:40.50cr2hi
10:40.50kiozengot 1920x1200
10:41.02kiozenbut it's not that much fun on 17''
10:41.07cr2BabelO_:  Poids   12 kilogramme(s)
10:41.07kiozenhi dr2
10:41.14kiozenhi cr2
10:41.30kiozendon't care about the weight ;)
10:41.46kiozenmy table can push 80kg
10:42.03BabelO_hi cr2
10:42.15kiozencr2: cool doc you found
10:42.29kiozenbut it boils down to ellips=intl
10:42.54cr2kiozen: ED50 and WGS84 give 2 different results
10:43.12cr2kiozen: all other 8 are more or less the same
10:43.23kiozencould it be that the conversion ED50 -> wgs84 with 3 coef only ist too dirty?
10:43.26cr2i.e. very close to these 2
10:43.51kiozenI have the same problem with GK/Potsdam -> WGS84
10:43.55cr2qgis does not list any weird 7 param towgs84= data
10:44.22kiozenthat's why I have to use that BETA2007 file for correction
10:44.35cr2do you know any 7 param values for ED50 -> WGS84 ?
10:44.36kiozenwithout the error is ~100m to the west
10:44.48kiozenno
10:44.51cr2ok, that may be.
10:45.03cr2hmm. something to look for.
10:45.18kiozenthe param differ on location
10:45.18cr2i still don't understand why such things happen.
10:45.44cr2convert to geocentric and back, if the performance does not matter.
10:45.46cr2ok.
10:45.47kiozengdal seems to use 3 param transform with these old datums
10:46.00kiozen7 param would be more precise
10:46.20cr2yes
10:46.31cr2but it's still an approximation
10:47.00kiozenas long as the error is < 1m I am fine, but 100m is too much
10:47.45kiozenguess I have to bug the proj4 mailing list this afternoon :)
10:48.17cr2ok.
10:48.21kiozenI have tested the other UTM grid points. They all have the expected easting / northing
10:49.44kiozenthus referencing is ok, it's just the UTM ED50 -> LongLat WGS84 conversion
10:50.23cr2i don't understand why proj4 is so wgs84-centric
10:50.47cr2the spherical troubles also come from that area.
10:52.05kiozenbecause every doe joe is using wgs84
10:52.27kiozena bit like M$ ;)
10:52.43cr2hehe.
10:53.05cr2i'm for geocentric.
10:53.26cr2it's the only physically sensible coordinate system.
10:53.44cr2and every gps receiver must support it.
10:54.02kiozenok, once we gained world domination we can do geocentric :)
10:54.09cr2:)
10:54.26kiozen#ifdef WORLD_DOMINATION ...
10:54.39cr2galileo was wrong after all :)
10:54.41*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-72-70-180-20.hrbgpa.fios.verizon.net)
10:56.37BabelO_cr2: i use your method to create maps for roadmap, works fine ;)
10:57.46cr2BabelO: we need a tool for simplifying the polylines. they have excessive amount of nodes.
10:58.10BabelO_cr2: yes, i also think i need 4Gb on my computer ;)
10:58.15cr2BabelO_: for polygons it's v.dissolve from grass.
10:58.21BabelO_have to wait two month
10:58.30cr2ok.
10:58.53cr2i think gpsbabel had it implemented
10:59.01cr2but only for gpx tracks.
10:59.23BabelO_cr2: i ve tried to do bigger map from .rus sources, is it possible to add elevation like kiozen do ?
11:00.05BabelO_cr2: it is a good point like latest igo, when you are in alp for example, GPS never see you on the correct road :(
11:00.43kiozenBabelO_:  there are scripts out there to convert elevation data into Garmin img format.
11:01.10cr2kiozen: isn't it 2D by definition ?
11:01.32kiozengradients ;)
11:01.47cr2ok.
11:01.58kiozenbut the new maps have DEM to do relief shading on the device
11:02.14cr2i think mkgmap has a rectangular polygon clipper now.
11:02.27cr2in java ;)
11:02.36BabelO_kiozen: do you try garmin in Alp, on very small road ? my gps on artemis switch from current road to another on the other side of the mountain :( ( it is tomtom)
11:03.13kiozenNever had a problem, the receiver of the 60SCx is realy good
11:03.40kiozenIt only failes on very small gaps
11:03.57kiozenbut you won't get there by car :)
11:05.36cr2sticking to road is bad anyway
11:07.29kiozennot if you have a normal car
11:12.43BabelO_:)
11:13.30BabelO_kiozen: do you found how to disable static nav ?
11:13.38BabelO_kiozen: did you try sirf tools in wince ?
11:14.15kiozenno, didn't manage, the wince tool is my last hope, but no Loox at the moment
11:15.01kiozenlunch time :)
11:16.45BabelO_me too :)
11:17.23*** join/#htc-linux patoche (n=root@77.197.38.195)
11:46.26goxboxliveis there any diffrents in SIRF protcol than in NMEA protocol?
11:46.41goxboxliveWith my MIO i can choose to either use sirf or nmea
11:46.59goxboxlivewith nmea data smaps out, but with sirf it freezes
11:51.57kiozengoxboxlive: nmea is text based, sirf is binary
11:52.22kiozennmea is some what standard, sirf is proprietary, but it can control the chipset
11:53.03kiozenyou have to switch from nmea to sirf  by nmea command
11:53.17kiozenthat will change baudrate, too
11:53.28goxboxlivekiozen: ok, but why does it freeze when i set it to sirf?
11:53.34kiozenmost likely this will fsck you connection
11:54.04kiozenit's the same with my gps mouse
11:54.31kiozennmea -> sirf is  ok, but sirf -> nmea freezes
11:55.40kiozenit's a mess :)
12:00.51goxboxliveok, thx
12:02.15kiozenwelcome :)
12:07.45*** join/#htc-linux rmoravci1 (n=rmoravci@gtsgw.ttc.cz)
12:36.03cr2BabelO_: to work with static navigation is just sending a message
12:36.44cr2i guess the message can be sent just with echo.
12:37.19cr2or you can modify sirfmon.
12:37.36cr2hm. where is my old sirfmon source...
12:37.40BabelO_cr2: i read many thing and try it on artemis, first i try sirf tools without sucess, and on some artivle they say that 4800 baud is for nmea and 57600 switch to sirf, but i think it is wrong
12:38.16BabelO_cr2: and it seem than nobody can switch off staticnav
12:39.42cr2BabelO_: the 4800 and 57600 are standard. after reset
12:40.06cr2the command is know, but it's the firmware that must honor it.
12:40.44cr2the sirf3 firmware is included into athena update, but i don't know how to disassemble it properly.
12:49.51*** join/#htc-linux rmoravci1 (n=rmoravci@gtsgw.ttc.cz)
13:10.26*** join/#htc-linux patoche (n=patoche@77.197.38.195)
13:20.14*** join/#htc-linux CVirus (n=GoD@196.205.192.125)
13:24.15*** join/#htc-linux CVirus (n=GoD@196.205.192.125)
13:45.39*** join/#htc-linux redelf (n=walter@62.13.173.86)
13:46.32redelfhi all
14:01.05*** join/#htc-linux ellisway (n=ellis@homealone.good1.com)
14:03.56*** join/#htc-linux GPFerror (n=gpferror@76.187.41.132)
14:12.43kiozencr2: the trick is to add +towgs84=-87.000,-98.000,-121.000 to the projection
14:13.15kiozenhowever this is not stored in the file :(
14:13.37kiozenon problem less, one more
14:23.12cr2kiozen: ok, that must have been some weird datum shift. i'm wondering why it's not in the qgis epsg db.
14:23.42cr2many other such transforms have +towgs84 there.
14:23.44kiozenno it's a general pproblem of ED50->WGS84
14:23.59cr2ok.
14:24.12kiozeneven datum Potsdam needs those factors
14:24.29kiozenthey are stored in BETA2007 for each location in DE
14:25.10cr2i guess most non-wgs84 datums need it, but some include the values, but others not.
14:26.03cr2kiozen: i've tested GT yesterday
14:26.44kiozenand?
14:26.45cr2kiozen: the Coord. format is too strict, it didn't let me even add one extra space between lat and long.
14:27.11kiozenthere is a regex in GeomMath.cpp
14:27.11cr2then there was some warning about missing metadata.
14:27.29kiozens/GeomMath/GeoMath
14:27.46cr2but otherwise it works ok.
14:27.51kiozenmetadata?
14:28.03cr2yes, i think so.
14:28.15cr2but it seemed to be harmless.
14:28.35kiozenjust pastbin if you can
14:28.51cr2so only load/restore the GCPs is missing now.
14:29.13cr2i need to do it again, then will paste the message
14:30.09kiozenlet's try this +wktext to get the +towgs84 key into the file :)
14:32.16cr2<PROTECTED>
14:34.24kiozenthe problem is that this stuff is not stored in the resulting file
14:34.39kiozenand +wktext does not work either
14:35.38cr2you may use the [][] WKT projection string, but it's _very_ userunfriendly.
14:36.23kiozenit seems that gdal_translate / gdalwarp purges this information
14:36.36cr2i have a similar problem with google sphere.
14:37.05cr2because it misses the +ellps
14:37.23cr2and the latest proj4 says 'ellps' is obligatory
14:37.48kiozenholly-fuckin-dooley!
14:37.57kiozenso close
14:43.27cr2kiozen: mentioned here : http://www.bias-project.org.uk/ASDARcourse/unit3_slides.pdf
14:43.49cr2search for ED50
14:45.59*** join/#htc-linux dcordes (n=snoopdog@unaffiliated/dcordes)
14:46.58kiozenbut not the trick how to get it into the file. gdal_translate purges the +towgs84
14:47.16dcordesgood day
14:47.59kiozenhi dcordes
14:58.52cr2kiozen: why do you need it in gdal_translate ?
14:59.52kiozengdalwarp uses the projection of the GCPs in the source file. the -t_srs parameter is ingnored
15:00.12kiozenthus i have to add the projection right from the beginning
15:00.25cr2kiozen: ok
15:00.43cr2hm. but it works for spherical mercator.
15:01.05cr2well, it does not use towgs84, that's true.
15:01.51kiozenmaybe I can add that information later on, I am just writing an email to the gdal list
15:01.58cr2ok.
15:02.14cr2warp to +proj=merc datum=WGS84
15:02.21cr2it works everywhere :)
15:02.35*** join/#htc-linux bernt (n=bernt@dslb-084-061-207-174.pools.arcor-ip.net)
15:02.52cr2and you can afford it with 2m/pix
15:03.02cr2you are rotating the picture anyway
15:05.40kiozencr2: it will make the map look misserable
15:06.22kiozenand rotation will be gone if I align the scan to the utm grid
15:06.55kiozenmy colleague doing the scan just did not know ;)
15:06.56cr2ok, it's a matter of taste.
15:07.23kiozenmore a matter of what you are able to read on a pda with sunlight
15:07.36cr2i'll take some image quality loss over datum shift PITA
15:08.05cr2if you put the picture quality over all, then you may follow what ozi does
15:08.22kiozenonce we figure it out it's no PITA and we have the quality
15:08.25cr2i.e. do not warp at all, and cs2cs for each gps point.
15:09.11kiozendo you think that is DAU proof?
15:09.25cr2ok, with some description in help how to do it.
15:09.35cr2yes, but it costs cpu time=power.
15:10.07kiozendo you read "help"
15:10.09kiozen?
15:10.10kiozen:)
15:10.28cr2i know how to use gdal*
15:10.45kiozenonce the map is referenced it should not cost more or less
15:10.53cr2but afaig it's a PITA :)
15:11.14cr2referenced != warped
15:11.14kiozenyes, agreed until we know how to do this in a DAU proof way
15:11.37kiozenno one wants to warp the map on the fly
15:11.39cr2don't forget about the equal m/pix
15:11.58kiozenyes that part is still missing
15:12.08cr2warp means quality loss. even more for the 8bit paletted images.
15:12.50cr2there will be some m/pix differences even for the very good maps, because of the GCP quality.
15:12.52kiozensure but IMHO it's the only way to go with scanned maps
15:12.58cr2but at 2m/pix it's marginal.
15:13.09cr2ok.
15:13.59cr2there are many enhancements and improvements we can do later.
15:14.23cr2load/save is a must :)
15:17.06kiozenyes punching in the same GCPs over and over sucks.
15:19.32cr2handtyping the coordinates is even more painful.
15:21.16kiozenqlandkarte-> right mouse click on the map -> copy to clipboard :P
15:21.36kiozenyou just have to use the right tool chain
15:25.34*** part/#htc-linux redelf (n=walter@62.13.173.86)
15:28.01cr2that assumes you have an .img for that area, and this .img is properly georeferenced too.
15:28.32kiozendon't we have this always ;)
15:29.22kiozenbut agreed the str_to_deg should be more open minded
15:31.19*** join/#htc-linux redelf (n=nobody@62.13.173.86)
16:03.29kiozencr2: svn up (load / save gcps)
16:03.45cr2ok.
16:03.57cr2btw, USGS DRG Color Palette
16:04.09cr2http://www.isgs.uiuc.edu/nsdihome/browse/igq/product_001/samplemetadata/drg.txt
16:04.53cr2compiling
16:06.36kiozenit's less the palette more the algo mapping colors to a fixed value
16:07.23kiozeni wonder if gimp can do this
16:07.23cr2yes.
16:07.24cr2.gct ?
16:08.20kiozen?
16:09.03cr2i think gimp palette is called palette.gct
16:09.11kiozenah
16:09.19cr2then you can reduce the colormap to this loaded palette.
16:13.06*** join/#htc-linux TimRiker (n=timr@68-27-168-105.area1.spcsdns.net)
16:16.06cr2nice :)
16:16.21cr2need to do more testing in the evening.
16:16.34kiozenyes, please :)
16:17.12cr22 questions.
16:17.28kiozenhm
16:17.29cr2can i see the warped result ?
16:17.40cr2immediately
16:18.25cr2can you add one more text column to the GCPs -> proj. should be empty/unused for now.
16:18.43cr2otherwise i use qgis to look at the warped file.
16:18.51kiozengo to the "Create map collection from GeoTiff" dialog
16:19.09kiozencreate a qmap for the warped tiles
16:19.21kiozenthis will add it to the map list,
16:19.24cr2ok, so it's not a side -by-side
16:19.34kiozennow you can load the warped map by double clcik
16:19.46cr2and if i want to add more gcps i need to reload.
16:19.54cr2ok.
16:19.54kiozenno, so far only one canvas
16:20.12cr2ok.
16:20.44kiozenbut the dialogs will keep their data until you close them
16:21.05kiozento get back to referencing simply reload the tif
16:21.53cr2good.
16:22.19cr2one more thing came to my mind.
16:22.31*** join/#htc-linux amon_ (n=amon@p508EF3EB.dip.t-dialin.net)
16:22.43cr2referencing by 2 GCPs. gdalwarp can't do it, qgis can.
16:23.02cr2it's very simple math.
16:24.12BabelO_ok i get a n800 now ;)
16:24.18cr2and the alg order choice. square pixels, affine, quadratic, tps.
16:24.33cr2BabelO_: not 810 ?
16:24.41kiozencr2: is it worth the the work? you always know 3 points.
16:25.53cr2kiozen: unfortunately not. the easiest thing probably is to create the third/forth "virtual" points.
16:25.56BabelO_cr2: no, price is too much ;) and the difference between this two device is not what i look for
16:26.42cr2kiozen: and the square pixel transform is useful for the scanned GK sheets.
16:26.50cr2BabelO_: ok.
16:27.09*** join/#htc-linux jeanseb (n=jeanseb@88.164.32.155)
16:27.27kiozencr2: let's see if that is getting a problem in the future
16:27.32cr2kiozen: add the text column, i'll take care of the extra math. eventually.
16:27.38kiozenthere are still more urgent things
16:27.43cr2agreed.
16:27.49BabelO_cr2: can i send you somes patch for BA ?
16:28.00cr2BabelO_: yes.
16:28.21cr2i need to commit some n560 patches too. and update the wiki...
16:30.12cr2kiozen: another thing is how we are going to treat the sheet margins.
16:30.31cr2kiozen: to create a good mosaic, they need to be chopped off.
16:31.04kiozenthe files have to be made perfect befor referencing
16:31.11cr2but then some clip by polygon is needed.
16:31.25cr2i've not really understood how to do it in gimp.
16:32.03*** join/#htc-linux rob_w|laptop (n=rob@p549B9D94.dip0.t-ipconnect.de)
16:32.22kiozenI would prefer it to have all scanns stitched together, then converted to 8bit and then referenced
16:32.46cr2it's not always possible.
16:33.18cr2i've created such 24000x24000 file in gimp, and it's unpleasant to deal with.
16:33.45kiozen:)
16:33.47cr270% of it is transparent.
16:34.00BabelO_cr2: i try to add backup battery after my patch revert, and i send patch to you
16:34.09cr2BabelO_: ok.
16:34.36kiozenah, no, if the tiles are not together you do single files, but then borders are no problem
16:35.04cr2kiozen: all i tell you are the practical issues i've had in real life, not just to bash you :)
16:35.20kiozenI know ;)
16:35.40cr2kiozen: i've scanned an A3 album with about 200 pages some time ago.
16:35.53cr2more than a half a year actually.
16:35.55kiozenlong nights :)
16:36.33cr2it's still not georeferenced because of margins, a bit random sheet rotation, nonlinear printing, etc ...
16:36.52cr2but i'm close :)
16:37.23kiozenreferencing 200 sheets ? puhhhhhhh
16:37.54kiozenI am happy if I get this hiking map into my Loox
16:39.22cr2that's why i want 2 GCPs first :)
16:41.57kiozencan you write a command line app that does the trick?
16:42.27kiozenit's no problem to change the command executed on only 2 GCPs
16:42.50kiozenalternatively I could create a third artificial one
16:44.29cr2i think that adding the third virtual is the easiest way to go.
16:44.48cr2teaching gdal to deal with 2 GCPs is not easy.
16:45.22cr2the TPS has a separate transformer object from the usual polynomial transformer.
16:47.16cr2ah, it's called .gpl not .gct
16:47.36cr2http://physos.net/~physos/new_kde.gpl
16:47.37kiozenok I keep that 3rd artificial point in mind
16:47.57cr2ok.
16:49.21cr2Place this file in your ~/.gimp-2.x/palettes
16:49.58cr2ls /usr/share/gimp/2.0/palettes
17:01.37*** join/#htc-linux pH5 (n=ph5@e178202147.adsl.alicedsl.de)
17:02.26*** join/#htc-linux Raven_coda (n=Raven_co@64.50.35.182)
17:23.49*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-81b3c22dccb0ec83)
17:40.09*** part/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
17:44.09*** join/#htc-linux LunohoD_ (n=alex@e180072147.adsl.alicedsl.de)
17:58.15*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
18:14.16*** join/#htc-linux rob_w (n=bob@Mb0cb.m.pppool.de)
19:09.38*** join/#htc-linux CVirus (n=GoD@196.205.192.125)
19:14.55*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1db99.pool.einsundeins.de)
19:18.21*** join/#htc-linux dcordes_ (n=snoopdog@unaffiliated/dcordes)
19:21.37Marexcr2, ping
19:28.08cr2hi Marex
19:28.54Marexcr2, hi
19:29.00Marexhow's N560 ?
19:29.20MarexI was just wondering why there are no machines supported in mainline ... noone upstreamed anything yet ?
19:31.12cr2they are not ready.
19:31.29cr2get the kernel from hh.org CVS and compile it.
19:31.35cr2let me know if it works for you.
19:32.59Marexcr2, they are not ready for quite some time now
19:33.00Marex:/
19:33.24Marexcr2, yea, I guess I will continue on the -hh kernel
19:33.44Marexanyway ... Im going to hack on Beetles a bit now ... just for fun
19:36.21cr2will be nice too. i have a sable
19:42.18kiozencr2: how did you do the scaling?
19:44.10*** join/#htc-linux swc666 (n=no@24.143.67.18)
19:48.03cr2kiozen: scaling ?
19:48.38kiozencr2: of the files, to have a common scale
19:48.59kiozenI added the second file i have
19:50.32cr2-tr
19:51.18kiozenok
19:51.18cr2gdalwarp      -srcnodata 255 -dstnodata 255 -te $xmin0 $ymin0 $xmax0 $ymax0 -tr $tr $tr AusgabedateiM.tif AusgabedateiG.tif
19:51.58cr2i'm also setting the bounding box here.
19:55.31*** join/#htc-linux CVirus (n=GoD@196.205.192.125)
19:56.55kiozencr2: doesn't really matter :), I get more errors because reference point errors and scanning skews
19:57.55cr2why do you get errors ?
20:00.10kiozenpartly because the map was folded, and if the ref point is not set to the exact pixel
20:00.47kiozenbut I would say the errors by the folded map are the worst
20:01.10kiozendoes you mail box digest ~6MB?
20:01.11cr2ok, you mean calibration errors, not the gdal errors.
20:01.22kiozenyes calibration
20:01.27cr2don't think so.
20:01.41kiozenmoment...
20:02.21cr2the GCP icons don't get many signals. like delete, name update
20:02.43kiozenyes still some quirks :)
20:03.25cr2btw, even if i delete the GCPs the add counter increases.
20:03.35kiozenyes that is ok
20:04.06cr2yes, it's not a problem, just an observation.
20:04.25kiozento hard to do it "the right way" ;)
20:04.50kiozencr2: http://www.qlandkarte.org/seite1_300dpi.tif
20:04.58kiozencr2: http://www.qlandkarte.org/seite2_300dpi.tif
20:05.44kiozenGCPs sent by mail
20:05.53cr2ok, downloading.
20:06.23cr2got them.
20:10.53cr2you may add -co zlevel=9
20:11.16cr2hmm. the gcp proj is obviously lost with .gcp format.
20:11.27cr2and the gcp label.
20:12.51kiozenoh you are right, second...
20:13.12kiozencr2:  +proj=utm +zone=33 +ellps=intl  +towgs84=-87.000,-98.000,-121.00  +wktext +units=m +no_defs
20:15.14kiozenlabel names aren't really needed, just double click on the list and the gcp is centered
20:15.59cr2loading ref.tif and overlaying .gpx
20:16.30cr2Referenzsystem des Layers:
20:16.31cr2+proj=utm +zone=33 +ellps=intl +units=m +no_defs
20:16.37cr2says qgis, btw.
20:17.45kiozenyes I know but this: +towgs84=-87.000,-98.000,-121.00 would be the important part
20:19.24cr2hmm.
20:21.03cr2GT says 'failed to load'
20:21.18cr2the track in qgis does not match.
20:22.23kiozenyou used GT to reference?
20:22.57cr2yes.
20:23.36cr2i've loaded your .gcp file and added the proj given above.
20:24.00kiozenfunny that is exactly what I do
20:24.10cr2ok, i'll try again.
20:24.24*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
20:24.49kiozensvn up to make sure we are in sync
20:24.52cr2ok.
20:25.07cr2maybe i've picked the file from yesterday.
20:25.13cr2they have the same name it seems
20:25.27cr2seite1_300dpi.tif.1
20:25.28cr2yes.
20:26.07kiozensvn up again, else you cant edit gcps
20:26.35kiozenyes it's the same file but a bit smaller to get rid of distortions at the borders
20:27.40cr2ok, now the gcps match the grid crosses
20:28.47cr2hm,i'm wondering if the % can be reused for QProgressBar
20:28.52cr2there must be some trick.
20:31.09kiozenhm, gdal tools are not very wrapper friendly
20:32.17kiozenpeople programming commandline tools do not think about GUIs and wrapers.
20:32.41kiozenthis is the reason why I hate to wrap commandline tools. (e.g. gpsbabel)
20:32.57cr2agreed.
20:33.07cr2GT says failed to load again.
20:33.52cr2qgis has an offset because of the missing towgs84=
20:34.07kiozenhm, no idea yet, you use seite1_300dpi_ref.tif?
20:34.22cr2yes.
20:34.38cr2how can i get a more detailed info on load failure ?
20:36.10kiozenhaving a debug version of gdal  :)
20:36.17kiozensend me the file via mail
20:37.47cr2sent
20:39.44cr2i can load my mercator map without any problems.
20:39.53kiozencr2: loads perfectly here
20:40.05*** part/#htc-linux swc666 (n=no@24.143.67.18)
20:40.27kiozenstrange
20:41.03kiozenyou have it in the same path as the qmap file?
20:41.39cr2um. no ;)
20:42.06kiozenhehe
20:42.21kiozenyes I know, I should fix that
20:43.32cr2ok, loaded now.
20:43.46cr2the dialog should enforce the .qmap extension.
20:44.10kiozenfixed 1 min ago :)
20:44.36kiozensvn up ;)
20:44.41cr2hm. get the same 100m offset like in qgis ?
20:44.44cr2ok.
20:45.13cr2IMap::~IMap()
20:45.13cr2"+proj=utm +zone=33 +ellps=intl +units=m +no_defs "
20:45.13cr2282717 5.16209e+06 287082 5.15557e+06
20:45.32cr2seems logical.
20:46.11kiozenuncomment line 52 in CMapFile.cpp
20:46.22cr2speed: inf km/h
20:46.26cr2for the track :)
20:46.49kiozen'*%&@ Garmin killed the timestamps
20:47.39*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf8f30.pool.einsundeins.de)
20:48.15cr2should not do in saved .gpx
20:48.49cr2you may consider to add Track->Load
20:49.15cr2ok, with +towgs84 it works.
20:49.29cr2as expected.
20:49.47kiozenyes it's the same as with the BETA2007 stuff
20:50.08kiozenGK->WGS84 has the same problem
20:50.21cr2yes.
20:51.07kiozenthus the question is: How to get this +towgs84 into the damn file
20:52.10cr2imho it's some gdal_* bug
20:52.30cr2towgs84 is an internal proj4 weirdness
20:53.07cr2if gdal* drops it, it should warp the file respectively.
20:53.45cr2the gdalinfo shows just
20:53.48cr2<PROTECTED>
20:54.07cr2<PROTECTED>
20:54.14cr2<PROTECTED>
20:54.14cr2<PROTECTED>
20:54.19cr2which is ok.
20:54.41cr2the problem is that the pixels are not warped in the same way.
20:56.02cr2i should not give a fsck how proj4 converts the proj1/datum1 -> proj2/datum2
20:56.43cr2and if it says the geotiff has  proj2/datum2, i should not care about wgs84.
21:00.47cr2yes, GK3/DHDN does not define +towgs84 too.
21:00.59cr2so it will probably suffer too.
21:02.09cr2but it defines +datum=potsdam
21:02.15kiozentried to warp the gcped file to EPSG:32633
21:02.16cr2proj4 is weird :)
21:02.34kiozensame error but:
21:02.52cr2but your gcps are using +towgs
21:03.07kiozenhttp://pastebin.ca/937094
21:03.21cr2so you should run cs2cs +to +init=epsg:32633 for the gcps.
21:03.34kiozenhaven't tried it with towgs84, moment
21:03.39cr2that's why i'm for including the pre-gcp proj
21:04.05cr2s/pre/per/
21:05.06kiozencrud, same error
21:05.27cr2what do you get from
21:05.44cr2cs2cs -f "%.6f" +proj=utm +zone=33 +ellps=intl +units=m +no_defs +to +init=epsg:32633
21:05.45cr2?
21:05.57cr2ah
21:06.08cr2sorry , forgot the towgs on the left side
21:06.26cr2otherwise these two are equivalent
21:07.48kiozenyou mean converting the UTM/ED50 points to UTM/WGS84 and then do the warping?
21:12.21cr2yes
21:12.43kiozenthat works :) but is not user friendly
21:13.01cr2you'll miss the grid crosses, but they are irrelevant for geotiff anyway.
21:14.02cr2btw, you may draw the grid for checking the calibration, like ozi does it.
21:17.52kiozenhm, have to sleep about it. Maybe I get an idea of how to make it user friendly
21:18.36kiozenit's more ore less bypassing a bug :/
21:19.25cr2ok.
21:19.57kiozenenough for today :)
21:20.18cr2good night :)
21:21.15kiozennight :)
22:04.17*** join/#htc-linux patoche (n=pat@lns-bzn-53-82-65-33-249.adsl.proxad.net)
22:14.51*** join/#htc-linux hlbot (n=adm@iclem.net)
22:14.51*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) [NETSPLIT VICTIM]
22:14.51*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) [NETSPLIT VICTIM]
22:14.51*** join/#htc-linux Winkie (n=urmom@ur.fa.gs) [NETSPLIT VICTIM]
22:14.51*** join/#htc-linux tg (n=tg@x-net.hu) [NETSPLIT VICTIM]
22:14.51*** join/#htc-linux swetland (n=swetland@sunnyvale.frotz.net) [NETSPLIT VICTIM]
22:19.29*** join/#htc-linux swc666 (n=no@24.143.67.18)
22:27.32swc666can someone answer this for me... I have a build environment set up on a machine and can successfully compile a kernel for my Uni using the instructions on the hh site for UniversalKernel how to. My question is this: I want to be able to test a single driver module on an SD Card kernel that is already installed using the same kernel version..
22:28.12swc666in other words just a couple of tweaks to the driver code and then be able to make the module and copy it to the phone. Can this be done without having to boot the kernel I made?
22:31.05*** join/#htc-linux CVirus (n=GoD@196.205.192.125)
22:33.32*** join/#htc-linux SuN (n=SuN@82-170-225-106.ip.telfort.nl)
22:56.37*** part/#htc-linux swc666 (n=no@24.143.67.18)
23:19.55Marexcr2, hi
23:20.05Marexcr2, wanna test some patches for 65xx ?
23:26.01cr2Marex: it's too late. can you post them ?
23:26.15Marexcr2, right after I finish them
23:26.37cr2don't forget that beetles have 2 mmc/sd controllers asic3+pxamci
23:26.43cr2sable only one.
23:26.46cr2asic3
23:26.55Marexahh ... jeez
23:27.07Marexyea, I know it has two holes ;D
23:27.21Marexbut I never thought they could remove one on better model ... ah oh well
23:29.10cr2sable has miniSD only
23:29.21cr2maybe because it has wifi.
23:30.04Marexah I see ...
23:30.14Marexthey might be using pxamci for SDIO wifi
23:30.25cr2no
23:30.27Marexthey do it like that on loox n560 too :/
23:30.31cr2wifi already works.
23:30.41cr2loox has 54mbit acx100
23:30.49cr2sable only 22mbit
23:31.13Marexok, I see
23:31.13cr254mbit is the newer 125[01] chip
23:31.46cr2Marex: the phone at protocol is decoded by lkcl
23:32.15cr2and the gps chip uses asic3-spi
23:32.28cr2it's the same chip as in moko1 phone
23:32.31Marexso there is not much to hack as I see
23:32.41cr2asic3-spi
23:32.46cr2make phone really work.
23:32.58cr2and sdio for asic3
23:33.07cr2to make it work on 2.6.24+
23:33.39cr2resume had some issues afair.
23:34.36dcordes_cr2, good night
23:54.42Marexcr2, something's screwed with asic3 leds :/

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.