00:11:56 *** D3f0 has quit (kubrick.freenode.net irc.freenode.net) 00:12:40 *** D3f0 (n=defo@190.176.193.117) has joined #mapnik 00:46:32 <nikq> Mapnik Trac: Changeset [874]: Revert the patch to add a show_page flag to the cairo renderer and replace ... | http://trac.mapnik.org/changeset/874 00:47:02 <CIA-23> mapnik: tom * r874 /trunk/ (4 files in 3 dirs): 00:47:02 <CIA-23> mapnik: Revert the patch to add a show_page flag to the cairo renderer and 00:47:02 <CIA-23> mapnik: replace it with support for rendering to a cairo context rather than 00:47:02 <CIA-23> mapnik: a cairo surface. 00:47:02 <CIA-23> mapnik: When rendering to a surface a show_page is done, when rendering to a 00:47:04 <CIA-23> mapnik: context it is not so that multiple renders can be done, possibly with 00:47:06 <CIA-23> mapnik: modified scaling and/or translation. 00:54:19 <nikq> Mapnik Trac: Ticket #201 (Leaving Cairo surfaces open for post-map drawing.) updated | http://trac.mapnik.org/ticket/201#comment:10 00:58:53 <nikq> Mapnik Trac: Ticket #217 (Add ability to set PKG_CONFIG_PATH in SCons) updated | http://trac.mapnik.org/ticket/217#comment:5 01:39:09 <nikq> Mapnik Trac: Ticket #217 (Add ability to set PKG_CONFIG_PATH in SCons) updated | http://trac.mapnik.org/ticket/217#comment:6 01:45:04 *** ninja_ (n=pankur@nat/yahoo/x-59a424e5b01a4126) has joined #mapnik 02:03:40 <nikq> Mapnik Trac: Ticket #201 (Leaving Cairo surfaces open for post-map drawing.) updated | http://trac.mapnik.org/ticket/201#comment:11 02:17:02 <nikq> Mapnik Trac: Ticket #201 (Leaving Cairo surfaces open for post-map drawing.) updated | http://trac.mapnik.org/ticket/201#comment:12 02:27:33 *** vu (n=chatzill@218.225.89.15) has joined #mapnik 03:56:45 <Mrfo> anyone know if theres planning to implement regex support in the actual text of a textsymoblizer? 03:57:57 <Mrfo> for example only displaying '95' in 'Interstate 95' via regex 04:12:05 *** jbronn has quit (kubrick.freenode.net irc.freenode.net) 04:14:24 *** jbronn (n=jbronn@70-138-113-15.lightspeed.hstntx.sbcglobal.net) has joined #mapnik 04:26:37 <vu> hi all 04:27:01 *** vu is now known as vuhung 05:03:48 <CIA-23> mapnik-utils: dane.springmeyer * r533 /sandbox/port/ (Portfile README.txt): Continue to update Portfile to Mapnik trunk 05:06:32 <vuhung> anyone interested in mapnik with Bonne projection output? 05:18:27 *** D3f0 has quit (Read error: 104 (Connection reset by peer)) 05:25:48 *** D3f0 (n=defo@190.176.196.145) has joined #mapnik 05:52:48 <springmeyer> vuhung: which Bonne? 05:53:10 <springmeyer> vuhung: http://spatialreference.org/ref/?search=bonne 05:53:13 <vuhung> Bonne Projection 05:53:19 <vuhung> see this http://en.wikipedia.org/wiki/Werner_projection 05:53:41 <vuhung> and here is the maths for it: http://mathworld.wolfram.com/BonneProjection.html 05:54:45 <springmeyer> cool, heart shaped - wow 06:03:24 <springmeyer> I'd Mrfo: you still around? 06:03:56 <Mrfo> yep 06:04:42 <springmeyer> vuhung: is this bonne-ish? http://dbsgeo.com/tmp/bonne.png 06:05:22 <springmeyer> Mrfo: yes artem mentioned he has ideas/plans for 1.0 for a filter expressions 06:05:39 <vuhung> how the original map looks like? 06:06:16 <vuhung> proj4 has Bonne projection JFYI 06:06:37 <springmeyer> JFYI: just for my interest? 06:06:53 <vuhung> yes, yours :) 06:06:55 <springmeyer> vuhung: original data is WGS84 world borders data 06:07:10 <vuhung> btw, could you generenated bonne.jp from the world map? 06:07:36 <springmeyer> bonne.jp ? 06:08:03 <vuhung> bonne.png sorry, this file http://dbsgeo.com/tmp/bonne.png 06:08:47 <springmeyer> ya. here I'll post the script if you are interested... 06:09:40 <vuhung> ok 06:10:05 <Mrfo> springmeyer, thats great news then 06:10:34 <springmeyer> ya, will be cool 06:10:41 <Mrfo> i've started adding columns to my db for specific text types, but its starting to get messy 06:11:10 <springmeyer> ya, I can imagine 06:12:08 <vuhung> love to have it before the Valentine :) 06:12:30 <vuhung> Need something to show off: The world is yours, my girl 06:12:37 <vuhung> sounds cool, eh? ^^ 06:12:59 <springmeyer> exactly :) 06:13:51 <springmeyer> vuhung: http://mapnik-utils.googlecode.com/svn/example_code/bonne_projection/ 06:14:10 <springmeyer> guessed at the bounding box so it is not at all working :) 06:15:51 <vuhung> it seems so, can I report a bug? :) 06:16:29 <springmeyer> no, but please fix the bbox before valentines and let me know! 06:16:55 <vuhung> a hard homework 06:17:23 *** dthomas has quit ("leaving") 06:18:24 <springmeyer> Mrfo: will be cool if we can chain filters in the way you can with django filters 06:19:53 <Mrfo> oo, yeah thats would be awesome 06:20:18 <Mrfo> although i imagine 1.0 is still quite a bit off 06:20:57 <springmeyer> FIELDNAME|Capfirst|Striplines|Truncatewords:10 .... etc 06:22:03 <Mrfo> would open up alot of really nice options 06:23:07 <springmeyer> Well, 1.0 is just everything not shooting to be in 0.6.0 :) 06:23:37 <Mrfo> ohh, well not too far off then 06:23:42 <springmeyer> but ya, could be a while :) 06:23:56 <Mrfo> 0.51 to 0.6 has been a bit 06:24:07 <springmeyer> Mrfo: I wonder if starting a wiki page on possible expressions would be userful 06:24:36 <Mrfo> like different filters to be implemented? 06:24:38 <springmeyer> ya, well the development leading up to 0.6 has been awesome 06:24:41 <springmeyer> ya 06:25:20 <Mrfo> yeah that seems like a good way to figure out what filters people would use 06:25:39 *** D3f0 has quit ("Konversation terminated!") 06:25:43 <springmeyer> right. 06:25:58 <springmeyer> if you aren't familiar with django filters this is what it reminded me of: http://docs.djangoproject.com/en/dev/ref/templates/builtins/#built-in-filter-reference 06:27:36 <Mrfo> some pretty near ones in there 06:28:20 <vuhung> meyer: m.zoom_to_box(Envelope(-10019402,-14558607,3551366,1012161)) 06:28:33 <vuhung> meyer: what is is Envelope? 06:29:00 <springmeyer> Mrfo: from the first day of mapnik.dbsgeo.com logs... 06:29:02 <springmeyer> 23:54:06 <artem> twain47: dane mentioned you were looking into #70 . My idea is to allow expressions (similar to filter expr) . Current filter expression parser can be re-used for this purpose. Then we can have something like [name] (evaluated at run time) or 'name' - static string. Or even more complex things like [name]+'something else' 06:29:03 <nikq> Ticket #70: Ability to set label value manually in TextSymbolizer (rather than have them read from datasource field), http://trac.mapnik.org/ticket/70 06:29:11 <springmeyer> 23:55:36 <artem> or [name].capitalize [name].to_upper etc etc 06:29:59 <vuhung> meyer: what is the world's Envelope? 06:30:05 <springmeyer> vuhung: that bbox is the minx,miny,maxx,maxy 06:30:40 <springmeyer> -180,-90,180,90 06:30:57 <springmeyer> (in lon/lat) 06:31:09 <springmeyer> in bonne, I don't know :) 06:32:00 <Mrfo> that would be pretty neat if it was implemented 06:32:57 <springmeyer> +1 it on #70 then 06:32:58 <nikq> Ticket #70: Ability to set label value manually in TextSymbolizer (rather than have them read from datasource field), http://trac.mapnik.org/ticket/70 06:41:47 <vuhung> mayer: Envelope(-10019402,-22008607,23551366,11562161) 06:41:56 <vuhung> mayer: http://aoclife.ddo.jp/~vuhung/tmp/bonne.png 06:42:05 <vuhung> mayer: it doesn't look like a heart :) 06:42:25 <springmeyer> no, that's good 06:42:41 <springmeyer> just need to chop off the edges to get it to stand out as a heart! 06:43:08 <springmeyer> http://en.wikipedia.org/wiki/Werner_projection <--- that is the trick it seems here 06:43:15 <vuhung> how to do that? 06:43:27 <vuhung> ah 06:44:27 <vuhung> http://aoclife.ddo.jp/~vuhung/tmp/bonne.png -> now background is black 06:44:49 <vuhung> and I need to cut the map in hearted shape? 06:46:30 <vuhung> mayer: How can I draw lat long lines like in this one: http://mathworld.wolfram.com/BonneProjection.html 06:46:58 <vuhung> with those lines, the bonne'd map would look more "hearted" 06:47:09 <Mrfo> you should be able to find a shapefile with the lat lon lines 06:48:29 <Mrfo> i think qgis has a graticule creator as well 06:50:40 <vuhung> I dont know qgis but arcivew supports Bonne projection 06:50:44 <Mrfo> i should keep lat/lon grid around in shapefile form. i imagine that would pretty handy 06:52:52 <vuhung> any tips Mrfo? 06:54:50 <vuhung> where I can find shapefiles with lat lon lines in it? 06:56:13 <Mrfo> this looks like it will work 06:56:19 <Mrfo> http://www.oceanteacher.org/oceanteacher/index.php?module=resourcekit&action=content&nodeid=gen21Srv52Nme0_1321&contextCode=exercises 06:56:29 <Mrfo> at the top is a "Graticules (OceanTeacher) - 10-degree and 5-degree graticules" 07:04:07 <vuhung> Mrfo: with 5x5 graticules data, the map gone blank 07:05:56 <vuhung> Mrfo: now look at: http://aoclife.ddo.jp/~vuhung/tmp/bonne.png , and zoom to 500% 07:06:17 <vuhung> Mrfo: I think this data does no contain lat lon lines??? 07:07:43 <Mrfo> ummm it sorta works for me 07:07:45 <Mrfo> http://img149.imageshack.us/img149/1240/bonnemo6.png 07:08:38 <Mrfo> the two shapefiles are in different formats i think 07:08:47 <Mrfo> springmeyer might know better 07:16:36 <springmeyer> vuhung: http://mapnik-utils.googlecode.com/svn/example_code/bonne_projection/ 07:17:15 <vuhung> omg 07:17:25 <vuhung> this is exactly what I imagined :) 07:17:46 <Mrfo> springmeyer to the rescue 07:18:20 <Mrfo> im trying to figure out what im doing wrong in my version 07:19:35 <vuhung> from osgeo import ogr -> whereis osgeo pkg for python? 07:19:41 * vuhung too lazy to google 07:19:57 <vuhung> ? http://wiki.osgeo.org/wiki/OSGeo_Python_Library 07:20:58 <springmeyer> vuhung: linux, mac or win? 07:22:12 <vuhung> Linux, but nvm, I get it done http://aoclife.ddo.jp/~vuhung/tmp/bonne.png 07:22:30 <vuhung> btw, what does generate_graticules.py do? 07:22:54 <vuhung> # Create an ESRI shapefile of parallels and meridians 07:23:04 <vuhung> meyer: nvm, I will read the code! 07:24:14 <springmeyer> ya, you only need GDAL/OGR if you want to regenerate that shapefile 07:25:04 <vuhung> ok 07:25:26 <vuhung> http://aoclife.ddo.jp/~vuhung/tmp/bonne.png -> the bottom of the heart is chopped off 07:25:40 <vuhung> there is no data in graticule? 07:30:10 <vuhung> shpdump data/graticule 07:30:17 <vuhung> File Bounds: ( -179.900, -80.000,0,0) 07:30:22 <vuhung> to ( 179.900, 80.000,0,0) 07:30:36 <vuhung> why its bounds are 179.900, not 180? 07:31:01 <Mrfo> im pretty sure its your extent 07:31:15 <Mrfo> how did you calculate it before? 07:32:31 <Mrfo> oh, nm that looks good 07:43:04 *** xcacou (n=aga@AToulouse-157-1-165-31.w83-193.abo.wanadoo.fr) has joined #mapnik 08:02:45 <springmeyer> vuhung: still around? 08:03:01 * springmeyer returns from laundry and packing for the weekend 08:03:44 <springmeyer> headed to sleep now, but I touched up the graticule creator so that it generates slightly wider extents 08:03:49 <springmeyer> now we 08:04:05 <springmeyer> now we've got a bit more pointy heart going :) 08:04:06 <springmeyer> http://mapnik-utils.googlecode.com/svn/example_code/bonne_projection/bonne.png 08:06:03 <vuhung> looks great 08:09:36 <springmeyer> good :) 08:09:40 <springmeyer> see ya later 08:15:08 <vuhung> thanks alot meyer, have a nice trip 09:01:31 <vuhung> nice weekend all 09:01:33 <vuhung> bb 09:01:44 *** vuhung has quit ("ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]") 09:06:01 <CIA-23> mapnik-utils: dane.springmeyer * r534 /example_code/ (3 files in 2 dirs): prepare for valentines day you map geeks 09:06:01 <CIA-23> mapnik-utils: dane.springmeyer * r535 /example_code/bonne_projection/ (6 files): add some graticules to get heart shape started 09:06:02 <CIA-23> mapnik-utils: dane.springmeyer * r536 /example_code/bonne_projection/ (6 files): quick round two with new graticules 09:52:26 *** ninja_ has quit () 09:56:03 *** Jon___ (n=Jon@host81-130-15-214.in-addr.btopenworld.com) has joined #mapnik 10:01:34 *** artem (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 13:04:22 *** artem has quit () 13:13:32 *** D3f0 (n=defo@190.176.196.145) has joined #mapnik 13:25:32 *** artem (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 13:26:52 *** D3f0 has quit ("Konversation terminated!") 14:02:23 *** artem has quit () 14:02:42 *** D3f0 (n=defo@190.176.222.197) has joined #mapnik 14:55:14 <nikq> Mapnik Trac: Ticket #34 (Add support for boolean type in Filter expression) updated | http://trac.mapnik.org/ticket/34#comment:4 15:24:49 *** __d3f0__ (n=defo@190.176.222.197) has joined #mapnik 15:26:20 *** D3f0 has quit (Read error: 60 (Operation timed out)) 16:03:13 *** xcacou has quit (Remote closed the connection) 17:00:27 <nikq> Mapnik Trac: Ticket #218 (Fix transparency handling for point symbolizers) created | http://trac.mapnik.org/ticket/218 17:02:09 <nikq> Mapnik Trac: 15-r12681-c5238.jpg attached to Ticket #218 | http://trac.mapnik.org/attachment/ticket/218/15-r12681-c5238.jpg 17:02:12 *** artem_ (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 17:02:29 <nikq> Mapnik Trac: amenity=school.png attached to Ticket #218 | http://trac.mapnik.org/attachment/ticket/218/amenity%3Dschool.png 17:42:34 *** kunitoki (n=kraken@host210-49-dynamic.7-79-r.retail.telecomitalia.it) has joined #mapnik 17:56:54 *** __d3f0__ has quit (Remote closed the connection) 18:09:17 *** artem_ has quit () 18:10:26 *** Jon___ has quit () 18:40:29 <Mrfo> is there an easy way to mark a location with a symbol and have text to go with it so that the two dont overlap? 18:41:48 <Mrfo> if i use shield symbolizer, the two are placed overtop of each other and if i use a textsymbolizer with pointsymbolizer, then only one of the two renders 18:56:36 *** D3f0 (n=defo@190.176.212.26) has joined #mapnik 19:08:31 <springmeyer> Mrfo: allow_overlap="yes" on both your TextSymbolizer and your PointSymbolizer should do it 19:08:48 <springmeyer> shift them with the dy and dx parameters 19:08:51 <springmeyer> http://mapnik-utils.googlecode.com/svn/sandbox/point_opacity/ 19:09:01 * springmeyer heads out... 19:09:09 *** springmeyer has quit () 19:09:12 <CIA-23> mapnik-utils: dane.springmeyer * r537 /sandbox/ (6 files in 2 dirs): point labeling with alpha png symbol and text 19:26:41 *** scruggs has quit (Read error: 110 (Connection timed out)) 19:26:41 *** scruggs_ (n=chris@72-161-105-25.dyn.centurytel.net) has joined #mapnik 19:28:30 *** Jon___ (n=Jon@93-97-6-206.zone5.bethere.co.uk) has joined #mapnik 19:30:57 *** Jon___ has quit (Client Quit) 19:40:57 *** Jon___ (n=Jon@93-97-6-206.zone5.bethere.co.uk) has joined #mapnik 19:51:11 *** artem_ (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 20:01:45 *** artem_ has quit () 20:04:35 *** D3f0 has quit (Read error: 104 (Connection reset by peer)) 20:27:53 *** D3f0 (n=defo@190.176.222.197) has joined #mapnik 20:30:41 *** artem_ (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 20:40:08 *** racicot has quit (Read error: 104 (Connection reset by peer)) 20:41:16 *** racicot (n=chatzill@dsl-209-166-85-189.whidbey.net) has joined #mapnik 20:43:44 *** artem_ has quit () 20:47:28 *** artem_ (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 21:48:16 *** adakkak has quit (Read error: 104 (Connection reset by peer)) 21:57:55 *** scruggs_ is now known as scruggs 22:05:14 <nikq> Mapnik Trac: Ticket #219 (python bindings getting installed to incorrect location) created | http://trac.mapnik.org/ticket/219 22:43:14 *** ser has quit (kubrick.freenode.net irc.freenode.net) 22:44:48 *** ser (n=ser@sergiusz.pawlowicz.name) has joined #mapnik 22:56:45 *** Jon__ (n=Jon@93-97-6-206.zone5.bethere.co.uk) has joined #mapnik 22:58:27 *** artem_ has parted #mapnik () 23:00:41 *** Jon___ has quit (Read error: 60 (Operation timed out)) 23:05:16 *** kunitoki has quit ("Lost terminal") 23:16:13 *** Jon__ has quit ()