#QGIS IRC Log - 2009-05-07

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
00:12:24 CIA-70: cfarmer * r10751 /docs/trunk/english_us/ ( 15 files in 5 dirs ): updates to several plugin sections, clean up screen captures... only plugin left is oracle georaster
01:34:09 macho: hi all
02:53:20 il_rugginoso: hi all
03:17:19 CIA-70: cfarmer * r10752 /docs/trunk/english_us/user_guide/ ( 42 files in 2 dirs ): use default icons for ftools chapter, add other plugins section, adjust quick print dialog size
04:19:32 timlinux1: https://linfiniti.com/qgis/ <-- qgis 1.1.0 Windows standalone binary installer
04:47:59 jef: timlinux1: any news about the ppa?
07:26:00 dassouki: is there a way i can add a column to a layer via api ?
07:26:23 dassouki: what i'm looking at doing is add column foo, and fill it with a python list
07:28:02 strk: pan crash o-oh
07:28:15 strk: loaded a postgis layer, replaced the layer from psql
07:28:19 strk: tried reopening
07:28:40 strk: or, could be my code attempting to iteratively append _ till no name clashes :/
07:49:21 spacedman: anyone want to try and duplicate a crash for me? before i file a bug report...
07:52:20 spacedman: i get a qgis crash if I load 'Actual ( slower )' values from a raster on the properties dialog if any of the band selectors are set to 'Not Set'
07:52:44 spacedman: qgis 1.0.0 Kore
07:54:45 simgislab: spacedman: I confirm, 1.0.2 under win
07:57:49 spacedman: kthx, bugrep going in now...
07:58:26 simgislab: nice, I'd like to see it fixed too
07:58:53 sigq: tracfeed: Ticket #1682 ( bug created ): Loading min/max values crashes if a band property is 'Not Set' <https://trac.osgeo.org/qgis/ticket/1682>
07:59:30 simgislab: spacedman: as long as we're on this subject, do you think that std. dev should not be =0 by default?
08:00:15 spacedman: i'd like my rasters to at least display *something* when they are loaded in... at the moment if i load a raster it just seems to be white...
08:00:15 simgislab: I'm willing to file a feature request to make it =2 by default and/or add "save current setting as default" button
08:01:44 spacedman: I'm not sure I understand the whole stretchy/clippy thing. Seems a bit unintuitive, but I think Pete E argued for it...
08:02:04 simgislab: well, overall it is ok
08:02:21 simgislab: it just doesn't make sense to have 0 Std.dev by default
08:02:46 spacedman: the std dev is dependent on the scale of the data, right?
08:02:54 simgislab: yes
08:03:39 spacedman: i'm guessing the raster load doesn't want to have to compute min/maxes and stddevs on loading in case they are slow...
08:05:08 simgislab: std should not be estimated from the data, it'll take too much time
08:05:26 simgislab: usually it is set to 2
08:05:47 simgislab: band vals are normally distributed in 90% cases
08:05:57 spacedman: but that's still useless if your data ranges from 0 to 1e10
08:06:41 spacedman: unless 2 is the number of standard deviations relative to the data...
08:08:15 simgislab: yes, relative to the data, I was wrong about "should not be estimated"
08:08:30 spacedman: ah okay - 2 is good then!
08:09:01 spacedman: and maybe the dialog should say 'Use N standard deviations:'
08:09:14 simgislab: agree
08:09:28 spacedman: i'll let you submit this one then : )
08:09:33 simgislab: sure
08:09:38 simgislab: I'm on it already
08:11:31 spacedman: hmm i cant crash it now : )
08:12:28 spacedman: seems to reliably crash first time, but if you play with the dialog a bit it doesn't... oh well...
08:14:14 sigq: tracfeed: Ticket #1683 ( enhancement created ): Standard deviations in raster properties dialog <https://trac.osgeo.org/qgis/ticket/1683>
08:14:54 simgislab: seems like if you calculated stats ones, it does not crash anymore
08:19:56 simgislab: loading new raster and trying calcs crashes 'reliably'
08:20:05 spacedman: yup
08:22:09 CIA-70: jef * r10753 /trunk/qgis/src/core/raster/qgsrasterlayer.cpp: fix #1682
08:22:10 sigq: tracfeed: Changeset [10753]: fix #1682 <https://trac.osgeo.org/qgis/changeset/10753>
08:25:05 sigq: tracfeed: Ticket #1682 ( bug closed ): Loading min/max values crashes if a band property is 'Not Set' <https://trac.osgeo.org/qgis/ticket/1682#comment:1>
08:26:31 spacedman: ooh the speediness!
08:26:41 simgislab: : )
08:26:48 simgislab: jef rocks
08:28:57 simgislab: jef: about the fix, do I understand right that now it just isn't trying to calc stats for 'no set' band?
08:29:10 spacedman: hometime...
08:32:58 jef: simgislab: it's returning no stats for the no set band. yes.
08:37:26 dassouki: i wonder if it's easier to just create a new shape file rather than attempt to write a code to write a new column to an existing shape file. What to do, confusion arises
08:38:11 jef: dassouki: QgsVectorLayer::addAttribute
08:38:41 dassouki: jef: thanks :D
08:41:28 simgislab: btw, is anybody currently working on adding fields to shapefile in core QGIS?
08:48:30 jef: simgislab: huh? that's done. given a recent version of ogr.
08:50:10 simgislab: jef: I saw that ogr finally allows that, but I did't see it in qgis table interface yet
08:50:23 simgislab: may be I looked in the wrong place
08:51:37 jef: simgislab: adding attributes has been there long time and worked for postgis. the ogr provider also supported it, but the ogr shapefile driver didn't.
08:52:31 simgislab: hmm, but didn't it start supporting it too recently? adding fields to shapefiles
08:53:11 jef: simgislab: yes and now the ogr driver reports that capability and you can add fields.
08:53:30 simgislab: jef: but only programmatically?
08:53:36 jef: simgislab: no
08:54:02 jef: simgislab: vectorproperties, attributes tab
08:54:12 simgislab: ah!
08:54:16 simgislab: properties
08:54:54 simgislab: now I see it, sorry I didn't have a look there right away, I was searching in table itself
08:55:20 jef: simgislab: right, it used to be there. but I moved it.
08:57:18 simgislab: jef: btw, I'm looking at 1.1 now and it seems like it doesn't allow to set size for fields
08:57:34 simgislab: or I'm missing somethign again ...
08:58:02 jef: simgislab: trunk does. iirc we were already in feature freeze.
08:58:46 simgislab: latest trunk? I've got of your nightly builds now, pretty fresh
09:00:42 jef: simgislab: ah, ok. we're still talking about adding fields and not creating shapefiles.
09:00:50 simgislab: yep
09:01:06 simgislab: creation is fine
09:01:39 jef: simgislab: qgsvectorlayer doesn't know about width and precision yet - just "type"
09:07:26 simgislab: hmm, just looked at it more, something weird is going on with adding fields ( latest nightly build )
09:09:19 simgislab: if I add field, with only type, save editings, it doesn't show up in the table, I need to remove shape-file and reload it, then fields are visible
09:10:35 jef: simgislab: yes. the "better" attribute table isn't better there. the old used to connect to the signal vectorlayer emits when attributes are added.
09:10:54 simgislab: "delete field" is also blocked, cannot delete a field
09:11:29 simgislab: this stuff also results if ability to add multiple fields with the same name ...
09:11:31 jef: simgislab: well, ogr doesn't support that yet. try a postgis layer and it'll be open
09:12:29 simgislab: should fill a report on table not showing results of adding field?
09:12:37 simgislab: *should I
09:12:52 jef: simgislab: hm, that name conflict issue should be covered.
09:13:07 simgislab: let me show you
09:13:39 simgislab: http://gis-lab.info/images/screenshots/20090507-19i-68kb.jpg
09:13:52 simgislab: note names
09:19:28 jef: simgislab: interesting. I get name conflict.
09:20:27 simgislab: yes, it doesn't allow to create fields with the same name if you trying to enter them, but
09:21:54 simgislab: if you try this: 1 ) open the table, add field "new", 2 ) save edits, apply, close properties, 3 ) reopen properties ( note the just added field is missing ) 3 ) repeat 1, etc...
09:24:22 jef: simgislab: hm, works for me. but I've too leave now. bbl
09:24:42 simgislab: ok, thanks
09:32:50 CIA-70: cfarmer * r10754 /docs/trunk/english_us/coding-compilation_guide/ ( plugins_writing_in_cpp.tex plugins_writing_in_python.tex ): updates to both plugin chapters of coding and compilation guide
09:32:51 sigq: tracfeed: Changeset [10754]: updates to both plugin chapters of coding and compilation guide <https://trac.osgeo.org/qgis/changeset/10754>
10:13:11 jctull: jef: it appears that transparency settings are not being honored for saved styles on postgis layers
10:19:15 jctull: Colors stick, but not transparency
10:42:31 jctull: cfarmer: any thoughts on the join problem? It might have been related to some date columns with 00/00/0000 dates.
10:42:50 jctull: I had to drop those columns to get shapefile to postgis export through shp2pgsql
10:43:03 jctull: I have not tried your join tool since
11:46:27 timlinux: jef I filed a ticket for the ppa at ubuntu questions
11:46:28 timlinux: https://answers.launchpad.net/malone/+question/70328
11:46:30 sigq: Title: Launchpad Bugs question #70328: “How can I rename a ppa?” ( at answers.launchpad.net )
11:46:43 timlinux: ( after asking on #launchpad )
12:02:07 cfarmer: jctull: I haven't had a chance to look at that yet... sorry... I'm totally snowed under at the moment ( not literally, just swamped with deadlines )
12:02:37 jctull: no worries.
12:03:18 jctull: I ended up using postgis, but I'm thinking it was those bad date columns. I'm crunching as well, so don't really have time to test that theory right now.
12:05:49 cfarmer: timlinux: you wouldn't happen to have any screen grabs from your "Extending the functionality of QGIS with Python plugins" course at least years FOSS4G do you?
12:06:09 cfarmer: If not I'll just create them myself for the manual...
12:07:18 timlinux: cfarmer, um screengrabs no
12:07:30 timlinux: it was all done live from the script
12:08:13 cgs_bob_: not smoke and mirrors? ; )
12:08:19 cfarmer: ah coolio ok thanks...
12:29:51 doktoreas: hola
12:29:55 doktoreas: timlinux hi!
12:30:16 doktoreas: I am testing your installer...it complians about MSVCR71.dll
12:30:22 doktoreas: *complains
12:32:50 doktoreas: also msvcp.dll
12:57:58 timlinux: doktoreas, :-(
12:58:15 doktoreas: hi timlinux
12:58:18 timlinux: doktoreas, did you install the runtime stuff?
12:58:26 doktoreas: yep
12:58:38 doktoreas: but with the 2 dll put by hand, all is fine
12:59:21 doktoreas: msvcp71 e msvcr71
13:00:44 timlinux: doktoreas, ok I will add them and repackage
13:00:54 doktoreas: thx tim
13:00:56 timlinux: not sure why they were needed
13:01:12 timlinux: I guess no-one else complained because they already have them somewhere
13:01:21 timlinux: I can only upload again tomorrow
13:01:35 doktoreas: np :D mine is a fresh win xp installation
13:02:04 timlinux: doktoreas, ok thats good to know
13:02:12 timlinux: doktoreas, many thanks for testing!
13:02:19 timlinux: doktoreas, were you able to do anything with grass?
13:02:23 doktoreas: to you for the great work
13:02:42 doktoreas: nope..no testing for GRASS
13:02:55 doktoreas: The course is on qgis only : )
13:10:22 timlinux: doktoreas, :- )
13:10:45 timlinux: doktoreas, which version will you use for the the course?
13:11:17 doktoreas: yours :D
13:11:30 timlinux: no I meant 1 or 1.1 :- )
13:12:22 doktoreas: 1.1..the scalebar is not working for 1.0.2 :(
13:12:36 timlinux: oh?
13:13:02 doktoreas: I tested scalebar with 1.0.2 coming from Osgeo4W and it crashs
13:13:35 doktoreas: when I add it to printer composer
13:15:39 cfarmer: anyone know why I keep getting a segfault when I try to run the python mainwindow examples?
13:16:24 timlinux: cfarmer, nope :-(
13:16:35 timlinux: cfarmer, under linux?
13:16:52 timlinux: cfarmer, have you maybe got two versions of QGIS mixed in your lib path?
13:18:00 cfarmer: uh probably.... maybe I'll do a fresh clean install... yes under linux...
13:18:50 cfarmer: it all works fine... but then I get:
13:18:51 cfarmer: ( render ) ========== Rendering ==========
13:18:53 cfarmer: empty extent... not rendering
13:18:55 cfarmer: Segmentation fault
13:21:57 timlinux: cfarmer, want me to test the same code here?
13:22:22 cfarmer: sure if you have a chance...
13:22:50 cfarmer: frankly, I'm really just trying to create screen grabs for the developer manaual
13:30:04 timlinux: cfarmer, ah
13:31:22 cfarmer: is anyone else experiencing serious cpu spikes with the new ubuntu?
13:32:38 timlinux: cfarmer, no
13:33:32 cfarmer: damn... well, good for you... not for me...
13:44:22 timlinux: cfarmer, in reference to: http://www.carsonfarmer.com/?p=20 , you can do even more simply using 'rpl' -> sudo apt-get install rpl; rpl "searchterm" "replaceterm" *.py
13:44:23 sigq: Title: Carson Farmer Blog Archive Find and replace multiple files ( at www.carsonfarmer.com )
13:45:26 cfarmer: oh yeh, I actually discovered a few other really simple ways to do that since then... I guess I should update it or remove it one of these days...
13:45:56 cfarmer: thanks btw
13:46:15 cfarmer: timlinux: have there been any changes to quickprint lately?
13:46:19 timlinux: no prob - just happened to see it when I was adding a link to your blog to my blog
13:46:23 timlinux: cfarmer, no
13:46:42 cfarmer: ok, I'm having trouble compiling...
13:46:59 cfarmer: I don't like computers today;-(
13:48:42 jayd: Anyone know why the Python plugin installer would be missing from a ubuntu hardy install ( from ppa.launchpad ) I'm running python 2.5.2..all of the other plugins are there!
13:50:46 timlinux: jayd, thats odd
13:51:32 jayd: 1.0.1 kore fyi
13:52:15 cfarmer: jayd: it's not showing up in the plugin manager? is the plugin_installer folder in your plugins dir?
13:53:01 cfarmer: wait... do you have a python console under the Plugins menu item?
13:53:56 jayd: no console!
13:54:54 jef: jayd: apt-get install python-qgis
13:54:59 cfarmer: ah you don't have pyqgis installed...
13:55:07 cfarmer: oops and there is your solution!
13:55:32 jayd: ah-ha
13:55:39 jayd: no I don't!
13:59:29 timlinux: doktoreas ( for the logs ) ok new packages for win are made - will upload tomorrow
13:59:32 : * timlinux has to crash
13:59:36 timlinux: cheers all
13:59:43 : * racicot has not had a chance to post officially via blog, but here are some more slides from QGIS presentation at WAURISA a couple of days ago...
13:59:50 racicot: http://www.reprojected.com/presentations/Presentations/waurisa_2009/z-pulley_QGIS_PYTHON.pdf
14:01:14 racicot: build a plugin using the web based plugin builder and modify via designer and connect to a SIGNAL in 30 minutes or less... ;- )
14:03:37 jef: racicot: designer is not in osgeo4w? is there a special one for pyqt?
14:04:16 racicot: I did not see the executable in there... all I had seen was the dll... maybe I missed it
14:04:38 jef: racicot: qt4-devel
14:05:07 racicot: ah, must have been that I missed that package in the install... I will look.
14:05:40 : * racicot wrote those slides late at night after installing on a new machine...
14:11:07 racicot: jef: so I just booted up that machine, and yes I have qt4-devel instlled but it does not include the designer.exe as far as I can tell. Had to install pyqt4 win installer from riverbank to get a copy of the designer exe
14:13:29 jef: racicot: you don't have bin/designer.exe?
14:15:22 racicot: ooops, I do!
14:15:36 racicot: I was looking at the wrong place. Man I feel stupid
14:16:44 jef: racicot: phew. ; )
14:18:27 racicot: I will take that reference out of the slides ;- )
14:18:36 : * racicot has to head outside for a bit...
14:41:43 jmckenna: anyone here know where a recent QGIS ppt or odp presentation lives? ( basic presentation with project history, features etc )
14:45:37 CIA-70: cfarmer * r10755 /docs/trunk/english_us/coding-compilation_guide/ ( 5 files in 2 dirs ): finish coding and compilation manual plugin sections
14:46:06 sigq: tracfeed: Changeset [10755]: finish coding and compilation manual plugin sections <https://trac.osgeo.org/qgis/changeset/10755>
14:46:35 jmckenna: no worries, i'll use the info on the site
14:49:20 wildintellect: anything buried in the svn?
14:49:29 wildintellect: we should probably keep something like that handy
15:38:30 jayd--: @jef apt-get python-qgis got me half the way there...for some reason I had to download and add the python plugin manager on my own( putting it in /home/name/.qgis/python/plugins/ ) Thanks!
15:38:51 jayd--: @jef apt-get python-qgis got me half the way there...for some reason I had to download and add the python plugin manager on my own( putting it in /home/name/.qgis/python/plugins/ ) Thanks!
16:25:35 darkblue_B: or, hi wildintellect
17:09:35 darkblue_B: hello - what is the status of QGis 1.1?
17:09:51 darkblue_B: I am looking for the spatialite data provider, specifically
17:27:26 jctull: darkblue_B: what platform are you on?
17:27:36 darkblue_B: I can use Ubuntu linux
17:27:50 darkblue_B: .. I generally have a Mac.. but I dont have all the GIS stuff on it
17:28:02 darkblue_B: Ubuntu is good
17:28:05 jctull: You can always build the source following the wiki instructions, or mac similarly
17:28:10 jctull: I use a mac
17:28:31 darkblue_B: build.. so there is no 1.1 thing yet?
17:28:56 jctull: Probably another few days, maybe a week? I have not been following too closely.
17:29:12 darkblue_B: ok, a week is good.. we have a demo on the 16th
17:29:24 darkblue_B: it would be nice to get for that
17:29:42 jctull: check the qgis-dev archives. There have been some calls for packaging, etc.
17:30:14 jctull: Also, keep an eye on www.kyngchaos.com for his binary.
17:30:20 darkblue_B: ok, I have to do other things.. thx for info.. I will wait a bit longer..
17:30:33 darkblue_B: yeah.. I dont have the kyngchaos setup
17:30:39 darkblue_B: but his stuff is great
17:31:05 darkblue_B: thank you jctull
17:31:05 jctull: If you have xcode and his frameworks, building is quite easy...
17:31:08 jctull: np
21:08:03 jctull_: m
21:45:29 CIA-70: pcav * r10756 /trunk/qgis/ ( DONORS SPONSORS ): Added DONORS, changed SPONSORS. Please add DONORS tab to the About box
21:45:31 sigq: tracfeed: Changeset [10756]: Added DONORS, changed SPONSORS. Please add DONORS tab to the About box <https://trac.osgeo.org/qgis/changeset/10756>