#mapnik log: Tuesday 07, April 2009

2009 | 04

previous | next
00:30:37 *** ortelius (n=chatzill@ip72-197-145-158.sd.sd.cox.net) has joined #mapnik
00:31:29 <ortelius> Hi All, any reason that I should be having trouble rendering MultiGeometries from PostGIS? I am using the multiple_geometries=true option
03:40:10 <nikq> Mapnik Trac: Nik2Img edited | http://trac.mapnik.org/wiki/Nik2Img?version=9
04:16:10 *** ortelius has quit ("ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]")
04:29:51 *** aura (n=wolf@cpe-67-49-133-78.hawaii.res.rr.com) has joined #mapnik
04:47:28 *** w0lfie_ has quit (Read error: 110 (Connection timed out))
05:32:33 *** rcoup_ has quit ()
05:50:19 *** weizhuo has quit (Read error: 104 (Connection reset by peer))
06:47:09 *** xcacou (n=aga@AToulouse-157-1-107-221.w86-221.abo.wanadoo.fr) has joined #mapnik
07:07:42 *** xcacou has quit (Remote closed the connection)
07:08:35 *** xcacou (n=aga@AToulouse-157-1-107-221.w86-221.abo.wanadoo.fr) has joined #mapnik
07:19:56 *** smika (n=smika@212.247.2.147) has joined #mapnik
08:10:35 *** scruggs has quit (Read error: 113 (No route to host))
08:36:55 *** __d3f0__ (n=defo@190.176.194.79) has joined #mapnik
08:45:25 *** __d3f0__ has quit (Read error: 104 (Connection reset by peer))
08:49:11 *** scruggs (n=chris@72-161-111-76.dyn.centurytel.net) has joined #mapnik
09:48:59 *** aura is now known as w0lfie_
10:03:10 *** johto (i=rnn@emdia.fi) has joined #mapnik
10:41:35 *** rcoup (n=rcoup@ip-118-90-56-192.xdsl.xnet.co.nz) has joined #mapnik
12:10:19 *** rcoup has quit ()
13:14:34 *** sanjiv (n=chatzill@59.180.153.22) has joined #mapnik
13:18:21 *** sanjiv has quit (Client Quit)
13:19:09 *** sanjiv (n=sanjiv@59.180.153.22) has joined #mapnik
13:22:25 *** ajturner (n=ajturner@209.155.228.129) has joined #mapnik
14:06:23 *** sanjiv has quit (Read error: 110 (Connection timed out))
14:07:36 *** sanjiv (n=sanjiv@59.180.136.6) has joined #mapnik
15:23:57 *** smika has quit ("Lost terminal")
15:24:11 *** springmeyer (n=dane@c-24-19-50-92.hsd1.wa.comcast.net) has joined #mapnik
15:38:14 <nikq> Mapnik Trac: Ticket #273 (compiler warnings on os x after r1043) reopened | http://trac.mapnik.org/ticket/273#comment:5
15:43:22 *** xcacou has quit (Remote closed the connection)
15:48:53 <nikq> Mapnik Trac: Changeset [1078]: allow customization of JPEG output image quality using syntax similar to  ... | http://trac.mapnik.org/changeset/1078
15:49:26 <johto> man that scons thing is broken
15:50:15 <springmeyer> johto: what do you mean?
15:51:25 <johto> ignores my command line parametres, fails at install etc
15:51:56 <johto> that's not too bad, but it's so closed and big I couldn't fix it myself
15:52:17 <springmeyer> do you have an example of an error?
15:52:58 <johto> not anymore, no. copied everything manually
15:53:36 <johto> other than that, mapnik seems to be a really nice piece of software
15:54:22 <springmeyer> johto: 'copied everything manually' ?
15:54:40 <johto> springmeyer; yes. with cp, mv, mkdir etc
15:54:43 <springmeyer> johto: seriously I'd like to know the problem you experienced
15:55:16 <johto> springmeyer; I can try to reproduce it later today
15:55:21 <springmeyer> johto: I've never heard of that beind needed and that sounds pretty difficult to do correctly
15:55:38 <springmeyer> what operating system?
15:55:44 <springmeyer> what mapnik version?
15:56:14 <johto> springmeyer; 64-bit fedora, mapnik from svn. I only copied libmapnik.so and made some symlinks and copied input plugins and fonts to /usr/local/lib/mapnik
15:57:33 <springmeyer> okay, and its working you think now?
15:57:52 <johto> at least the demo/C++/rundemo worked, yes
15:58:56 <nikq> Mapnik Trac: Ticket #295 (Adjacent (gdal) rasters alignment) updated | http://trac.mapnik.org/ticket/295#comment:2
15:59:14 <springmeyer> right on
15:59:44 <springmeyer> well if you can generate some error out of SCons please http://dpaste.com them or if you think it is a bug file at trac
16:23:40 <_Dennis_> ah, nice to see, that my jpeg quality patch made it into trunk
16:25:32 <springmeyer> yes, thanks for the patch!
16:26:07 <_Dennis_> you are welcome
16:26:42 <johto> btw. there's a typo in your topic
16:26:59 <springmeyer> hah, nice catch
16:28:10 *** springmeyer changed the topic to: "Mapnik - C++/Python Toolkit | New Release: 0.6.0 - http://mapnik.org/news"
16:33:08 <nikq> Mapnik Trac: raster_align2.diff attached to Ticket #295 | http://trac.mapnik.org/attachment/ticket/295/raster_align2.diff
16:43:17 *** ortelius (n=chatzill@ip72-197-145-158.sd.sd.cox.net) has joined #mapnik
17:15:55 <nikq> Mapnik Trac: Ticket #296 (Ability to specify different geometry field) created | http://trac.mapnik.org/ticket/296
17:29:29 *** ortelius has quit ("ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]")
17:49:39 <nikq> Mapnik Trac: MapDesign edited | http://trac.mapnik.org/wiki/MapDesign?version=4
18:01:20 <nikq> Mapnik Trac: OutputFormats edited | http://trac.mapnik.org/wiki/OutputFormats?version=6
18:38:43 <nikq> Mapnik Trac: Ticket #112 (Support for Indic OpenType Font rendering with ICU 'Shaping') updated | http://trac.mapnik.org/ticket/112#comment:8
19:05:14 <nikq> Mapnik Trac: Ticket #296 (Ability to specify different geometry field) updated | http://trac.mapnik.org/ticket/296#comment:1
19:21:06 <CIA-6> mapnik-utils: dane.springmeyer * r632 /wiki/WmsInstallGuide.wiki: Edited wiki page through web user interface.
19:21:07 <CIA-6> mapnik-utils: dane.springmeyer * r633 /branches/nik2img/ (mapnik_utils/composer.py mapnik_utils/mapfile.py nik2img.py): Accept piped input as mapfile string, add back in more debugging, accept bbox and extent options as geographic and projected envelopes, respectively
19:35:14 <nikq> Mapnik Trac: Ticket #296 (Ability to specify different geometry field) updated | http://trac.mapnik.org/ticket/296#comment:2
19:56:52 *** dad6 (n=dad@190.80.176.151) has joined #mapnik
19:56:56 *** dad6 has quit (Client Quit)
20:02:58 <nikq> Mapnik Trac: Filter edited | http://trac.mapnik.org/wiki/Filter?version=6
20:06:27 *** sanjiv has quit (Read error: 110 (Connection timed out))
20:07:41 *** sanjiv (n=sanjiv@59.180.134.132) has joined #mapnik
20:14:01 *** artem (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik
20:23:41 *** scruggs has quit ("leaving")
20:48:29 *** sanjiv has quit ("ChatZilla 0.9.84 [Firefox 3.0.8/2009032711]")
21:15:14 *** rcoup (n=rcoup@ip-118-90-91-201.xdsl.xnet.co.nz) has joined #mapnik
21:20:06 <jbronn> dgouldin: committed fix in r10434; my bad on forgetting to include you in commit message
21:20:18 <jbronn> oh shit
21:20:47 <jbronn> wronge channel, nevermind
21:21:29 <springmeyer> geez jbronn: I was thinking: are we already up to r10434 with Mapnik - woow :)
21:21:29 <nikq> AttributeError: 'NoneType' object has no attribute 'group' (file "/home/nikq/phenny/modules/mapniktrac.py", line 46, in f_ol_changeset)
21:21:51 <springmeyer> nikq sayz no way jose
21:34:13 <springmeyer> artem: thanks for exposing the aspect_fix_mode stuff in python :)
21:34:16 *** rcoup has quit ()
21:34:58 <springmeyer> just came in super handy for a quick map going into a printed journal
21:35:14 <artem> springmeyer: cool
21:35:28 <springmeyer> I'd been meaning to ask you what the heck an enum would look like in python, and then you commited it :)
21:39:36 <artem> springmeyer: #295 patches look great to me.
21:39:37 <nikq> Ticket #295: Adjacent (gdal) rasters alignment, http://trac.mapnik.org/ticket/295
21:40:48 <springmeyer> awesome, thanks for looking
21:41:41 <springmeyer> artem: I've also got a patch working well for #147
21:41:42 <nikq> Ticket #147: Allow ability to read datasource paths relative to the xml during load_map(), http://trac.mapnik.org/ticket/147
21:42:09 <springmeyer> exposed both via load_map and as a setting in xml, so if either is set the paths are read relative to the xml location
21:42:20 <springmeyer> I just need to make it work for symbols
21:42:43 <springmeyer> artem: any thoughts on variable names? how you would prefer for it to work?
21:43:17 <artem> do you mean "relative_to_xml" ?
21:43:53 <springmeyer> ya, I mean that ticket
21:44:15 <springmeyer> hard to say it right though :)
21:44:31 <artem> naming ? or logic ?;)
21:44:43 <springmeyer> naming
21:44:52 <springmeyer> the path logic I've figured out :)
21:47:10 <artem>  hmm..  'relative_to_xml' - well it's descriptive enough I guess . Have you got any alternatives?
21:48:10 <nikq> Mapnik Trac: relative_to_xml_datasource_paths.patch attached to Ticket #147 | http://trac.mapnik.org/attachment/ticket/147/relative_to_xml_datasource_paths.patch
21:48:45 <springmeyer> no alternatives really :)
21:49:09 <springmeyer> I went with 'relative_to_xml' for python argument (but you don't really see it exposed of course)
21:49:10 <artem> springmeyer: directive in load_map is better than <Parameter>..</>  - less verbose :)
21:49:22 <springmeyer> and 'relative_paths' in xml
21:49:36 <artem> yep
21:50:15 <springmeyer> if figure the xml author knows whether the paths are relative not the person running the script...
21:50:28 <springmeyer> so having both options is useful (as long it is not confusing)
21:51:02 <springmeyer> the reason I'm hung up a bit on the naming is that  really what happends in the code is...
21:51:34 <springmeyer> __if__ the xml uses relative paths, then those relative paths are re-interpreted as relative __to__ the xml
21:51:47 <springmeyer> :)
21:52:23 <artem> makes sense
21:53:17 <springmeyer> k, thx
21:53:19 <springmeyer> I'll ask migurski too since this is one thing that css does by default and bugged him about the xml
21:54:00 <springmeyer> my goal here is to make packaging xml, with data right beside it, much much easier
21:54:47 <springmeyer> so say an sqlite.db can be portable with the xml without changing any xml paths
21:58:30 <artem> yes, this would be nice feature to have! Also packaging data/styles on cd/dvd etc
22:00:07 <nikq> Mapnik Trac: Ticket #147 (Allow ability to read datasource paths relative to the xml during  ...) updated | http://trac.mapnik.org/ticket/147#comment:3
22:00:42 <springmeyer> artem: I honestly wonder whether it should be the default setting at some point (as long as it works flawlessly)
22:01:29 <springmeyer> I've seen lots of new users run the 'rundemo.py' for example from a location other than the directory of the script and bomb it :)
22:01:45 * springmeyer wonders about drawbacks...
22:03:46 * springmeyer takes a call
22:05:41 *** artem_ (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik
22:06:49 <nikq> Mapnik Trac: Ticket #147 (Allow ability to read datasource paths relative to the xml during  ...) updated | http://trac.mapnik.org/ticket/147#comment:4
22:08:54 <artem_> springmeyer: I'm back. Yes, I can see this as a default option (relative paths)
22:10:10 <springmeyer> okay, cool
22:10:32 <springmeyer> comment on that ticket then if you see anything odd
22:10:47 <springmeyer> (my first time working with 'params' in c++)
22:12:58 <artem_> sure
22:17:08 *** artem has quit (Read error: 110 (Connection timed out))
22:36:58 *** artem_ has parted #mapnik ()
22:42:21 *** rcoup (n=rcoup@ip-58-28-159-166.static-xdsl.xnet.co.nz) has joined #mapnik
22:49:02 *** ortelius (n=chatzill@ip72-197-145-158.sd.sd.cox.net) has joined #mapnik
23:02:11 *** ajturner has quit ()
23:06:56 <nikq> Mapnik Trac: Changeset [1079]: Apply patch from Marcin to handle smooth transitions between raster layers  ... | http://trac.mapnik.org/changeset/1079
23:07:26 <nikq> Mapnik Trac: Ticket #295 (Adjacent (gdal) rasters alignment) closed | http://trac.mapnik.org/ticket/295#comment:3
23:16:28 *** artem (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik
23:17:59 <nikq> Mapnik Trac: Changeset [1080]: Add argument aliases to __init__ method for easier/more understandable  ... | http://trac.mapnik.org/changeset/1080
23:19:41 <nikq> Mapnik Trac: Ticket #29 (Add python docstrings to boost:python bindings) updated | http://trac.mapnik.org/ticket/29#comment:12
23:26:34 <nikq> Mapnik Trac: Changeset [1081]: We should actually use 'self' as the term for first argument/instance | http://trac.mapnik.org/changeset/1081