00:04:27 <cmarqu> Ah, qgis segfaults immediately after displaying the loading screen. 00:06:15 *** weizhuo (n=chatzill@nat/yahoo/x-7b744b1b4b4d1fd2) has joined #mapnik 00:30:34 *** springmeyer has quit () 01:14:42 *** ninja_ (n=pankur@nat/yahoo/x-9dab2f7ecba9c1b0) has joined #mapnik 02:07:00 *** D3f0 (n=defo@190.176.196.130) has joined #mapnik 04:32:18 *** rcoup has quit () 06:41:31 *** weizhuo has quit ("ChatZilla 0.9.84 [Firefox 2.0.0.20/2008121709]") 07:56:27 *** springmeyer (n=dane@c-24-19-50-92.hsd1.wa.comcast.net) has joined #mapnik 08:05:41 *** xcacou (n=aga@vel78-2-82-243-106-36.fbx.proxad.net) has joined #mapnik 08:55:56 *** ninja_ has quit () 09:57:44 *** rcoup (n=rcoup@ip-118-90-3-165.xdsl.xnet.co.nz) has joined #mapnik 11:24:38 *** rcoup has quit () 13:15:55 *** keroseno has parted #mapnik () 14:19:43 *** springmeyer changed the topic to: "Mapnik - C++/Python Mapping Toolkit | 0.6.0 is coming soon - http://trac.mapnik.org/milestone/0.6.0" 14:33:15 *** huats (n=chris@ubuntu/member/huats) has joined #mapnik 14:33:21 <huats> hey everyone 14:33:32 <huats> I am trying to build filters and rules using python 14:33:50 <huats> and I have lots of difficulties finding example how it works 14:34:06 <huats> (I have seen many example in xml but not in python) 14:34:12 <huats> does anybody can help me ? 14:36:31 <springmeyer> huats: have you seen the rundemo.py example? 14:37:03 <huats> I think I have 14:37:11 <springmeyer> it has good code comments for starting to learn the python syntax 14:37:13 <springmeyer> okay 14:37:14 <springmeyer> http://trac.mapnik.org/browser/trunk/demo/python/rundemo.py 14:37:17 <huats> let me check (i cannot tell you by the name) 14:37:54 <huats> springmeyer: I have looked at it 14:38:02 <huats> but may be a little too quickly 14:38:10 <huats> I'll let you know.. 14:38:24 <springmeyer> okay, so what are you struggling with? 14:38:31 <huats> hum 14:39:08 <huats> I am trying to display a world map with different colors on some countries based on some informations I have on a database 14:39:21 <springmeyer> the documentation on the python bindings is pretty sparse in places but I can try to help point you in the right direction... 14:39:30 <springmeyer> okay 14:39:31 <huats> and the whole thing is integrated in django 14:39:37 <springmeyer> great 14:39:39 <huats> the django stuff is done 14:39:49 * springmeyer is a django user too 14:39:50 <huats> so now I am struggling with the various styles 14:39:59 <huats> springmeyer: thanks ! 14:40:02 <huats> I'll remember :) 14:40:11 <Berteun> Honestly, the Python interface is not the most intuitive. 14:40:29 <huats> I have to say that I have done that thanks to xcacou (we have been coworkers... so I know him a bit) 14:40:34 <Berteun> You also need to check the wiki to see how you call some symbolizers. 14:40:35 <huats> :) 14:40:41 <huats> Berteun: ok 14:40:45 <Berteun> Some can have all parameters set through a constructor. 14:40:45 <springmeyer> ah cool 14:40:54 <Berteun> Some need to have attributes set. 14:41:02 <Berteun> I was working on a more intuitive wrapper. 14:41:13 <huats> ok 14:41:41 <springmeyer> Berteun: I can and want to fix those issues 14:41:59 <Berteun> But, lack of time. 14:42:01 <springmeyer> Berteun: I would love to get tickets from you about what could be more intuative 14:42:04 <huats> a stupid question but do you think that 0.6.0 will be released in 2 weeks ? 14:42:21 <springmeyer> huats: yes, that is the plan 14:42:41 <huats> I am asking since I am an ubuntu developper and I will be interested to have that version in the next ubuntu which is to be released at the end of april... 14:42:49 <springmeyer> although windows binaries may not immediately be available 14:42:57 <huats> so it migth still doable... 14:43:01 <springmeyer> huats: cool! 14:43:18 <huats> I will try to see what I can do... 14:43:21 <springmeyer> huats: I'd love to make that happen 14:43:39 <huats> I'll let you know more next week... 14:43:53 <Berteun> I wrote something so I could do: m.add_style('vlakken', Rule(filter="[landuse] = 'residential'", symbolizers=[ Polygon(fill=residential_colour)])) 14:44:15 <Berteun> Making more extensive use of Pythons keyword arguments. 14:44:19 <springmeyer> Berteun: excellent 14:44:27 <Berteun> But it needs some finetuning... 14:44:35 <springmeyer> okay 14:44:48 <Berteun> And experimenting how it works exactly, for example with the else-rule etcetera. 14:45:29 <springmeyer> right. are you using boost/python injection to add methods to mapnik objects? 14:45:35 <springmeyer> or seen how that works? 14:45:48 <Berteun> No, I just wrote a separate map object in Python. 14:46:57 <Berteun> And that has some methods to add layers and styles (and to request a map rendering) and some additional methods to set size, etc. 14:47:22 <springmeyer> okay, sounds good 14:47:55 <springmeyer> I am starting to write scripts by adding methods to the actual mapnik objects 14:48:25 <springmeyer> this will allow easy integration into the mapnik codebase for any that might seem useful enough 14:48:34 <springmeyer> here is an example: http://dpaste.com/16468/ 14:49:16 <Berteun> The nice thing about doing it in Python is that styles are far more easily parametrized. 14:50:31 <springmeyer> yes 14:51:11 <Berteun> Like the location of shape files for example, or default postgis parameters, colourschemes. :) 14:53:01 <springmeyer> yes :) 14:53:29 <springmeyer> I'd enjoy seeing this work when you are ready! 14:54:37 * springmeyer is heading out to breakfast to see a friend off... 14:54:51 <springmeyer> catch you all later 14:59:06 *** huats has quit ("Ex-Chat") 15:02:06 <Berteun> springmeyer: This is about the idea like it is functioning now: http://dpaste.com/16474/ 15:58:18 *** xcacou has quit (Remote closed the connection) 17:05:13 * springmeyer is back 17:05:20 <springmeyer> interesting Berteun 17:11:03 <springmeyer> Berteun: have you rolled your own string methods? 17:11:22 <springmeyer> 'print 'Rendering to {fn}'.format(fn=sys.argv[1])' <--- wow :) 17:12:56 <Berteun> That's Python 2.6 :) 17:14:39 <Berteun> http://www.python.org/dev/peps/pep-3101/ 17:14:57 <Berteun> Actually 3.0 but it was backported to 2.6, so thought I'd use it a few timees to get the hang of it. 17:15:55 <springmeyer> oh oh cool 17:16:06 <springmeyer> fun stuff 17:16:53 <springmeyer> yup, works in 2.6 on my other machine, great :) 17:18:07 <dukeku> still importing planet.osm, 24 hours later \o/ 17:19:31 <springmeyer> Berteun: I see your methods operating off the map object, looks like something that could be easy to add via the boost in injectors 17:21:45 <springmeyer> would be cool to get some of these functions at mapnik-utils or some repository so others with ideas about improving the python api could work with them 17:22:31 <springmeyer> I know that migurski is going to be adding funtionality to cascadenik to be able to go directly from css -> mapnik objects via python 17:22:51 <springmeyer> and he might benefit/have ideas along these lines 17:23:37 <Berteun> What I like about cascadenik is the inheritance and selectors. 17:23:42 <Berteun> I was thinking about those too. 17:23:50 <Berteun> But I didn't have a clear idea how to work with those. 17:25:57 <springmeyer> yes, there's some cool patterns in there :) 17:31:10 <Berteun> It would be nice to have those in a Pythonesque way. 17:45:21 <nikq> Mapnik Trac: UbuntuInstallation edited | http://trac.mapnik.org/wiki/UbuntuInstallation?version=25 18:31:01 *** rcoup (n=rcoup@ip-118-90-10-68.xdsl.xnet.co.nz) has joined #mapnik 18:41:21 *** jburgess (n=jburgess@bb-87-80-234-70.ukonline.co.uk) has joined #mapnik 19:11:37 *** D3f0 has quit (Read error: 104 (Connection reset by peer)) 19:22:19 *** Berteun has quit (brown.freenode.net irc.freenode.net) 19:22:19 *** aled has quit (brown.freenode.net irc.freenode.net) 19:22:19 *** cmarqu has quit (brown.freenode.net irc.freenode.net) 19:22:37 *** aled (n=chatzill@socksgw4.ncl.ac.uk) has joined #mapnik 19:22:37 *** cmarqu (i=colin@oemcomputer.oerks.de) has joined #mapnik 19:22:37 *** Berteun (i=berteun@berteun.nl) has joined #mapnik 19:42:08 *** D3f0 (n=defo@190.176.196.8) has joined #mapnik 21:45:51 *** Davedan2 (n=me@85-250-137-91.bb.netvision.net.il) has joined #mapnik 21:47:29 *** D3f0 has quit (Read error: 104 (Connection reset by peer)) 22:00:50 *** dibblego (n=nobody@220-245-107-64.static.tpgi.com.au) has joined #mapnik 22:29:55 *** scruggs_ has quit ("Ex-Chat") 22:35:52 *** scruggs_ (n=chris@75-121-84-235.dyn.centurytel.net) has joined #mapnik 23:20:54 <Davedan2> does mapnik only renders the tiles or also serve them for browsers? 23:28:34 <springmeyer> only renders 23:29:06 <springmeyer> geoserver or mapserver are renderers AND servers, so I recommend you check then out 23:29:06 <Davedan2> springmeyer: what component serves the map tiles if I use openlayers for example? 23:30:43 <springmeyer> OpenLayers will accept a variety of tile server schemes, TMS, WMS, OSM/GOOGLE schemes, etc 23:30:58 *** D3f0 (n=defo@190.177.1.55) has joined #mapnik 23:31:16 <Davedan2> do you have an example for a server that is being used with mapnik? 23:32:07 <springmeyer> sure, examples include... 23:32:27 <Davedan2> ? 23:32:58 <springmeyer> most frequently Mod_tile, TileCache, or serving pregenerated tiles via apache created with 'generate_tiles.py' 23:33:25 <springmeyer> new users usually start with the Apache/generate_tiles.py approach 23:33:37 <Davedan2> thanks 23:34:24 <Davedan2> how large is tiles of the whole world in all zoom levels? 23:37:18 * springmeyer on the phone 23:39:39 *** __d3f0__ (n=defo@190.177.8.65) has joined #mapnik 23:54:15 *** D3f0 has quit (Connection timed out)