#mapnik log: Tuesday 14, April 2009

2009 | 04

previous | next
00:01:23 <nikq> Mapnik Trac: Changeset [1100]: scons: provide option to avoid color printed terminal output | http://trac.mapnik.org/changeset/1100
00:05:06 <dukeku> heh, i thought mapnik-users/devel was dead
00:05:10 <dukeku> turns out my mail server was instead
00:08:16 <ser> springmeyer: but wait, fcgi is broken, as we know
00:08:35 <springmeyer> well, just leaky right?
00:08:50 <ser> i cannot test wsgi, it is not the same?
00:08:51 <rcoup> springmeyer: table can be a query
00:08:54 <rcoup> which is kinda nasty
00:08:58 <rcoup> but works well enough
00:09:18 <springmeyer> rcoup: sure, just asking if we should allow table="" or None
00:09:30 <rcoup> blank dbname may connect to the user's db - like "psql" does
00:09:32 <rcoup> ?
00:09:40 <springmeyer> ah yes
00:09:51 <rcoup> (that may not work via libpq, who knows)
00:09:56 <springmeyer> I knew I was being smart asking you :)
00:10:07 <rcoup> can't see how a blank table would be at all conducive to getting data though
00:10:08 <springmeyer> I bet it does
00:10:08 <ser> springmeyer: because i have removed fcgi as i do not want kill my server, i am using now wsgi-standalone/lighttpd-proxy
00:10:16 <springmeyer> right :)
00:10:30 <springmeyer> so I think I'll just catch a blank table then...
00:10:40 <rcoup> table should probably be renamed considering how misused it (is) can be.
00:10:41 <springmeyer> ser: sure, okay no worries
00:10:51 <rcoup> but thats for another time :)
00:11:03 <springmeyer> rcoup: I'll leave that to the postgis masters like yourself :)
00:11:25 <ser> springmeyer: but as i can see wsgi-standalone/lighttpd-proxy is working well under qgis
00:11:43 <springmeyer> ah, good, ya I've tested that as well
00:11:53 <rcoup> springmeyer: heh. don't really want to build a query dialect thingey in mapnik.
00:12:36 <springmeyer> okay :)
00:12:52 * rcoup will think on it, there's probably middle ground
00:12:53 <springmeyer> rcoup: dom got 0.6.0 deb accepted today
00:12:58 <rcoup> cool :)
00:12:59 <springmeyer> yeehaw
00:42:30 *** Ldp__ has quit ()
05:26:51 *** rcoup has quit ()
05:51:48 *** sanjiv (n=sanjiv@59.180.158.187) has joined #mapnik
06:15:51 <dodobas> yello
06:34:51 *** CIA-14 has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** racicot has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** JeLuF has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** tomhughes has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** jburgess has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** tlpinney_ has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** dukeku has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** ser has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** w0lfie_ has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** _Dennis has quit (brown.freenode.net irc.freenode.net)
06:34:51 *** jbronn has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** sanjiv has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** stamf has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** nikq has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** kets has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** _closure_ has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** aba has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** jlivni has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** dodobas has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** johto has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** springmeyer has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** cmarqu has quit (brown.freenode.net irc.freenode.net)
06:49:43 *** Berteun has quit (brown.freenode.net irc.freenode.net)
08:55:09 *** springmeyer (n=dane@c-24-19-50-92.hsd1.wa.comcast.net) has joined #mapnik
08:55:09 *** xcacou (n=aga@AToulouse-157-1-113-219.w86-221.abo.wanadoo.fr) has joined #mapnik
08:55:09 *** johto (i=rnn@emdia.fi) has joined #mapnik
08:55:09 *** sanjiv (n=sanjiv@59.180.158.187) has joined #mapnik
08:55:09 *** w0lfie_ (n=wolf@cpe-67-49-133-78.hawaii.res.rr.com) has joined #mapnik
08:55:09 *** stamf (n=stamf@116.73.233.220.exetel.com.au) has joined #mapnik
08:55:09 *** racicot (n=chatzill@dsl-209-166-85-189.whidbey.net) has joined #mapnik
08:55:09 *** nikq (n=nikq@li21-121.members.linode.com) has joined #mapnik
08:55:09 *** kets (n=fear@87.251.152.50) has joined #mapnik
08:55:09 *** tomhughes (n=tom@gate.compton.nu) has joined #mapnik
08:55:09 *** CIA-14 (n=CIA@208.69.182.149.simpli.biz) has joined #mapnik
08:55:09 *** _closure_ (n=E78C8EE4@li48-120.members.linode.com) has joined #mapnik
08:55:09 *** dukeku (i=dukeku@adhd.irule.net) has joined #mapnik
08:55:09 *** tlpinney_ (n=geo@ec2-67-202-28-190.compute-1.amazonaws.com) has joined #mapnik
08:55:09 *** ser (n=ser@sergiusz.pawlowicz.name) has joined #mapnik
08:55:09 *** jbronn (n=jbronn@70-138-113-15.lightspeed.hstntx.sbcglobal.net) has joined #mapnik
08:55:09 *** jburgess (n=jburgess@bb-87-80-234-70.ukonline.co.uk) has joined #mapnik
08:55:09 *** JeLuF (i=jf@mormo.org) has joined #mapnik
08:55:09 *** jlivni (n=josh@76.14.74.234) has joined #mapnik
08:55:09 *** aba (i=sam@libya.turmzimmer.net) has joined #mapnik
08:55:09 *** cmarqu (i=colin@oemcomputer.oerks.de) has joined #mapnik
08:55:09 *** dodobas (n=dodobas@open.geof.hr) has joined #mapnik
08:55:09 *** Berteun (i=berteun@berteun.nl) has joined #mapnik
10:37:10 *** _Dennis (n=dennis@irafs1.ira.uni-karlsruhe.de) has joined #mapnik
10:50:30 *** sanjiv has quit (Read error: 110 (Connection timed out))
10:53:24 *** sanjiv (n=sanjiv@59.180.190.33) has joined #mapnik
11:56:57 *** synax (n=synax@24.222.57.182) has joined #mapnik
12:44:26 <synax> springmeyer: to continue our conversation from yesterday... it just seems to be taking forever on the query
12:45:30 <synax> I ran 'select AsBinary(geom) from my_table limit 1' and it worked fine, so I guess 170k is just too much to handle at once
12:45:38 <synax> *170k rows
13:52:44 *** wonxly (i=9e931426@gateway/web/ajax/mibbit.com/x-2cfed746c7ede0a2) has joined #mapnik
13:56:01 <wonxly> hello everyone, anyone have any ideas what could be causing mapnik to abort? After compiling with debug turned on I am getting the following after loading the shoreline data from a shapefile into postgres http://dpaste.com/33203/
14:33:43 <synax> wonxly: what is returned from select distinct(isvalid(the_geom)) from shoreline?
14:47:32 <wonxly> hi synax, one second i just rebooted the machine, it looked like i was short on ram?  i will give that a try once it boots up
15:07:01 *** tlpinney_ has quit (brown.freenode.net irc.freenode.net)
15:08:42 *** tlpinney (n=geo@ec2-67-202-28-190.compute-1.amazonaws.com) has joined #mapnik
15:11:17 *** tlpinney_ (n=geo@ec2-67-202-28-190.compute-1.amazonaws.com) has joined #mapnik
15:12:41 <springmeyer> synax: okay, you might try fiddling with the cursor size parameter
15:12:50 <springmeyer> #140
15:12:51 <nikq> Ticket #140: postgis: ability to handle large resultsets, http://trac.mapnik.org/ticket/140
15:12:56 <springmeyer> r872
15:12:58 <nikq> http://trac.mapnik.org/changeset/872, at , by dane: + apply PostgisImprovements?.diff (rcoup) for record_limit and cursur_size support (#140)
15:15:37 *** tlpinney_ has quit (brown.freenode.net irc.freenode.net)
15:15:43 *** tlpinney_ (n=geo@ec2-67-202-28-190.compute-1.amazonaws.com) has joined #mapnik
15:20:14 *** tlpinney_ has quit (Connection timed out)
15:28:40 *** wonxly has quit ("http://www.mibbit.com ajax IRC Client")
15:28:58 *** xcacou has quit (Read error: 113 (No route to host))
15:42:15 <synax> springmeyer: fiddling in what way? (increase or decrease?)
15:42:45 <springmeyer> nobody can tell you how to fiddle :)
15:43:14 <springmeyer> (e.g. I've never used it, but let me know when you figure it out :) )
16:44:50 <kets> Hello everybody.
16:45:10 <kets> Someone is here?
16:45:28 <springmeyer> yup
16:45:50 <kets> Can I ask a couple of questions?
16:46:04 <springmeyer> why not?
16:46:09 <ser> :-)
16:46:17 <kets> :)
16:46:20 <kets> щту ьщьуте
16:46:25 <kets> one moment
16:46:51 <kets> i compile mapnik from source
16:46:52 <ser> pa russkij wy mozetie gawarit
16:46:57 <ser> ;-)
16:47:00 <kets> Елки
16:47:03 <kets> отлично :)
16:47:11 <ser> niet niet
16:47:31 <ser> ja nie znaju ruskich bukw
16:47:41 <ser> :-)
16:48:12 <kets> ok
16:48:32 <ser> but seriously definitely use english, please
16:49:44 <kets> I want to compile mapnik support Oracle
16:50:04 <kets> i have ubuntu 8.10 and Oracle XE client
16:50:15 <kets> python scons/scons.py configure INPUT_PLUGINS=raster,shape,occi BOOST_LIBS=/usr/lib BOOST_LIBS=/usr/include/boost PROJ_LIBS=/usr/lib OCCI_LIBS=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib OCCI_INCLUDES=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/rdbms/public
16:50:46 <kets> I pointed references to the libraries and headers
16:50:50 <springmeyer> kets: I would recommend sending an email to the mapnik list
16:50:53 <kets> but
16:51:07 <kets> Checking for requested plugins dependencies...
16:51:07 <kets> Checking for C++ library ociei... no
16:51:07 <kets> Checking for C++ header file boost/python/detail/config.hpp... yes
16:51:07 <kets> Checking for pkg-config... yes
16:51:07 <kets> Checking for pycairo... yes
16:51:08 <kets> All Required dependencies found!
16:51:10 <kets> Overwriting and re-saving file 'config.py'...
16:51:12 <kets> Will hold custom path variables from commandline and python config file(s)...
16:51:14 <kets> However, these optional dependencies were not found:
16:51:16 <kets>    - ociei
16:51:22 <springmeyer> Lucia is not around (kunitoki) and is they only one that knows about the plugin
16:51:44 <springmeyer> it is looking for libociei
16:51:51 <kets> what is ociei
16:51:59 <springmeyer> kets, can you http://dpaste.com your 'config.log'
16:52:06 <ser> probably oracle spatial extensions
16:52:07 <springmeyer> ociei is one of the oracle libaries
16:52:22 <kets> where can I get these libraries?
16:52:33 <ser> do you have installed not only oracle developement but spatial developement libraries?
16:52:40 <springmeyer> I have no idea, I have never used oracle
16:52:41 <ser> probably on oracle spatial dvd
16:53:37 <kets> No comment
16:53:51 <kets> I just installed the client
16:53:59 <ser> although we are "oracle excelence site" i have no oracle experience at all
16:54:13 <ser> kets: it may be not enough, you need to copy the whole dvd
16:54:49 <ser> and check twice you have installed oracle spatial
16:55:44 <kets> You can make a link to a DVD?
16:56:12 <kets> The site I have not found anything like this
16:56:29 *** sanjiv has quit (Connection timed out)
16:56:32 <kets> Sorry for my english
16:56:40 <kets> it's google translate
16:57:39 <ser> haha, google translate is cool. no, sorry, you have to look for oracle spatial
16:59:47 *** sanjiv (n=sanjiv@59.180.130.10) has joined #mapnik
17:00:00 <kets> I have a DVD with only the installation of Oracle DB on Windows
17:04:31 <ser> you need to have oracle spatial extensions as well
17:04:47 <ser> i do not know if they are included on a standard DVD
17:06:21 <kets> Do you know the author of the plugin?
17:07:41 <ser> <@springmeyer> Lucia is not around (kunitoki) and is they only one that knows about the plugin
17:08:20 <kets> Oh, I see
17:19:59 <kets> Can you give me a mail  Lucia.
17:30:12 <springmeyer> .g  initial OGR support, needs testing and happy  coders to improve support
17:30:13 <nikq> springmeyer: http://news.gmane.org/gmane.comp.gis.mapnik.devel
17:30:42 <springmeyer> sorry that didn't work
17:30:43 <springmeyer> kunitoki@gmail.com
17:30:59 <kets> thanks
17:31:04 <springmeyer> but I would recommend sending an email to mapnik-devel
17:31:08 <springmeyer> he subscribes
17:31:23 <kets> ok
17:42:04 <ser> hmm, it looks i cannot connect to wms from qgis
17:42:11 <ser> i mean i can get a list of layers
17:42:31 <ser> but later when i'd like to request a particular layer
17:42:59 <ser> it tries to reach http://10.0.0.1/ when i have it running
17:43:19 <ser> so WMS provides an internal address
17:43:19 <kets> One moment
17:43:33 <ser> instead of external provided by the proxy
17:45:28 <ser> imho there should be a parameter in ogcserver.conf to provide a valid address
17:45:43 <ser> springmeyer: what do you think about it?
17:48:07 <springmeyer> ser: it is fetched via the PATH_INFO wsgi variable
17:49:23 <ser> so it does not allow proxing
17:49:49 <springmeyer> not as is no
17:50:02 <springmeyer> I think that TileCache's wsgi implementation does/might
17:50:10 <springmeyer> you could look for idea there
17:50:21 <springmeyer> or add an option to override the base url from the config
17:50:34 <ser> i use tilecache as fcgi
17:51:13 <ser> where do you think this option should be set? ogcserver.conf ?
17:51:23 <springmeyer> ya
17:52:08 <ser> in [server] group?
17:52:26 <springmeyer> cant recall...
18:01:30 <ser> -        onlineresource = 'http://%s:%s%s?' % (environ['SERVER_NAME'], environ['SERVER_PORT'], environ['PATH_INFO'])
18:01:33 <ser> +	if not self.conf.has_option_with_value('server', 'onlineresource'):
18:01:35 <ser> something like that?
18:01:38 <ser> +            onlineresource = 'http://%s:%s%s?' % (environ['SERVER_NAME'], environ['SERVER_PORT'], environ['PATH_INFO'])
18:02:10 <springmeyer> ya
18:02:49 <ser> ok i'll send you a patch shortly
18:02:59 <springmeyer> ticket
18:05:40 <ser> you mean i should create a ticket first?
18:06:18 <springmeyer> ya, ticket for lack of support for proxies with onlineresource
18:06:23 <springmeyer> attach patch
18:06:38 <springmeyer> then we'll need patch against all wrappers
18:06:41 <springmeyer> etc, etc
18:07:14 <springmeyer> tickets are good tracking even if we know exactly how to solve a problem - for users who might encounter later
18:08:01 <ser> Ok, sure
18:08:33 <springmeyer> thx
18:19:50 <nikq> Mapnik Trac: Ticket #316 (OGCserver does not work properly through a reverse proxy in WSGI mode) created | http://trac.mapnik.org/ticket/316
18:20:20 <nikq> Mapnik Trac: wsgi.py.diff attached to Ticket #316 | http://trac.mapnik.org/attachment/ticket/316/wsgi.py.diff
18:24:50 <ser> yeah, i am a mapnik coder, i have added 1047 bytes of code!! :-P
18:25:03 <springmeyer> watch out!
18:44:11 <nikq> Mapnik Trac: cgiserver.py.diff attached to Ticket #316 | http://trac.mapnik.org/attachment/ticket/316/cgiserver.py.diff
18:59:27 *** Ldp__ (n=thid@osm.xs4all.nl) has joined #mapnik
19:26:26 *** rcoup (n=rcoup@ip-118-90-23-233.xdsl.xnet.co.nz) has joined #mapnik
19:40:29 *** synax has quit ()
19:42:46 *** sanjiv has quit ("ChatZilla 0.9.84 [Firefox 3.0.8/2009032711]")
20:04:39 <nikq> Mapnik Trac: feature_style_processor.diff attached to Ticket #308 | http://trac.mapnik.org/attachment/ticket/308/feature_style_processor.diff
20:05:30 <nikq> Mapnik Trac: Ticket #308 (Doesn't display feature if another (possibly invalid) feature is present) updated | http://trac.mapnik.org/ticket/308#comment:2
20:16:48 *** artem_ (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik
20:43:01 *** artem_ has quit ()
20:51:03 *** rcoup_ (n=rcoup@ip-118-90-63-126.xdsl.xnet.co.nz) has joined #mapnik
20:59:38 *** rcoup has quit (Read error: 110 (Connection timed out))
21:14:45 <cmarqu> http://plepe.at/89 - the house numbers stuff is interesting
22:00:11 <springmeyer> cool: Dominic just emailed me that mapnik 0.6.0 just got accepted to debian unstable
22:00:21 <springmeyer> 14 days after release - thats cool
22:00:22 <springmeyer> http://packages.qa.debian.org/m/mapnik.html
22:03:27 <ser> gratz
22:03:47 <ser> so we are one step from lenny backports
23:38:05 *** Ldp__ has quit ()