#mapnik log: Wednesday 27, January 2010

2010 | 01

previous | next
00:01:03 *** ajturner (n=ajturner@209.155.228.129) has joined #mapnik
00:17:48 *** jctull (n=jctull@ppp-71-142-138-235.dsl.renocs.pacbell.net) has joined #mapnik
00:26:11 *** Ldp___ (n=thid@osm.xs4all.nl) has joined #mapnik
00:26:11 *** Ldp__ has quit (Nick collision from services.)
00:26:21 *** Ldp___ is now known as Ldp__
01:01:41 <Ldp__> Deprecation Warning: symbolizer value now an expression, please wrap properly in brackets like "[addr:housenumber]"
01:01:45 <Ldp__> springmeyer: works great!
01:01:54 <springmeyer> Ldp__: :)
01:02:03 <Ldp__> I've got a bit of Deprecation Warning overload with 30-odd styles, but hey...
01:02:18 <springmeyer> ya...
01:02:26 <springmeyer> had to know how to limit that...
01:02:50 <Ldp__> and it renders fine as well; just tested that too
01:03:11 <Ldp__> oh, don't worry, it's fine. A few hundred warnings won't harm me
01:03:16 <Ldp__> don
01:03:20 <Ldp__> don't
01:04:04 <springmeyer> whew... :)
01:04:34 <Ldp__> I can always comment it out of my copy
01:04:48 <springmeyer> k
01:05:09 <Ldp__> one more thing for the Changelog :)
01:05:33 <Ldp__> * Can now read older stylesheets, but prints a warning for deprecated features
01:05:51 <springmeyer> ah, yes
01:09:19 <nikq> Mapnik Trac: Ticket #501 (Ability to read pre-0.8.0 stylesheets) closed | http://trac.mapnik.org/ticket/501#comment:2
01:09:50 <nikq> Mapnik Trac: Changeset [1594]: update CHANGELOG | http://trac.mapnik.org/changeset/1594
01:15:32 <Ldp__> excellent, now we can migrate to trunk, and still render osm.xml as-is from svn :)
01:16:09 *** chad_burt has quit (Client Quit)
01:16:37 <springmeyer> Ldp__: yes. everything seems to work still
01:16:52 <springmeyer> a bunch of stuff is messed up via python but that should not affect XML
01:17:49 <Ldp__> I don't use python, so I wouldn't notice that
01:18:01 <springmeyer> right
01:18:12 <springmeyer> the only things broken right now with XML support is that blank <PointSymbolizer /> does not render and you are not warned about missing images that are not found in Text/Shield symbolizer.
01:18:47 <Ldp__> but that's nothing to do with r1592, right
01:18:48 <nikq> http://trac.mapnik.org/changeset/1592, at , by dane: add backwards compatibility support to the expressions parser so that the TextSymbolizer and ShieldSymbolizer 'name' parameter (and others in the future) syntax is understood as pre-0.8.0 syntax, whil
01:19:13 <springmeyer> Ldp__: right, notthing to do with that
01:19:32 <springmeyer> it is due to the fact that PathExpressions are not validated at intialization
01:19:44 <springmeyer> but rather evaluated at render time
01:19:47 <springmeyer> (right now)
01:19:56 <springmeyer> need to look into it more...
01:19:58 <Ldp__> but cached, once evaluated
01:20:02 <springmeyer> exactly
01:20:16 <springmeyer> it is a product of the lazy caching
01:20:35 <Ldp__> PS: size of libmapnik.so rose significantly going from 0.7.0 to trunk
01:20:50 <springmeyer> hmm, okay
01:21:10 <springmeyer> I'd guess related to boost spirit + template-depth-200, etc etc again
01:21:48 <Ldp__> -rwxr-xr-x 1 root root 3381219 Jan 27 01:38 /usr/local/lib64/libmapnik.so.0.8.0
01:22:00 <Ldp__> 0.7.0 is about 1MB less
01:22:24 <Ldp__> again, nothing to worry about, but a fun fact
01:23:32 <springmeyer> okay
01:34:09 *** ajturner has quit ()
01:39:57 *** jctull has quit ()
01:56:27 *** tcb has quit ()
02:05:54 *** cgs_bob (n=bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
02:47:42 *** Ldp__ has quit (Read error: 113 (No route to host))
03:22:22 *** matth has quit ()
03:32:09 *** matth (n=matth@141.217.227.138) has joined #mapnik
03:32:17 *** matth has quit (Client Quit)
04:03:42 <blarney> springmeyer: ok, mapnik 0.7.0 successfully rebuilt for Fedora rawhide
04:07:40 *** mperry_ (n=mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
04:07:40 *** mperry has quit (Read error: 104 (Connection reset by peer))
04:07:45 *** mperry_ is now known as mperry
04:45:09 *** D3f0 has quit (Read error: 110 (Connection timed out))
05:01:49 <springmeyer> blarney: yehaw
05:39:30 *** cgs_bob_ (n=bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
05:40:30 *** cgs_bob has quit (Read error: 104 (Connection reset by peer))
05:50:16 *** cgs_bob_ is now known as cgs_bob
06:07:02 *** HounD (n=HounD@unics1.grfc.ru) has joined #mapnik
07:02:40 <dodobas> springmeyer: here it is http://is.gd/78jm3
08:28:44 *** mperry has quit (Read error: 110 (Connection timed out))
08:53:46 *** tomhughes has quit (calvino.freenode.net irc.freenode.net)
08:54:10 *** tomhughes (n=tom@gate.compton.nu) has joined #mapnik
09:06:45 *** mperry (n=mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
09:49:34 *** Ldp__ (n=thid@osm.xs4all.nl) has joined #mapnik
10:44:27 *** blarney has quit ("Leaving.")
10:51:10 *** D3f0 (n=D3f0@www.transpa-sa.com.ar) has joined #mapnik
11:24:31 *** myselfhimself (n=chatzill@91.199.6.245) has joined #mapnik
11:25:03 <myselfhimself> hi
11:55:10 <dodobas> o myselfhimself
12:00:50 <myselfhimself> dodobas: hi
12:01:15 *** myselfhimself is now known as myself_away
12:12:30 *** tomhughes has quit (calvino.freenode.net irc.freenode.net)
12:12:48 *** tomhughes (n=tom@gate.compton.nu) has joined #mapnik
12:45:28 *** Komzzpa (n=kom@mm-71-245-57-86.leased.line.mgts.by) has joined #mapnik
12:46:30 <Komzzpa> hi. how can 0.6 behaviour on incorrect sql requests acheived in 0.7?
12:47:26 <Komzzpa> some of the time one of tables is inaccessible, I need renderd to render empty tiles / tiles without that layer.
12:47:50 <Komzzpa> instead it fails to access table and dies.
12:48:23 <Komzzpa> springmeyer: miau. :)
12:50:38 *** mishok13 has quit ("Leaving")
13:04:47 *** mishok13 (n=gdmfsob@dm.sonopia.com) has joined #mapnik
13:10:26 *** ajturner (n=ajturner@209.155.228.129) has joined #mapnik
13:38:35 *** nikq has quit (calvino.freenode.net irc.freenode.net)
13:38:35 *** dukeku has quit (calvino.freenode.net irc.freenode.net)
13:38:35 *** hobu has quit (calvino.freenode.net irc.freenode.net)
13:38:42 *** dukeku (i=dukeku@66.81.0.197) has joined #mapnik
13:38:57 *** nikq (n=nikq@li21-121.members.linode.com) has joined #mapnik
13:39:03 *** hobu_ (n=hobu@epimetheus.hobu.net) has joined #mapnik
14:04:42 *** mishok13 has quit (Connection timed out)
14:05:16 *** mishok13 (n=gdmfsob@dm.sonopia.com) has joined #mapnik
14:16:25 *** Phurl has quit ("Ex-Chat")
14:21:56 *** cgs_bob_ (n=bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
14:23:16 *** cgs_bob has quit (Read error: 104 (Connection reset by peer))
15:14:06 *** Phurl (n=mdupont@ip-81-210-245-60.unitymediagroup.de) has joined #mapnik
15:18:05 *** HounD has parted #mapnik ()
15:23:22 *** DCREdD (n=blah@cpc2-colc4-0-0-cust771.colc.cable.ntl.com) has joined #mapnik
15:30:04 <DCREdD> Hi all, I'm looking for some help with postgis, mapnik and osm2pgsql?
15:31:13 <DCREdD> I have followed several guides but alwas seem to have the same issue
15:32:05 <DCREdD> when importing data with osm2pgsql I always get the following:
15:32:47 <DCREdD> mes@mapserver1:~/src/mapnik$ osm2pgsql -d gis /mnt/wddrive/uk-091219.osm
15:32:47 <DCREdD> osm2pgsql SVN version 0.69-19652
15:32:47 <DCREdD> Using projection SRS 900913 (Spherical Mercator)
15:32:47 <DCREdD> Setting up table: planet_osm_point
15:32:47 <DCREdD> NOTICE:  table "planet_osm_point" does not exist, skipping
15:32:47 <DCREdD> NOTICE:  table "planet_osm_point_tmp" does not exist, skipping
15:32:49 <DCREdD> Setting up table: planet_osm_line
15:32:51 <DCREdD> NOTICE:  table "planet_osm_line" does not exist, skipping
15:32:53 <DCREdD> NOTICE:  table "planet_osm_line_tmp" does not exist, skipping
15:32:55 <DCREdD> Setting up table: planet_osm_polygon
15:32:57 <DCREdD> NOTICE:  table "planet_osm_polygon" does not exist, skipping
15:32:59 <DCREdD> NOTICE:  table "planet_osm_polygon_tmp" does not exist, skipping
15:33:01 <DCREdD> Setting up table: planet_osm_roads
15:33:03 <DCREdD> NOTICE:  table "planet_osm_roads" does not exist, skipping
15:33:05 <DCREdD> NOTICE:  table "planet_osm_roads_tmp" does not exist, skipping
15:33:07 <DCREdD> Mid: Ram, scale=100
15:53:01 <mishok13> these notices just show that "DELETE TABLE" calls didn't have any effect whatsoever
15:57:07 <springmeyer> hey mishok13 :)
15:57:10 <springmeyer> DCREdD: next time: http://dpaste.com
15:57:48 <springmeyer> Komzzpa: it sounds like you might want to just comment out the code in postgis.input that throws the error...
15:58:20 <mishok13> hey, springmeyer
15:59:00 <Komzzpa> springmeyer: can't it just debug-print the error, not fail?
16:00:16 <springmeyer> Komzzpa: currently not mechanism for doing that but its a possibility
16:00:19 <springmeyer> not/no
16:01:15 <springmeyer> just change the 'throw' here: http://trac.mapnik.org/browser/trunk/plugins/input/postgis/connection.hpp#L61
16:01:33 <springmeyer> to std::clog << s << "\n";
16:02:08 *** hobu_ is now known as hobu
16:02:14 <Komzzpa> springmeyer: shouldn't it be there by default?
16:02:41 <Komzzpa> we already workarounded that, but, well.. :)
16:03:42 <springmeyer> I think an option to control whether the driver throws is a good idea, but I think throwing should be default
16:04:32 <Komzzpa> well, it wasn't default in 0.6 ;)
16:04:57 <springmeyer> perhaps an environment setting would be easiest to support....
16:07:09 <springmeyer> Komzzpa: the behavior changed, yes, but it is an intended change
16:08:17 <Komzzpa> http://trac.mapnik.org/wiki/MapnikReleases
16:08:28 <Komzzpa>  o Between the 0.5.x and 0.7.x series there have been no backward incompatible changes.
16:09:09 <Komzzpa> am I misunderstanding this? :)
16:10:49 <springmeyer> I agree that this change should be documented there
16:11:08 <springmeyer> it is a major behavior change
16:11:55 <Komzzpa> and have other ways for it to be switched off than recompiling
16:11:55 <springmeyer> I don't think of it as a backwards incompatible change, but surely you could see it that way
16:12:25 <springmeyer> Komzzpa: certainly. patches accepted
16:16:53 <Komzzpa> springmeyer: I think you won't accept my patch reverting this code at all ;)
16:20:43 <springmeyer> well, we'll never know if you don't submit one ;)
16:23:28 *** nikq has quit (Remote closed the connection)
16:23:36 *** nikq (n=nikq@li21-121.members.linode.com) has joined #mapnik
16:23:53 <springmeyer> Komzzpa: updated: http://trac.mapnik.org/wiki/MapnikReleases
16:23:57 <springmeyer> .startrss
16:23:57 <nikq> Okay, I'll start rss fetching...
16:23:59 <nikq> Mapnik Trac: MapnikReleases edited | http://trac.mapnik.org/wiki/MapnikReleases?version=5
16:25:40 <nikq> Mapnik Trac: MapnikReleases edited | http://trac.mapnik.org/wiki/MapnikReleases?version=6
16:26:48 <Komzzpa> springmeyer: okay, now it's documented. :)
16:40:58 *** chad_burt (n=chad_bur@mm-01.msi.ucsb.edu) has joined #mapnik
17:12:07 *** drewby (n=dfaubion@128-8-138-156.umd.edu) has joined #mapnik
17:12:28 <drewby> when you guys are working on source that you're not familiar with, do you just stare at it till it makes sense?
17:13:19 <Komzzpa> drewby: we don't work with source we're not familiar with,
17:13:38 <drewby> special
17:17:54 * springmeyer chuckles
17:18:07 <springmeyer> drewby: sometimes, ya
17:18:40 <springmeyer> drewby: got a question about mapnik sources?
17:19:07 <drewby> I think I'm getting it
17:21:19 *** D3f0 has quit (Remote closed the connection)
17:24:52 <drewby> Just need to stare a little while more.
17:31:10 *** cgs_bob_ has quit (Read error: 110 (Connection timed out))
17:41:56 *** drewby has quit ("Leaving.")
17:54:05 *** tcb (n=tcarobru@adsl-75-10-247-30.dsl.pltn13.sbcglobal.net) has joined #mapnik
17:59:59 *** cgs_bob (n=bobm@107.sub-75-210-20.myvzw.com) has joined #mapnik
18:17:35 *** Primer has parted #mapnik ("Client exiting")
18:19:42 *** myself_away has parted #mapnik ()
19:06:08 *** cgs_bob has quit (Read error: 54 (Connection reset by peer))
19:47:06 *** cgs_bob (n=bob@38.sub-75-209-254.myvzw.com) has joined #mapnik
20:48:27 *** springmeyer has quit ()
21:20:10 *** springmeyer (n=springme@c-76-28-156-154.hsd1.wa.comcast.net) has joined #mapnik
22:54:37 *** ajturner has quit ()
23:16:53 <Ldp__> springmeyer: many of the tests are now full of our deprecation warning :)
23:16:56 <Ldp__> http://miranda.nwcr.net:8010/builders/ldp-gentoo-x86_64/builds/67/steps/test/logs/stdio
23:17:33 <springmeyer> Ldp__: great!
23:17:39 <springmeyer> (TODO=3, errors=5, failures=6) looks a lot better than before...
23:34:00 *** Ldp__ has quit ()
23:59:48 *** DCREdD has quit (Read error: 110 (Connection timed out))