#QGIS IRC Log - 2009-04-03

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
01:18:21 CIA-56: cfarmer * r10459 /trunk/qgis/python/plugins/fTools/tools/doSelectByLocation.py: fixes gui bug that displayed unnecessary browse button and box
01:18:22 sigq: tracfeed: Changeset [10459]: fixes gui bug that displayed unnecessary browse button and box <https://trac.osgeo.org/qgis/changeset/10459>
02:06:47 doktoreas: Hello folks..I am preparing the slides for tomorrow Qgis course and got a little question on labeling ( 1.0.1 Win ). How should I set attribute to use/not use bold, italic ecc..?
02:08:48 pcav: just write it in a column
02:08:56 pcav: in the db( f )
02:09:53 doktoreas: pcav, so I should create a style column and set bold, italic, ecc. for each item?
02:11:38 pcav: yes
02:12:13 doktoreas: Y/N 1/0 si/no : )
02:14:57 pcav: great
02:22:13 doktoreas: I tried creating a new column call BOLD and set yes/no for each item, but nothing.
02:22:21 doktoreas: same thing with 1/0
02:30:56 pcav: did you try writing "bold" in the field?
02:36:15 doktoreas: yep, nothing
02:39:57 spacedman: tried 'on'/'off' ?
02:43:54 doktoreas: spacedman, nothing
02:45:10 spacedman: hmmm 1 and 0 works for me
02:46:04 doktoreas: great, yep was my fault then :D
02:46:10 doktoreas: sorry for bothering on this
02:46:15 spacedman: you've got it working?
02:46:39 doktoreas: yes, really thx
02:46:43 spacedman: cool
02:46:56 spacedman: should be documented somewhere...
02:48:36 doktoreas: The remaining tabs on the Label tab allow you control the appearance of the labels using attributes
02:48:37 doktoreas: stored in the layer. The “Data” tabs allow you to set all the parameters for the labels using fields in
02:48:37 doktoreas: the layer.
02:49:17 doktoreas: this is from the manual..if anyone can commit would be nice to specify "using 1 and 0"
02:49:44 pcav: doktoreas: please send a mail to Otto
02:49:58 doktoreas: k
02:50:15 doktoreas: just another thing so we can report all
02:50:39 doktoreas: is the "use more then one line" working for you pcav , spacedman ?
02:52:35 spacedman: do you mean the 'Multiline Labels?' checkbox? whats that supposed to do?
02:52:57 jef: support linebreaks
02:53:04 doktoreas: thx jef
02:53:59 spacedman: hmmm attribute table editor wont let me put linebreaks in...
02:56:04 spacedman: hmmm i dont know how to do that in openOffice either : )
02:56:14 doktoreas: same her :D
02:56:28 doktoreas: jef, any tips? So I can put in the mail for Otto
02:56:46 jef: doktoreas: so you have linebreaks in your data?
02:57:09 doktoreas: nope, I wanna add them
03:00:20 jef: doktoreas: well, I just added that for data I had with breaks - and that still works. But I didn't touch anything to allow entering linebreaks.
03:10:23 pcav: cfarmer: you there?
03:28:19 cfarmer: pcav: yup, and i'm uploading your fix now...
03:30:19 giohappy: hi people, how to compile ONLY the grass plugin, avoiding the whole build chain?
03:31:02 macho: giohappy: IIRC if it is build already - it rebuilds only the new parts if you start a new build ..
03:31:39 macho: so it doesn't toke longer or shorter building it again than building ONLY anything
03:32:45 giohappy: macho: mmm, it always says "Building CXX object ...." , 1%, 2%, 3%...
03:32:45 cfarmer: giohappy: I think you can simply drill down into the grass plugin dir and build from there: QGIS_BUILD_DIR/src/plugins/grass ?
03:33:01 giohappy: cfarmer: I've already tried that
03:33:56 cfarmer: bummer... well you can always build with two processors to speed things up...make -c2
03:33:59 giohappy: cfarmer: but it still goes to the top core dir
03:34:09 giohappy: nmake
03:34:50 cfarmer: huh? that's all I got ;-p sorry...
03:35:19 giohappy: cfarmer: thx anyway ;- )
03:35:28 cfarmer: np....
03:35:31 cfarmer: pcav: ping
04:04:13 CIA-56: mhugent * r10460 /trunk/qgis/src/providers/spatialite/CMakeLists.txt: Added geos include dir to spatialite cmake file
04:04:38 sigq: tracfeed: Changeset [10460]: Added geos include dir to spatialite cmake file <https://trac.osgeo.org/qgis/changeset/10460>
04:04:59 doktoreas: jef, thx for pointing this
04:05:04 pcav: cfarmer: pong
04:05:56 pcav: getting the update now...
04:06:02 pcav: thanks a lot!
04:11:22 jef: spacedman: ctrl+enter
04:12:37 macho: it seems i miss a lot here - or i just cannot follow ; )
04:13:03 jef: yes ; )
04:13:46 macho: first or second?
04:13:58 jef: spacedman: to enter linebreaks in oo
04:14:44 jef: macho: you tell me.
04:16:20 cfarmer: pcav: glad to help... is everything working ok now?
04:16:33 pcav: yes
04:16:44 pcav: further testing in 1/2h
04:17:17 cfarmer: great! hopefully they like the quick fix ( sorry I didn't get this done sooner... meetings got in the way )
04:18:07 pcav: I'll let you know soon
04:18:33 pcav: certainly is very much open source in action!
04:18:53 pcav: impossible to get this in anything by pyQGIS
04:18:56 pcav: : )
04:19:31 cfarmer: indeed! so is this a gis course that you're teaching, or a seminar?
04:33:45 pcav: a course
04:33:53 pcav: faunalia.pt/curso
04:51:58 yjacolin: hi, do you knwo if QGIS will manage postgis table with multiple columns as a primary key?
04:57:46 jef: yjacolin: currently it doesn't. in the future it might.
04:58:13 yjacolin: that's my qeustion: there is no plan yet?
04:58:55 yjacolin: my sysadmin refused to change its schema of the table which is using composit primary key :(
04:59:32 jef: yjacolin: well, nothing definitive.
04:59:48 : * yjacolin think he neeed to change the DB admin : )
04:59:57 yjacolin: thanks jef : )
05:00:12 jef: yjacolin: if you need a short time solution... ; )
05:00:16 yjacolin: there is a ticket which I can follow for this
05:00:23 yjacolin: ?
05:04:54 macho: If you get an error message similar to this:
05:05:13 macho: why do i always have to deal with error messages ..
05:06:04 jef: click ok quickly - nobody ready error messages anyway ; )
05:06:10 jef: s/ready/reads/
05:25:54 jef: if I delete a feature from a shapefile all higher ids change. mm, ids are purely temporary. so postgres' ctid might also qualify as feature id.
05:46:33 doktoreas: folks, it's always me..but I am doing heavy testing before course..When creating a new layer, the projection is set to de default wgs84?
06:21:10 cfarmer: doktoreas: It's set to whatever you're default CRS is set to in options...
06:21:35 cfarmer: s/you're/your/
06:22:32 doktoreas: cfarmer, so it takes the default CRS..
06:22:43 doktoreas: I thought that it will use the project CRS
06:23:31 cfarmer: nope don't think so... I just changed my default CRS and created a dummy layer and the new layer had the default CRS...
06:50:20 macho: doktoreas: there are still different kind of meanings og what qgis should do on loading a projected file .. or open a project
06:51:01 macho: from my point of view i would expect qgis also to take the CRS from the file i load ..
06:51:40 doktoreas: the first one?
06:53:22 doktoreas: macho, for me would be good to have a CRS input dialog just beofre the save one
06:53:27 doktoreas: *before
06:53:36 doktoreas: I mean when creating a new vector layer
07:22:31 jctull: cfarmer: hi there
08:48:39 spacedman: have a good weekend everyone!
08:53:08 pcav: same to you!
08:53:15 pcav: rainy england?
09:00:57 pcav: hi pramsey!
09:00:57 pcav: all well?
09:01:39 pramsey: quite so, pcav
09:02:12 pcav: glad of it
09:03:37 pcav: got interested in qgis? : )
09:04:23 pramsey: Not sure why I added this channel to my auto list
09:04:35 pramsey: I guess I wanted to hear more about this part of the C tribe
09:05:38 pcav: good thing
09:05:57 pcav: the farther away from java the better ; )
09:07:28 gsherman: haven't you heard? we are converting to java
09:07:41 pcav: oh, yes,
09:07:41 gsherman: now that IBM is going to make it legitimate
09:07:46 pcav: enterprise qgis
09:35:46 macho: is the licence already changed? ; )
09:35:59 gsherman: yes, pay up
09:39:31 dassouki: i was wondering if anyone has an example on qgissnapper
09:39:54 dassouki: i can look at
09:40:58 dassouki: and for some reason www.qgis.org is giving me a network timeout
09:42:58 macho: correct
09:43:04 macho: qgis.org times out
09:43:33 FrankW: SDSC which hosts is apparently having connectivity problems.
09:47:28 dassouki: ya i was just wondering if somene can explain how to use qgssnapper in python to connect a point from a point layer to a line from a line layer
09:47:37 dassouki: http://doc.qgis.org/stable/classQgsSnapper.html <-- reding
09:47:38 sigq: Title: Quantum GIS API Documentation: QgsSnapper Class Reference ( at doc.qgis.org )
09:49:10 TylerM: whose the master at qgis printing layout stuff?
09:50:03 gsherman: marco
09:50:06 gsherman: h
09:50:25 TylerM: hi gary, thx
09:50:30 TylerM: you signed up as a soc mentor right?
09:50:35 gsherman: yes
09:50:45 TylerM: got some projects you're looking at already?
09:51:02 gsherman: 1
09:51:44 TylerM: i want to push this one a bit closer to qgis I think http://socghop.appspot.com/student_proposal/show/google/gsoc2009/dano/t123834540004
09:51:45 sigq: Title: Sign In Required ( at socghop.appspot.com )
09:51:46 sigq: tracfeed: Ticket #1621 ( bug created ): Compilation process failed when Spatialite is enabled <https://trac.osgeo.org/qgis/ticket/1621>
09:52:03 TylerM: but don't want to presume it would be useful to qgis project ; )
09:52:25 gsherman: i have looked at it. i think it would require input from marco to determine if it overlaps with his ongoing efforts
09:53:01 TylerM: the aim is to have something more generic, like maybe wrapped as a python plugin, but that could be used stand alone from other apps too.
09:53:21 gsherman: hmm
09:53:37 TylerM: mainly for a "printing engine"
09:53:45 TylerM: i'm refactoring the idea a bit today
09:53:48 gsherman: sounds like a separate project almost
09:54:05 gsherman: better hurry, applications close in 2 hrs : )
09:54:25 TylerM: gah
10:08:25 : <_-Slash-_> yop
10:11:10 cfarmer: TylerM: ping
10:11:28 TylerM: hi cfarmer - how's it going?
10:11:52 cfarmer: good... -> pm
10:11:54 TylerM: got an IBAN or SWIFT code for me? : )
10:13:20 jctull: macho or jef: http://rafb.net/p/SkqPB680.html
10:13:21 sigq: Title: Nopaste - No description ( at rafb.net )
10:39:18 macho: jctull: qt4.5 ?
10:39:58 jctull: yep
10:54:03 CIA-56: jef * r10461 /trunk/qgis/i18n/ ( 18 files ): fix translations for Qt 4.5 ( again )
10:55:43 sigq: tracfeed: Changeset [10461]: fix translations for Qt 4.5 ( again ) <https://trac.osgeo.org/qgis/changeset/10461>
11:29:14 jctull: jef: thanks, I'm testing now.
11:32:42 jctull: all well again
12:43:44 jctull: jef: great work on the postgresql ssl change!
12:44:08 gsherman: jctull, doesn't compile in xcode
12:44:26 jctull: I use cmake to stay on the bleeding edge
14:26:16 timlinux: jef still awake?
14:26:21 timlinux: hi gsherman
14:26:39 jef: timlinux: yes
14:27:01 timlinux: jef - I just tested your postgis speedup changes
14:27:48 timlinux: for me drawing a layer that previously took 2min15s now draw in around 1min
14:27:50 timlinux: !!!
14:28:07 timlinux: and when I zoom in drawing is instantaneous
14:28:33 : * timlinux hands jef the 'QGIS Fix of the day' award !!!!
14:33:25 : * epifanio .. is really happy to hear these notice ... just few minutes before going to sleep ;- ) ... jef the rocks!!!
14:34:05 : * timlinux wonders how we can backport this into stable
14:34:18 timlinux: ( since we have a gui freeze )
14:35:24 timlinux: jef I guess it would be a *bad thing* to default to non ssl connections in stable
14:36:51 jef: timlinux: we would need to add "sslmode=disable" to all postgis layers by default - or simply add that inside the postgres provider. although there might be good reason why ssl is default. but IMHO it doesn't make any sense on the localhost.
14:37:08 timlinux: jef yes
14:37:25 FiReSTaRT: hey tim/juergen : )
14:38:06 timlinux: perhaps we could patch into stable logic to see if the connection is local then use ssl disabled, thus avoiding gui changes
14:38:19 FiReSTaRT: does any one of you have experience with manageR? i can't seem to find it even though it looks like it's prperly installed and enabled.. probably a brain fart lol
14:38:25 timlinux: hi FiReSTaRT
14:38:36 jef: timlinux: sure. that would work.
14:38:39 timlinux: FiReSTaRT: no experience
14:39:59 FiReSTaRT: looks like a great little plugin.. wcs i can use R separately but a better qgis integration would give it a huge advantage over esri :P
14:40:27 FiReSTaRT: ahh found it.. was a bit hidden : )
14:40:31 : * timlinux is an R idiot
14:41:05 timlinux: jef did you build with spatial lite support already?
14:41:50 jef: timlinux: nope, but I worked on doing the internal spatiallite and compiled it with vc. but it's not working yet.
14:42:22 timlinux: ah that will be nice
14:42:29 FiReSTaRT: tim: and i see some great possibilities for it within the project
14:42:49 timlinux: I am going to build here on linux and then see how it compares to postgres
14:43:54 FiReSTaRT: tim: since just about every half-decent spatial analysis program has a geostats component, creating a graphical front end for it within Quantum would make it an instant hit within the industry.. u need to make a couple of Carson clones :P
14:53:44 cgs_bob: hello all. I was just trying out the spatialite support in qgis. It would be great if there was something like SPIT for spatialite or even a "Save as SpatiaLite..." : )
14:54:11 timlinux: cgs_bob: just building it here for the first time myself
14:54:36 timlinux: cgs_bob: we actually need something even more generic that lets you save as between any provider that supports write operations
14:57:41 timlinux: cgs_bob: what is did you build on?
14:58:25 cgs_bob: timlinux: will it also allow you to reproject vectors or warp rasters?
14:59:23 cgs_bob: timlinux: I'm running on 64bit Hardy
15:01:22 epifanio: cgs_bob: sandro ( spatial lite father ) has made a gui to import export save .. shape file in a .sqlite db ... i don't remember if he used qt to make the gui .. if yes it well be added as plug-in without a large effort
15:02:52 timlinux: cgs_bob: did you hand build spatiallite? I build 2.2 and had to do a bit of fiddling with symlinks to make it bui;d
15:03:08 timlinux: is 2.2 the correct version to use?
15:03:10 cgs_bob: epifanio: I've been using sandro's gui and it would be great if it could be made a qgis plugin
15:03:25 epifanio: timlinux: no, you need 2.3
15:03:27 cgs_bob: timlinux: I'm using 2.3
15:04:03 cgs_bob: http://www.gaia-gis.it/spatialite-2.3/
15:04:05 sigq: Title: SpatiaLite download page ( at www.gaia-gis.it )
15:04:49 timlinux: wxwidgets GTK <-- its using wxwidgets
15:05:01 cgs_bob: timlinux: and yes, I did compile from source
15:05:21 timlinux: damn I just built 2.2
15:14:26 cgs_bob: timlinux: I made the same mistake. fyi, sqlite also gets built ( default in /usr/local tree ). might need to use the new sqlite library path in cmake
15:15:05 timlinux: spatiallite is a superset of sqlite though isn't it?
15:15:49 wildintellect: it's an extension
15:16:47 wildintellect: I think the way it's normally distributed is a statically linked library
15:17:06 cgs_bob: yup...and spatialite might need the version in put in /usr/local
15:18:19 wildintellect: it should work against any 3.x install, although I upped my system to 3.6.10 for some newer features
15:21:14 wildintellect: I look forward to seeing instructions on the right way to go about it
15:27:06 timlinux: I don't understand why it tries to link geos and proj in /usr/local/lib instead of /usr/lib
15:27:25 timlinux: since it obviously detects them there when it configures
15:28:03 wildintellect: I thinik I had the dame issue on 64bit hardy, but never followed up
15:28:21 : * timlinux is running 64bit hardy here
15:28:31 wildintellect: yes, that's why I mentioned
15:28:52 wildintellect: I have yet to get spatialite binaries or built on 64bit
15:28:58 wildintellect: to work
15:29:11 timlinux: I got 2.2 to build by symlinking the libs into /usr/local/lib
15:29:22 timlinux: 2.3 is not so easily fooled though
15:30:07 : * wildintellect wishes he really understood config files so it could be fixed
15:31:17 : * timlinux is poking at it now