#QGIS IRC Log - 2009-06-04

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
01:07:02 spacedman: wildintellect: are you the same as "wildint" from earlier? still got an R problem?
01:07:20 wildintellect: yes
01:07:23 wildintellect: and no
01:07:32 spacedman: cool : )
01:07:55 wildintellect: I use a short version of the same nick on my laptop cause it highlights on both machines
01:08:32 wildintellect: I think my solution to earlier is spplot, still a little more to learn about applying the colors but it makes more sense now
01:08:51 spacedman: can you not just do plot( thing, col=thing$whatever )?
01:09:41 wildintellect: with plot It was more difficult to pick which column to base the color on - I don't have a color column in the table
01:10:02 spacedman: ah, then maybe you need my in-development colourscheme package : )
01:10:17 spacedman: https://r-forge.r-project.org/projects/colourscheme/
01:10:22 sigq: Title: R-Forge: Colour Schemes: Project Info ( at r-forge.r-project.org )
01:11:24 wildintellect: ah maybe, in this case I need to write instructions for someone else - so sticking to simple, known and documented methods
01:11:44 spacedman: okay. I guess you just need a function to map your values to colours
01:11:51 wildintellect: yup
01:12:01 wildintellect: and that's the part that no one seems to explain how to do
01:13:06 spacedman: are your values numeric or factors?
01:13:24 wildintellect: sometimes numbers sometimes text codes
01:14:04 spacedman: how much control do you want of colours?
01:14:40 wildintellect: well it's to generate maps for scientific publication so pretty good control
01:15:06 spacedman: okay... do you have specific colour schemes in mind?
01:15:19 wildintellect: mostly RColorBrewer stuff
01:15:49 wildintellect: that and grayscale
01:16:41 wildintellect: I'll probably get back to playing with it again in 12 hours when I'm in the office - but I think I made good progress today, I made a map based on numeric values at least
01:16:58 wildintellect: still need to work out labels, north arrow and scale bar
01:17:07 wildintellect: but that looked relatively easy in spplot
01:17:17 spacedman: tried importing to Qgis? : )
01:18:23 wildintellect: I made the map in QGIS 1st
01:18:33 wildintellect: damn how'd i miss this earlier http://r-spatial.sourceforge.net/gallery/
01:18:35 sigq: Title: R sp graphics example figures ( at r-spatial.sourceforge.net )
01:19:05 wildintellect: that's almost everything I need
01:19:05 spacedman: my colourscheme package should do exactly what you want. e.g. rs2 = rampInterpolate( c( -2, 2 ), brewer.pal( 5, "PuOr" ) ) ; plot( x,y,col=rs2( data ) )
01:19:24 wildintellect: cool, I'll give it a shot for my personal use
01:19:25 spacedman: seen the r graph gallery too?
01:19:40 wildintellect: yes but too many non-map things clutter
01:19:59 wildintellect: The objective here is a professor who knows some R now wants to make maps
01:20:05 wildintellect: but they don't really know GIS
01:20:36 wildintellect: I'm giving them the how to do it in QGIS, R and ArcGIS( Assuming they get their vm install on mac working )
01:20:53 wildintellect: and the maps they want are simple
01:21:29 wildintellect: values per polygon, maybe scaled points per values using states and counties
01:21:29 spacedman: okay sounds good. want to show them how to do it in pure python as well: http://www.scipy.org/Cookbook/Matplotlib/Maps
01:21:34 sigq: Title: Cookbook/Matplotlib/Maps - ( at www.scipy.org )
01:22:23 wildintellect: I get the feeling that's over their heads
01:22:25 spacedman: prob : )
01:22:38 wildintellect: R only came up since they already use it for stats
01:22:48 wildintellect: and already have it installed
01:23:11 wildintellect: so technically it's the fastest way to a map since it doesn't require any new software
01:23:29 spacedman: there's also the rworldmap package which is in development for easy world maps - it knows about country codes and connecting data frames with country codes to the data for making maps: http://code.google.com/p/rworld/
01:23:37 sigq: Title: rworld - Google Code ( at code.google.com )
01:23:50 wildintellect: I saw something else like that today
01:23:56 wildintellect: the maps package I think
01:24:08 wildintellect: already had world, country and state boundaries in it
01:24:37 wildintellect: thanks for the links, I better get to bed
01:24:51 spacedman: where are you?
01:25:39 wildintellect: California
01:58:22 Guest30457: hi jef and all, i am developing tabs for qgis... i have created the diagram that discribes what i have done and how it works but i don't have experience in UML and Qgis and i hard need that it was checked before i continue and do other diagrams... can you wath it and consult me?
01:59:04 Guest30457: http://imagebin.ca/view/f8idCS1.html
01:59:05 sigq: Title: QGis_en.jpeg ( at imagebin.ca )
02:02:25 Guest30457: http://imagebin.ca/view/pohOU9.html
02:02:28 sigq: Title: QGis_en.jpeg ( at imagebin.ca )
02:33:31 epifanio: Guest30457: ping
07:48:59 cgs_bob_: springmeyer: ping
07:49:14 springmeyer: pong
08:02:58 cgs_bob_: springmeyer: just had a coworker inter my office...sorry for the delay : ) anyways, I just pulled the latest quantumnik and noticed that the plugin manager says the plugin is broken
08:03:30 springmeyer: hey, ya, I just incremented the qgis min version too much
08:03:38 springmeyer: are you running Kore? if so which version?
08:06:27 cgs_bob_: I'm running both Kore 1.0.2 . and also 1.2
08:06:38 springmeyer: okay, can you try again?
08:06:43 springmeyer: sorry about that
08:06:55 cgs_bob_: ok...brb
08:09:55 cgs_bob_: it's ok now. now I can see what you've been up to : )
08:11:43 springmeyer: heh, ya, lots of easy little fixes
08:12:02 springmeyer: lines and dashes should look a bit closer now
08:12:51 cgs_bob_: great! I'll be givint it a workout today : )
08:13:20 springmeyer: thanks cgs_bob_
08:13:28 springmeyer: cgs_bob_: so whacha using it for?
08:14:56 cgs_bob_: I'm working on a earthquake induced landslide hazard zone map. want to make it look pretty : )
08:16:48 springmeyer: ah ha, nice. what projection and how many layers?
08:17:52 cgs_bob_: I'm using utm zone 10 nad83 and I have about 4 layers in my map
08:19:15 cgs_bob_: hey...I got to get. I'll be back in about 30 minutes
11:28:01 sampson_: can someone help with pyqt function to get current extent of the map window?
11:33:21 jef: sampson_: iface.mapCanvas( ).extent( )
11:43:24 sampson_: jef .... http://pastebin.ca/1447917
11:43:26 sigq: Title: pastebin - get bounding box - post number 1447917 ( at pastebin.ca )
11:43:29 sampson_: hmmm iface eh?
11:44:01 sampson_: http://pastebin.ca/1447917
11:44:02 sigq: Title: pastebin - get bounding box - post number 1447917 ( at pastebin.ca )
11:45:18 sampson_: mapCanvas Vs QgsMapCanvas?
11:52:11 sampson_: jef: yipee... solution http://pastebin.ca/1447937
11:52:12 sigq: Title: pastebin - get extent solution - post number 1447937 ( at pastebin.ca )
14:05:27 springmeyer: wildintellect: fyi... http://bitbucket.org/lgautier/rpy2/issue/9/build-fails-on-mac-osx#comment-20241
14:05:28 sigq: Title: lgautier / rpy2 / issues / Build fails on Mac OSX bitbucket.org ( at bitbucket.org )
15:27:30 springmeyer: @seen gsherman
15:27:30 sigq: springmeyer: gsherman was last seen in #qgis 2 weeks, 0 days, 2 hours, 14 minutes, and 28 seconds ago: <gsherman> jctull: Problem solved?
18:47:35 jctull: build problem on OS X related to grassshell.o, probably from the changes that were being made a while back that did not work on OS X at that time either.
18:47:36 jctull: http://pastebin.com/mc5fb287
18:47:37 sigq: Title: Bash pastebin - collaborative debugging tool ( at pastebin.com )