| 00:17:48 | timlinux: | jef hiya |
| 00:18:39 | timlinux: | jef do you have a NCSEcw.dll on your osgeo4w system? |
| 00:19:40 | jef: | timlinux: no. did you install the ecw dlls? |
| 00:22:50 | jef: | timlinux: http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw |
| 00:22:51 | sigq: | Title: pkg-gdal-ecw - OSGeo4W - Trac ( at trac.osgeo.org ) |
| 00:35:41 | arkygeek: | timlinux: hi again. so, wrt the raster preview.... it is making my project take about 50 minutes to open :-P |
| 00:35:52 | arkygeek: | is there a way to shut it off? |
| 00:58:17 | timlinux: | arkygeek: whats wrong with waiting 50mins to wait for your project to open? |
| 00:59:03 | arkygeek: | heh |
| 00:59:12 | arkygeek: | nothing. just saying.... ;- ) |
| 01:00:12 | CIA-53: | mhugent * r10561 /trunk/qgis/src/core/CMakeLists.txt: Add vector overlay classes to include headers |
| 01:00:14 | sigq: | tracfeed: Changeset [10561]: Add vector overlay classes to include headers <https://trac.osgeo.org/qgis/changeset/10561> |
| 01:32:20 | arkygeek: | timlinux: is there any way for me to speed this process up? |
| 01:34:53 | timlinux: | jef: I think the osgeo4w installer is a little broken |
| 01:35:12 | timlinux: | I did a download only update |
| 01:35:12 | jef: | timlinux: becausE? |
| 01:35:17 | timlinux: | it fetched new grass etc |
| 01:35:27 | timlinux: | then I did an install from local dir |
| 01:35:37 | timlinux: | but it didnt install any new stuff |
| 01:36:07 | timlinux: | the expected behaviour should be for it to update in that case right? |
| 01:37:30 | jef: | timlinux: yes, afaik there is a problem with install from local dir |
| 01:38:03 | timlinux: | arkygeek: even with very large datasets I dont wait that long for the preview to generate |
| 01:38:25 | arkygeek: | timlinux: i have 216 rasters |
| 01:38:58 | arkygeek: | timlinux: all of the binary variety ( produced with LA ) |
| 01:39:13 | timlinux: | for the same aoi? |
| 01:39:39 | arkygeek: | they used to open really fast, but they weren't showing the transparency settings. Now, it goes through and renders each one every time i open the project. |
| 01:39:49 | arkygeek: | yes |
| 01:40:08 | timlinux: | jef: what should I do? redownload and do install from the internet? |
| 01:40:26 | arkygeek: | 108 variations of input variables, and of course there are two maps for each scenario ( one for grazing land, one for crop land ) |
| 01:40:40 | timlinux: | jef ah |
| 01:40:41 | jef: | timlinux: install from internet and use the stuff you already downloaded. |
| 01:40:54 | timlinux: | if I say install from the internet it picks up the cached stuff |
| 01:41:00 | timlinux: | cool |
| 01:41:11 | timlinux: | just a bit of a multistep process |
| 01:41:13 | timlinux: | but it works |
| 01:41:13 | jef: | timlinux: yes. just like last time ; ) |
| 01:41:22 | timlinux: | jef my memory is short :- ) |
| 01:41:27 | arkygeek: | timlinux: also, I have been complaining about really slow grass on osx ( compared to linux ) .... could this be related? |
| 01:41:41 | arkygeek: | timlinux: as all of these rasters are grass rasters |
| 01:41:48 | timlinux: | I remember we discussed it but when we did it was not even fetching any updates when I did download only |
| 01:41:58 | timlinux: | arkygeek: it could be |
| 01:42:09 | timlinux: | arkygeek: I suggest to use the 6.3 stable grass |
| 01:42:13 | arkygeek: | timlinux: does your code use grass 'anything' ? |
| 01:42:26 | timlinux: | which code? |
| 01:42:31 | arkygeek: | for the raster preview |
| 01:42:52 | timlinux: | it uses the gdal-grass driver |
| 01:42:57 | arkygeek: | it is the raster preview that is taking the project 50 minutes ( or more maybe ) to open |
| 01:43:18 | timlinux: | arkygeek: I'm guessing that its computing stats for the raster |
| 01:43:31 | arkygeek: | probably... that takes forever in LA as well |
| 01:44:47 | timlinux: | I dont have a quick & easy solution for that |
| 01:45:26 | timlinux: | the 6.4 grass will let you use non grass rasters directly |
| 01:45:30 | arkygeek: | oops just crashed qgis |
| 01:45:33 | timlinux: | maybe in 6.3 already |
| 01:45:39 | timlinux: | arkygeek: impossible |
| 01:45:47 | arkygeek: | closed the grass mapset and saved project |
| 01:45:50 | arkygeek: | hehe |
| 01:46:50 | arkygeek: | i thought if the mapset was closed it might load faster. but it doesn't. |
| 01:47:02 | arkygeek: | crap. now i have to wait an hour again for it to open :s |
| 01:47:35 | arkygeek: | what do you mean "the 6.4 grass will let you use non grass rasters directly" ? |
| 01:51:27 | timlinux: | arkygeek: r.ext |
| 01:51:33 | timlinux: | I think its called |
| 01:51:49 | timlinux: | you dont need to import them into your mapset |
| 01:55:04 | : | * arkygeek is confused... |
| 01:55:42 | arkygeek: | this is exactly what has happened. |
| 01:56:22 | arkygeek: | nm |
| 01:56:42 | arkygeek: | i just made all of the binary rasters 1's and null values |
| 01:56:56 | arkygeek: | i will remove the transparency settings and see if that helps |
| 02:15:07 | : | * timlinux wonders if it is allowed to redistribute the ecw dlls with qgis |
| 02:36:07 | : | * timlinux tries to understand the ERMapper ecw eula |
| 02:36:18 | : | * timlinux forgot his greek dictionary at home |
| 04:50:26 | CIA-53: | wonder * r10562 /trunk/qgis/cmake/FindGEOS.cmake: |
| 04:50:26 | CIA-53: | For 1.1 release we need geos 3.0.0 or later so make sure the user has it. |
| 04:50:26 | CIA-53: | GEOS 3 is required by PAL, simplify method of QgsGeometry and probably also spatialite. |
| 04:51:33 | doktoreas: | macho, ping |
| 06:38:12 | cfarmer: | Does anyone else get their password displayed when viewing the metadata tab of a postgis layer? |
| 06:38:43 | cfarmer: | this is with the very latest trunk... |
| 06:52:07 | CIA-53: | jef * r10563 /trunk/qgis/src/core/qgsdatasourceuri.cpp: fix QgsDataSourceUri::publicSource( ) for postgres provider layers |
| 06:52:09 | jef: | cfarmer: nope ; ) |
| 06:52:09 | sigq: | tracfeed: Changeset [10563]: fix QgsDataSourceUri::publicSource( ) for postgres provider layers <https://trac.osgeo.org/qgis/changeset/10563> |
| 07:30:38 | jctull: | hi all |
| 07:33:45 | cgs_bob_: | hello jctull. did you get good snow up your way? : ) |
| 07:34:02 | jctull: | not here in town this time |
| 07:34:27 | jctull: | I was out in the Black Rock with the family for a few nights; looks like coming back a day early was a good decision! |
| 07:35:26 | jctull: | cgs_bob_: was there a lot of rain your way? |
| 07:37:14 | cgs_bob_: | there was a lot of rain so I figured there was a lot of snow in the mountains. |
| 07:37:36 | cgs_bob_: | so what have you been up to lately? |
| 07:39:11 | jctull: | much of the same, but working more broadly on wildlife conservation in NV |
| 07:43:10 | jctull: | jef: ping |
| 07:43:19 | jef: | jctull: pong |
| 07:43:38 | jctull: | would you have any clue about this build failure on OS X: |
| 07:43:47 | jctull: | http://rafb.net/p/if6gmW18.html |
| 07:43:48 | sigq: | Title: Nopaste - No description ( at rafb.net ) |
| 07:48:48 | jef: | jctull: 1.1.0-Pan\ ( Unstable ) needs to be quoted. |
| 07:49:17 | jctull: | Hmmm. I wondered about that backslash ( also ) |
| 07:49:34 | jef: | jctull: is that using xcode? |
| 07:50:38 | jctull: | cmake |
| 07:51:18 | jef: | jctull: right, either quoted or escaped with backslash. ie "1.1.0-Pan ( Unstable )" or 1.1.0-Pan\ \( Unstable\ ) |
| 07:52:01 | jctull: | I'm trying to find the file to edit... |
| 07:53:57 | jctull: | where is that -D setting being called from? |
| 07:54:09 | jef: | src/mac/Contents/CMakeLists.txt |
| 07:54:57 | jctull: | "-D CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}" |
| 07:55:33 | jctull: | I'm not sure where that variable is being passed in from |
| 07:56:05 | jef: | jctull: try that http://rafb.net/p/CQXvQO96.html |
| 07:56:06 | sigq: | Title: Nopaste - No description ( at rafb.net ) |
| 07:57:54 | jctull: | give me 5 to rebuild |
| 08:07:47 | jef: | jctull: ok, 9 passed ; ) how is it? |
| 08:08:18 | jctull: | same error. I think I need to do a deep clean on the build... 5 more |
| 08:09:14 | jctull: | I deleted the build directory and am trying again. The patch applied fine, so... |
| 08:09:45 | jctull: | Ack, I can't use -j4 in make without getting an error. different issue |
| 08:10:02 | jctull: | -j2 seems to work |
| 08:11:52 | jctull: | failed with -j2 also... |
| 08:16:30 | jctull: | jef: same error I'm afraid. |
| 08:17:12 | jctull: | "-D VERSION=1.1.0-Pan\ ( Unstable )" is in the error |
| 08:27:12 | springmeyer: | via the python bindings, how can one access the styles/symbology of a layer? |
| 08:27:55 | springmeyer: | I see a bunch of symbology methods on the QgisVectorLayer object, but they seem to need a 'node'? |
| 08:28:37 | springmeyer: | seems they read and write styles from xml - am I wrong to assume you can get at the symbology for a given layer as objects? |
| 08:29:18 | jef: | springmeyer: QgsVectorLayer ; ) get the renderer( ) |
| 08:29:58 | springmeyer: | ah brilliant, there we go. renderer.symbols( ) |
| 08:30:05 | springmeyer: | thx jef |
| 08:30:30 | jef: | np |
| 08:30:33 | : | * timlinux wonders if springmeyer is cooking up some super duper mapnick integration |
| 08:31:03 | springmeyer: | giving it a few thoughts this morning ya : ) |
| 08:31:58 | springmeyer: | what is the easiest way to get a full list of the providers by name? |
| 08:32:10 | springmeyer: | docs? or printing some object? |
| 08:32:34 | jef: | QgsProviderRegistry? |
| 08:32:37 | jctull: | jef: any other ideas for me to try? |
| 08:33:29 | jef: | jctull: quotes. either in the set or in custom target. with or without backslashes. |
| 08:33:29 | timlinux: | springmeyer: the provider registry should do that for you |
| 08:33:54 | springmeyer: | got it : ) |
| 08:34:12 | springmeyer: | ah nice and short |
| 08:34:16 | jctull: | I'm still unclear where the variable is being defined |
| 08:34:28 | timlinux: | springmeyer: see qgsabout.cpp for an example |
| 08:35:16 | jctull: | this variable: COMPLETE_VERSION_WITH_RELEASE_NAME |
| 08:35:40 | jef: | jctull: huh? COMPLETE_VERSION is 1.1.0 and RELEASE_NAME is Pan ( unstable ) |
| 08:36:16 | jctull: | bear with me... I'll mess around with that CMakeLists file |
| 08:36:21 | springmeyer: | whats the right/best way to raise an error/exception via a python plugin? |
| 08:37:55 | jef: | cfarmer? |
| 08:38:02 | cfarmer: | springmeyer: a python exception? |
| 08:38:09 | cfarmer: | yes jef? |
| 08:38:33 | cfarmer: | jef: or were you referring to the python exception question? |
| 08:38:48 | jef: | cfarmer: yes. |
| 08:39:02 | springmeyer: | cfarmer: oh, okay I guess I assumed some more user friendly message box thingy |
| 08:39:22 | springmeyer: | without the traceback, but thats cool for me |
| 08:39:29 | springmeyer: | thx |
| 08:40:19 | cfarmer: | I often catch the exception, and simply display the error with a QMessageBox.information or error |
| 08:40:36 | springmeyer: | great. okay |
| 08:41:18 | : | * cfarmer is going to start his marathon training today... wish him luck ;-p |
| 08:41:35 | jctull: | timlinux: did you get that post about the ugly splash image? |
| 08:41:41 | cfarmer: | later all! |
| 08:41:53 | timlinux: | jctull: ya |
| 08:41:55 | timlinux: | will fix |
| 08:42:01 | timlinux: | the lines around it anyway |
| 08:42:14 | timlinux: | the black is beautiful :- ) |
| 08:42:20 | jctull: | I knew you wanted an excuse for some more gimp experience |
| 08:42:38 | timlinux: | :- ) |
| 08:42:41 | jctull: | oh yeah, not worried about the color scheme ; ) |
| 08:42:52 | jctull: | only the outline stuff |
| 08:44:35 | jctull: | jef: where is the release name set in the source files? |
| 08:44:53 | jef: | jctull: toplevel CMakeLists.txt |
| 08:45:02 | jctull: | ok, thanks |
| 08:45:31 | hdus: | timlinux: The splash image looks a little like a funeral home. |
| 08:45:46 | hdus: | ;- ) |
| 08:46:04 | jctull: | qgis - the mortuary for shapefiles? |
| 08:46:36 | hdus: | qgis - the mortuary for arcgis |
| 08:46:49 | hdus: | :-D |
| 08:47:08 | jctull: | better, yes |
| 08:47:34 | hdus: | utopia?? |
| 08:47:39 | timlinux: | hdus: funeral homes need foss gis too :- ) |
| 08:47:58 | timlinux: | hdus: did you see your bug has a new home |
| 08:48:26 | : | * timlinux is going to namibia tomorrow and wondering if he should go an check it out again and take it travelling |
| 08:48:31 | jctull: | jef: and timlinux: Do we need a different naming scheme, or is there a way to escape out the odd characters for mac? I'm clueless on how cmake can or cannot handle this |
| 08:48:50 | timlinux: | which chars in pan are odd? |
| 08:48:58 | hdus: | timlinux: Yes I got a message today! Great I hope it will start a great journey. |
| 08:49:11 | jctull: | Pan ( Unstable ) |
| 08:49:20 | jctull: | space and parens |
| 08:49:42 | jctull: | choke the mac http://rafb.net/p/if6gmW18.html |
| 08:49:43 | sigq: | Title: Nopaste - No description ( at rafb.net ) |
| 08:50:03 | jef: | just the parens. the blank gets escaped |
| 08:50:14 | jctull: | I would suggest "Pan Unstable" perhaps |
| 08:50:40 | jef: | jctull: did you try quoting? |
| 08:50:54 | jctull: | quoting it twice? |
| 08:51:22 | jctull: | SET( RELEASE_NAME "Pan Unstable" ) --> SET( RELEASE_NAME "'Pan Unstable'" )? |
| 08:51:35 | jctull: | sorry Pan ( Unstable ) in above |
| 08:51:49 | jef: | jctull: not there. in mac..somewhere...CMakeLists.txt |
| 08:52:21 | jctull: | jef: I haven't a clue on how to get that done |
| 08:52:56 | jef: | jctull: SET( COMPLETE_VERSION_WITH_RELEASE_NAME "${COMPLETE_VERSION}-${RELEASE_NAME}" ) |
| 08:53:06 | jef: | jctull: or SET( COMPLETE_VERSION_WITH_RELEASE_NAME \"${COMPLETE_VERSION}-${RELEASE_NAME}\" ) |
| 08:53:12 | jef: | jctull: or even SET( COMPLETE_VERSION_WITH_RELEASE_NAME "\"${COMPLETE_VERSION}-${RELEASE_NAME}\"" ) |
| 08:53:25 | jctull: | I'll try those |
| 08:54:05 | jef: | jctull: or -D VERSION="${COMPLETE_VERSION_WITH_RELEASE_NAME} |
| 08:54:05 | jef: | " |
| 08:54:20 | jctull: | trying the second one first |
| 08:54:21 | jef: | w/o the newline. |
| 08:55:55 | hdus: | Today I uploaded a new version of the PostGIS Query Editor. Now it i spossible to execute only selected parts of a query. |
| 08:56:27 | hdus: | I would appreciate any comments. |
| 09:00:36 | CIA-53: | timlinux * r10564 /trunk/qgis/images/splash/ ( splash.png splash.xcf.bz2 ): I hope everybody likes green |
| 09:00:37 | sigq: | tracfeed: Changeset [10564]: I hope everybody likes green <https://trac.osgeo.org/qgis/changeset/10564> |
| 09:02:10 | jctull: | SET( COMPLETE_VERSION_WITH_RELEASE_NAME "${COMPLETE_VERSION}-${RELEASE_NAME}" ) |
| 09:02:11 | jctull: | works |
| 09:04:18 | jctull: | jef: sorry, I copied the wrong one. Let me post the diff |
| 09:06:29 | jctull: | jef: here is the working diff: http://rafb.net/p/pX9jgu72.html |
| 09:06:30 | sigq: | Title: Nopaste - No description ( at rafb.net ) |
| 09:06:39 | jctull: | Thanks! |
| 09:06:57 | hdus: | timlinux: Ahh... the new splash image looks much more friedly. |
| 09:07:09 | hdus: | friendly |
| 09:08:03 | jctull: | I will miss the goth look |
| 09:10:07 | timlinux: | hdus glad you like it |
| 09:10:16 | springmeyer: | the int return code for QgsSymbol types? how can I figure out what maps to what type of symbol type? |
| 09:10:20 | timlinux: | still has the blurry pan thing going on....but pan is just like that |
| 09:10:39 | springmeyer: | or should I be doing renderer.name( ) == 'Graduated..' etc... |
| 09:10:56 | springmeyer: | rather than renderer.symbols[0].type( ) == 'something' |
| 09:17:11 | springmeyer: | getting python crashes when asking for a field name from a provider layer and calling str( ) on it to pull the value out of a QString |
| 09:17:14 | springmeyer: | fyi: http://dpaste.com/33349/ |
| 09:17:15 | sigq: | Title: dpaste: #33349 ( at dpaste.com ) |
| 09:19:32 | CIA-53: | jef * r10565 /trunk/qgis/src/mac/Contents/CMakeLists.txt: fix build problem on mac |
| 09:20:05 | jef: | jctull: thx |
| 09:20:06 | sigq: | tracfeed: Changeset [10565]: fix build problem on mac <https://trac.osgeo.org/qgis/changeset/10565> |
| 09:21:53 | jctull: | I'm testing now to 2x-check |
| 09:22:39 | : | * jctull wonders why jobs settings in make ( -jx ) are causing build failures |
| 09:22:53 | jctull: | anyone else? |
| 09:35:12 | timlinux: | springmeyer: dont the python bindings seamlessly convert to str( ) |
| 09:36:09 | springmeyer: | well, perhaps in some ways : ) |
| 09:36:27 | springmeyer: | like if you print s it does not print <QString....> |
| 09:36:36 | jctull: | jef: verified the changeset on OS X, cheers |
| 09:36:37 | springmeyer: | but the objects are QStrings not str |
| 09:46:52 | timlinux: | springmeyer: ah |
| 09:47:07 | springmeyer: | ya, and I it should be that way |
| 09:47:13 | timlinux: | I though I read in a universe far away that sip converted for you |
| 09:47:18 | springmeyer: | perhaps a PyQt bug |
| 09:50:29 | : | * timlinux has to run off home - cheers all |
| 10:27:44 | wildintellect: | springmeyer, there's several examples of catching errors and a popup box with them in my metaedit plugin |
| 10:28:13 | springmeyer: | cool, thx |
| 10:28:19 | wildintellect: | I also have examples of how to get a str out of a QString |
| 10:28:33 | wildintellect: | that was a pain to figure out |
| 10:28:55 | springmeyer: | oh, something more fancy than str( QString ) ? : ) |
| 10:29:15 | springmeyer: | where does this metaedit live? |
| 10:29:29 | wildintellect: | it's in the contributed repo |
| 10:29:55 | wildintellect: | or you can svn check from http://apps.sourceforge.net/trac/qgismetaedit/ |
| 10:29:56 | sigq: | Title: qgismetaedit ( at apps.sourceforge.net ) |
| 10:31:20 | wildintellect: | I think this shows what you want http://apps.sourceforge.net/trac/qgismetaedit/browser/trunk/metaeditTool.py |
| 10:31:22 | sigq: | Title: /trunk/metaeditTool.py – qgismetaedit ( at apps.sourceforge.net ) |
| 10:31:48 | wildintellect: | I made an attempt to put try/except clauses in ever function |
| 10:32:54 | springmeyer: | okay, bookmarked |
| 10:33:02 | springmeyer: | btw, what does metaedit do? |
| 10:33:11 | springmeyer: | edit meta? : ) |
| 10:33:13 | springmeyer: | ( data ) |
| 10:33:16 | wildintellect: | yes |
| 10:33:21 | springmeyer: | nice |
| 10:33:25 | wildintellect: | at least thats the goal |
| 10:33:31 | wildintellect: | it's just a reader right now |
| 10:33:37 | wildintellect: | and it chokes on non-ascii |
| 10:33:52 | wildintellect: | I'm looking at changing the xml parser to Elementtree this week |
| 10:34:09 | wildintellect: | which would add saving edits and handle characters better |
| 10:34:23 | wildintellect: | or so I hopt |
| 10:34:25 | wildintellect: | hope |
| 10:34:54 | wildintellect: | it's tough, the code was a group project with 4 people, but I'm probably the only one who will continue working on it |
| 10:36:27 | springmeyer: | gocha |
| 10:36:44 | : | * springmeyer does not enjoy parsing xml |
| 10:36:59 | springmeyer: | elementree makes it nicer |
| 10:41:11 | wildintellect: | I would like to use lxml, but that doesn't ship with python and I don't want to add an install dependency |
| 10:42:42 | springmeyer: | ya, lxml has caused me grief in the past |
| 10:42:57 | springmeyer: | having to compile against a c lib can be trouble |
| 10:43:21 | springmeyer: | wildintellect: stupid one: |
| 10:43:30 | springmeyer: | how can I get the map projection? |
| 10:43:57 | springmeyer: | srs( ) is a method of each layer clearly |
| 10:44:10 | springmeyer: | from the console: |
| 10:44:33 | springmeyer: | >>> m = iface.mapCanvas( ) |
| 10:44:39 | springmeyer: | m.srs( ) ??? |
| 10:47:18 | wildintellect: | you know I haven't tried, but I bet I know where to get an example |
| 10:47:24 | springmeyer: | aha, sneeky sneeky |
| 10:47:25 | springmeyer: | m.mapRenderer( ).destinationSrs( ).toProj4( ) |
| 10:49:37 | wildintellect: | oh, silly I was looking at the layer projection |
| 10:49:48 | wildintellect: | destLayer.dataProvider( ).crs( ) or destlayer.srs( ) |
| 10:50:43 | springmeyer: | so wildintellect: what was your approach to converting to strings? |
| 10:50:55 | springmeyer: | str( m.mapRenderer( ).destinationSrs( ).toProj4( ) ) : ) ? |
| 10:50:59 | wildintellect: | str( QString ) |
| 10:51:14 | springmeyer: | right, so nothing more? |
| 10:51:22 | wildintellect: | nope that's it |
| 10:51:31 | springmeyer: | I'm getting crashes on mac os with that just about every other time |
| 10:51:46 | springmeyer: | I'm thinking its a unicode conversion thing |
| 10:53:40 | wildintellect: | hmm, what happens if you store the variable 1st and then try to print or convert |
| 10:54:30 | springmeyer: | ya, thats what I'm doing |
| 10:56:03 | wildintellect: | are you sure it's a QString |
| 10:56:38 | wildintellect: | does print m.mapRenderer( ).destinationSrs( ).toProj4( ) give a <QString... |
| 10:57:08 | springmeyer: | well, in the python console, no, it just prints the actual string |
| 10:57:19 | springmeyer: | which is what print is supposed to do AFAIK |
| 10:58:20 | wildintellect: | hmm |
| 10:58:38 | springmeyer: | it may also be a python console thing too |
| 10:58:47 | wildintellect: | maybe |
| 10:58:54 | springmeyer: | I guess I've give the pdb/pyExecHook thing another try |
| 10:59:10 | wildintellect: | I did figure out how to do interactive debugging using SPE and winpdb |
| 10:59:18 | springmeyer: | that was not working previously... just kept looping till it crashes |
| 10:59:34 | wildintellect: | I really should write it up |
| 10:59:51 | springmeyer: | windows only? |
| 11:00:18 | wildintellect: | no I use it on linux |
| 11:00:25 | wildintellect: | the name is misleading |
| 11:00:38 | wildintellect: | it's written entirely in python as far as I know |
| 11:00:52 | springmeyer: | oh, I was scared off by the name : ) |
| 11:01:53 | wildintellect: | http://pythonide.blogspot.com/2007/02/how-to-download-latest-spe-from_26.html |
| 11:01:54 | sigq: | Title: SPE IDE - Stani's Python Editor: How to download the latest SPE from subversion ( at pythonide.blogspot.com ) |
| 11:03:45 | wildintellect: | the trick is you have to put - import rpdb2; rpdb2.start_embedded_debugger( "pick a password" ) |
| 11:03:54 | wildintellect: | in order for the debugger to be able to attach |
| 11:05:43 | wildintellect: | springmeyer, fyi str( m.mapRenderer( ).destinationSrs( ).toProj4( ) ) works fine on linux |
| 11:05:51 | wildintellect: | in console |
| 11:05:58 | springmeyer: | great, thanks for checking |
| 11:58:42 | : | * racicot is interested what springmeyer is doing in the depths of qgis python bindings... |
| 12:15:39 | wildintellect: | racicot, we think we've convinced springmeyer to integrate mapnik possibly as an alternate renderer, or to make mapnik files for generating maps |
| 12:16:01 | racicot: | ;- ) |
| 12:16:04 | racicot: | coolio |
| 12:29:34 | jctull: | springmeyer: I'd be real interested in this also. I think the map composer has come a long way, but labels are still a serious issue. |
| 12:58:31 | epifanio: | hi all, is the barry's plug-in repository no longer avaiable ? |
| 13:44:53 | springmeyer: | hey racicot - ya the depths are powerful but not yet pretty : ) |
| 13:45:32 | springmeyer: | wildintellect: ya I'm actually approaching it that way ( at this point )... |
| 13:45:49 | springmeyer: | as a renderer plugin rather than a converter of the XML file |
| 13:46:28 | springmeyer: | so I've got a button you hit and it will pop open the mapnik equivalent graphic, in terms of size, background color, layers, symbology, labels, etc |
| 13:46:38 | springmeyer: | no config options at this point |
| 13:47:17 | racicot: | springmeyer: and are you actually rendering? |
| 13:48:00 | springmeyer: | jctull: don't get your hopes up. Mapnik can do nice labels but mainly through lots of subtle configuration options that would be tricky to expose in a plugin |
| 13:48:47 | springmeyer: | racicot: ya, right now not on the QgsCanvas or anything, but that could come |
| 13:48:54 | jctull: | springmeyer: hmmm, and it sounds like PAL is not as promising as once believed. |
| 13:49:12 | springmeyer: | jctull: shoot |
| 13:49:14 | racicot: | cool... we should talk about that tomorrow when I see you... |
| 13:49:15 | jctull: | epifanio: the repo is down until Thursday |
| 13:49:37 | springmeyer: | racicot: did I understand you right? : ) |
| 13:49:44 | jctull: | springmeyer: that was my understanding from a quick perusal of a logged conversation from tim and someone last week. |
| 13:49:45 | epifanio: | thanks jctull ! |
| 13:50:09 | springmeyer: | jctull: may have been me and Tim : ) |
| 13:50:15 | racicot: | springmeyer: yes, I am just curious how far along you are and how I might help ;- ) |
| 13:50:17 | jctull: | probably |
| 13:50:28 | springmeyer: | I think he said PAL helps with collision avoidance but not things such as labeling curved paths |
| 13:50:41 | springmeyer: | racicot: okay, coolio |
| 13:51:09 | springmeyer: | so far I've got labeling going, supporting halos( buffers ) size, color |
| 13:51:19 | jctull: | what's with all the coolio? |
| 13:51:20 | jctull: | http://en.wikipedia.org/wiki/Coolio |
| 13:51:21 | sigq: | Title: Coolio - Wikipedia, the free encyclopedia ( at en.wikipedia.org ) |
| 13:51:23 | springmeyer: | but not font type |
| 13:51:42 | springmeyer: | and not yet scale dependency, that will be fun : ) |
| 13:52:19 | springmeyer: | and I've got single symbol and Graduated Symbol done |
| 13:52:35 | springmeyer: | only going for vector data right now |
| 13:53:17 | springmeyer: | so, multiline labels in qgis? |
| 13:53:56 | springmeyer: | how does QGis know when to wrap the text? between every word? or after N number of characters? |
| 13:58:24 | springmeyer: | wow. having to set 'outline style' to 'no pen' to get no outlines is kinda bizarre |
| 13:58:41 | springmeyer: | even when 'outline width' is 0.0, huh |
| 14:12:32 | jctull: | springmeyer: is it with a newline character? |
| 14:13:21 | springmeyer: | jctull: I have no idea - do you think thats how it works? looks for '\n' in the data itselt? |
| 14:13:42 | jctull: | I'm checking the docs : ) |
| 14:13:52 | springmeyer: | mapnik has a 'wrap_width' parameter that finds the word break nearest to the value you specify |
| 14:14:02 | springmeyer: | and makes it into a line break |
| 14:14:35 | jctull: | ok, not in the 1.0.0 manual, so I don't know |
| 14:14:45 | jctull: | I think it must be... let me test on something |
| 14:16:55 | jctull: | nope, not \n |
| 14:17:53 | jctull: | not on a mac anyway |
| 14:18:44 | springmeyer: | okay, thx for testing! |
| 14:23:34 | jctull: | http://logs.qgis.org/slogs/%23qgis.2008-07-10.log |
| 14:23:35 | sigq: | Title: IRC Log - #QGIS ( at logs.qgis.org ) |
| 14:32:14 | springmeyer: | hey guys: okay trying to pull myself away from this plugin |
| 14:32:52 | springmeyer: | a few examples from a one day of progress |
| 14:32:57 | springmeyer: | http://danespringmeyer.com/mapnik_renderer1.png |
| 14:33:06 | springmeyer: | http://danespringmeyer.com/mapnik_renderer2.png |
| 14:35:10 | epifanio: | the're so nice! i like how mapnic renders the label |
| 14:35:21 | epifanio: | hi springmeyer ;- ) |
| 14:36:56 | jctull: | springmeyer: so collision detection exists in mapnik |
| 14:40:04 | springmeyer: | hey epifanio |
| 14:40:05 | wildint: | I'm excited those look good |
| 14:40:17 | springmeyer: | ya, collision detection is core |
| 14:40:41 | springmeyer: | with lots of subtle options like pixel space between repeated labels along lines |
| 14:40:56 | springmeyer: | min/max pixel distances between repeated labels |
| 14:41:06 | jctull: | springmeyer: that is a nice addition for sure. Major problem with current map output. |
| 14:41:14 | springmeyer: | lots of stuff that will make your labels dissapear : ) |
| 14:41:20 | springmeyer: | if you have too many |
| 14:41:22 | jctull: | Can you get a labeled grid on your map borders? |
| 14:41:50 | jctull: | springmeyer: so it will thin labels when too dense, like mapserver |
| 14:41:51 | springmeyer: | you'd have to generate a dataset of graticules |
| 14:42:36 | springmeyer: | mapnik is just a a rendering library, all the carto surround stuff, neatlines, scalebars, etc is left to the client app |
| 14:42:57 | springmeyer: | cool, got reprojection working! |
| 14:43:07 | jctull: | good job |
| 14:47:59 | springmeyer: | got the bonne ( world heart projection ) going to confirm custom crs strings work: |
| 14:48:00 | springmeyer: | http://danespringmeyer.com/bonne_custom_crs.png |
| 14:50:04 | jctull: | springmeyer: very nice |