#mapnik log: Sunday 28, March 2010

2010 | 03

previous | next
00:18:58 *** c_lopez (~ccaarloos@189.169.194.29) has joined #mapnik
00:23:34 *** c_lopez has parted #mapnik (None)
00:25:29 *** c_lopez (~ccaarloos@189.169.194.29) has joined #mapnik
00:57:56 *** c_lopez has quit (Quit: c_lopez)
01:04:13 *** jburgess has quit (Ping timeout: 264 seconds)
01:22:56 *** rweait (~nerd@bas2-toronto47-1242436670.dsl.bell.ca) has joined #mapnik
01:25:47 *** rweait1 has quit (Ping timeout: 276 seconds)
02:14:24 *** mperry_ (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
02:14:24 *** mperry has quit (Read error: Connection reset by peer)
02:14:25 *** mperry_ is now known as mperry
02:29:54 *** ultrus (~chris@c-75-70-249-158.hsd1.co.comcast.net) has joined #mapnik
02:30:08 *** mperry has quit (Quit: mperry)
02:32:06 *** haoyu (~bhy@cm26.delta25.maxonline.com.sg) has joined #mapnik
02:32:38 *** ultrus has quit (Client Quit)
04:48:51 *** dukeku_ has quit (Remote host closed the connection)
05:43:38 *** c_lopez (~ccaarloos@189.169.194.29) has joined #mapnik
05:48:41 <hesco> can I mix and match datasources for different layers when rendering a map, or do I need to somehow convert an xml file into a shape file?
05:50:11 <dodobas> you, can but datasoruces need to be supported
05:51:01 *** c_lopez has quit (Ping timeout: 264 seconds)
05:53:39 <hesco> ok
05:55:45 <hesco> so if I have geo-coded data, and a bunch of TIGER shape files, what would be the easiest way to create a layer of that new data and add it in?
05:56:16 <hesco> my perl scripting is strong, can I add an xml file to the mix and have that work?
05:58:07 <hesco> and where would mapnik.Layer be documented?  I can't find 'layer' in pydoc mapnik.
05:58:33 <hesco> nearly as new to python as I am to mapping technologies.
05:59:08 <dodobas> hesco: you could convert geocoded data to shape files...
06:00:17 <hesco> what tool would I use to do that?
06:01:25 <dodobas> qgis
06:01:32 <dodobas> or ogr-gdal
06:02:05 <dodobas> you could script ogr...
06:02:47 <hesco> sweet, was hoping for a scriptable solution.
06:02:53 <hesco> thanks
06:12:22 <hesco> On a debian box I just installed gdal-bin, but can not seem to find any documentation for it.  Am I barking up the right tree?  I could find no mention of ogr-anything in the apt-cache search.
06:14:32 <dodobas> documentation for gdal-ogr is not good
06:15:08 <dodobas> http://search.cpan.org/~ajolma/Geo-GDAL-0.20/lib/Geo/OGR.pod
06:24:57 <hesco> thank you, installing that now.  I especially appreciate the perl interface to all of this.
06:25:12 <hesco> But I see what you mean about the documentation.
06:25:32 <hesco> I'm praying for some useful t/*.t scripts to provide guidance.
10:24:31 *** Genscher (~Richard@dslb-088-067-160-218.pools.arcor-ip.net) has joined #mapnik
10:58:52 *** luneff (~yury@93.178.72.103) has joined #mapnik
11:14:12 *** jburgess (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
12:32:37 *** Ldp__ (~thid@osm.xs4all.nl) has joined #mapnik
12:46:03 *** jburgess has quit (Ping timeout: 276 seconds)
12:46:03 *** tomhughes has quit (Ping timeout: 276 seconds)
12:48:54 *** tomhughes (~tom@2001:8b0:bd:1:204:e2ff:fe22:eba9) has joined #mapnik
12:49:25 *** jburgess (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
13:10:57 *** tomhughes has quit (Read error: Operation timed out)
13:11:40 *** jburgess has quit (Ping timeout: 276 seconds)
13:18:32 *** jburgess (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
13:24:14 *** tomhughes (~tom@gosford.compton.nu) has joined #mapnik
13:24:22 *** mperry (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
13:38:03 *** jburgess_ (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
13:38:25 *** jburgess has quit (Ping timeout: 264 seconds)
14:03:24 *** tomhughes has quit (Ping timeout: 276 seconds)
14:03:26 *** jburgess_ has quit (Ping timeout: 246 seconds)
14:07:00 *** mperry has quit (Quit: mperry)
14:11:07 *** tomhughes (~tom@gosford.compton.nu) has joined #mapnik
14:11:54 *** jburgess_ (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
14:13:59 *** luneff has quit (Read error: Connection reset by peer)
14:14:38 *** luneff (~yury@93.178.80.102) has joined #mapnik
14:16:53 *** ultrus (~chris@c-75-70-249-158.hsd1.co.comcast.net) has joined #mapnik
14:18:14 *** tomhughes has quit (Read error: Operation timed out)
14:20:16 *** jburgess_ has quit (Ping timeout: 246 seconds)
14:22:31 *** ultrus has quit (Quit: happy new year)
14:23:57 *** tomhughes (~tom@gosford.compton.nu) has joined #mapnik
14:27:49 *** jburgess_ (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
14:36:49 *** Genscher has quit (Quit: Leaving)
15:04:08 *** Genscher (~Richard@dslb-088-067-160-218.pools.arcor-ip.net) has joined #mapnik
15:07:04 <hesco> I'm working to add a new layer to existing TIGER data, using perl's Geo::GDAL.  How will I know what value to give the srs key in the ->CreateLayer method?
15:11:07 *** bcrosby has parted #mapnik (None)
15:18:15 *** dukeku (dukeku@adhd.irule.net) has joined #mapnik
15:28:56 *** and1bm (~andi@p5B2ED909.dip.t-dialin.net) has joined #mapnik
15:29:31 <and1bm> how can I prepare transparent tiles?
15:29:58 <and1bm> I try to prepare a single layer with contour lines
15:30:22 <jburgess_> and1bm: you want to start by setting the map bgcolor to "transparent"
15:31:08 <and1bm> Thats what I did, but the tiles are still not transparent
15:31:22 <jburgess_> what is your output format, png, png256 etc?
15:31:47 <jburgess_> do you also have any land polygons?
15:32:01 <and1bm> I use a modified osm.xml, did not change anything: png
15:32:29 <jburgess_> ok, if you started with the osm.xml you will need to disable the rules which render the land polygons
15:32:53 <and1bm> ah, great I try that!
15:34:16 <jburgess_> then you will probably ask if you can have some inverted land/sea polygons so you can clip the countour lines along the coast. I don't think there is any simple/documented answer for how to generate them.
15:35:51 <and1bm> well, for now I am far from the see, so cliping is not essential
15:36:16 <and1bm> perhaps I just remove all rules I do not need?
15:39:08 <jburgess_> If you just want contour lines then you might needs as little as one layer & style
15:40:01 <and1bm> yeah, the Idea is to ad this layer to osm with viking by using a lokal tile server
15:41:08 <jburgess_> If you want some more complex styles to add the heights and make every 50m contour bold etc then you might want to read up on http://wiki.openstreetmap.org/wiki/Contours
15:41:48 <and1bm> I am trying exactly that.
15:49:48 <and1bm> hey, it worked! Great stuff. Thanks :)
16:14:27 <dkb> I think version 2 of the SRTM data is already clipped to land
16:14:41 <dkb> version 1 was not
16:42:39 *** haoyu has quit (*.net *.split)
16:42:39 *** jburgess_ has quit (*.net *.split)
16:42:40 *** BillK has quit (*.net *.split)
16:42:41 *** crust has quit (*.net *.split)
16:42:41 *** cmarqu has quit (*.net *.split)
16:42:41 *** Ldp__ has quit (*.net *.split)
16:42:42 *** and1bm has quit (*.net *.split)
16:42:42 *** rweait has quit (*.net *.split)
16:42:42 *** twain47 has quit (*.net *.split)
16:42:43 *** hesco has quit (*.net *.split)
16:42:43 *** tomhughes has quit (*.net *.split)
16:42:44 *** sam` has quit (*.net *.split)
16:42:44 *** dodobas has quit (*.net *.split)
16:42:45 *** jctull has quit (*.net *.split)
16:42:45 *** mikejs has quit (*.net *.split)
16:42:45 *** mapnikbuild has quit (*.net *.split)
16:42:51 *** bitterman (~yury@93.178.80.102) has joined #mapnik
16:43:18 *** ser has quit (Ping timeout: 240 seconds)
16:43:18 *** CIA-23 has quit (Ping timeout: 240 seconds)
16:43:18 *** luneff has quit (Ping timeout: 240 seconds)
16:43:18 *** cgs_bob has quit (Ping timeout: 240 seconds)
16:43:19 *** Genscher has quit (Ping timeout: 240 seconds)
16:45:22 *** CIA-70 (cia@208.69.182.149) has joined #mapnik
16:45:22 *** cgs_bob (~bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
16:45:22 *** and1bm (~andi@p5B2ED909.dip.t-dialin.net) has joined #mapnik
16:45:22 *** jburgess_ (~jburgess@15.92.187.81.in-addr.arpa) has joined #mapnik
16:45:22 *** tomhughes (~tom@gosford.compton.nu) has joined #mapnik
16:45:22 *** Ldp__ (~thid@osm.xs4all.nl) has joined #mapnik
16:45:22 *** haoyu (~bhy@cm26.delta25.maxonline.com.sg) has joined #mapnik
16:45:22 *** rweait (~nerd@bas2-toronto47-1242436670.dsl.bell.ca) has joined #mapnik
16:45:22 *** jctull (~jctull@adsl-75-0-29-113.dsl.renocs.sbcglobal.net) has joined #mapnik
16:45:22 *** BillK (~BillK@124-148-220-8.dyn.iinet.net.au) has joined #mapnik
16:45:22 *** hesco (~hesco@c-24-99-160-121.hsd1.ga.comcast.net) has joined #mapnik
16:45:22 *** crust (~crust@vobster.nepharia.org) has joined #mapnik
16:45:22 *** cmarqu (colin@oemcomputer.oerks.de) has joined #mapnik
16:45:22 *** twain47 (~twain47@cpc8-shef7-0-0-cust85.barn.cable.virginmedia.com) has joined #mapnik
16:45:22 *** mikejs (~me@mikej.st) has joined #mapnik
16:45:22 *** sam` (~sam@glau.bulix.org) has joined #mapnik
16:45:22 *** dodobas (~dodobas@open.geof.hr) has joined #mapnik
16:45:22 *** mapnikbuild (~mapnikbui@miranda.nwcr.net) has joined #mapnik
16:46:38 *** ser (~ser@house.metalab.unc.edu) has joined #mapnik
16:51:28 *** hesco has quit (Ping timeout: 258 seconds)
16:52:52 *** hresco3 (~hesco@c-24-99-160-121.hsd1.ga.comcast.net) has joined #mapnik
16:53:27 *** Genscher (~Richard@dslb-088-067-160-218.pools.arcor-ip.net) has joined #mapnik
16:54:41 *** Ldp__ has quit (Ping timeout: 246 seconds)
16:54:43 *** mikejs_ (~me@mikej.st) has joined #mapnik
16:54:59 *** Ldp__ (~thid@osm.xs4all.nl) has joined #mapnik
17:00:22 *** ser has quit (Ping timeout: 264 seconds)
17:01:32 *** BillK has quit (*.net *.split)
17:01:33 *** mikejs has quit (Ping timeout: 260 seconds)
17:01:34 *** BillK (~BillK@124-148-220-8.dyn.iinet.net.au) has joined #mapnik
17:01:35 *** Ldp__ has quit (*.net *.split)
17:01:35 *** tomhughes has quit (*.net *.split)
17:01:35 *** serek (~ser@house.metalab.unc.edu) has joined #mapnik
17:01:52 *** Nicke has quit (Max SendQ exceeded)
17:02:13 *** Nicke (~niclasa@2001:16d8:ffa0:1:207:e9ff:fe6a:36ab) has joined #mapnik
17:09:11 *** Ldp__ (~thid@osm.xs4all.nl) has joined #mapnik
17:09:11 *** tomhughes (~tom@gosford.compton.nu) has joined #mapnik
17:13:46 *** cgs_bob_ (~bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
17:15:16 *** hresco3 has quit (*.net *.split)
17:15:16 *** cgs_bob has quit (*.net *.split)
17:25:24 *** andibm (~andi@p5B2ED909.dip.t-dialin.net) has joined #mapnik
17:25:39 *** and1bm has quit (Ping timeout: 245 seconds)
17:31:01 *** haoyu has quit (Ping timeout: 276 seconds)
17:31:03 *** rulus_ (~rulus@xvm-19-63.ghst.net) has joined #mapnik
17:31:04 *** rulus has quit (Read error: Connection reset by peer)
17:37:57 *** dkb has quit (Remote host closed the connection)
17:50:27 *** cmarqu has quit (Write error: Broken pipe)
17:50:48 *** cmarqu (colin@oemcomputer.oerks.de) has joined #mapnik
18:04:21 <nikq> Mapnik Trac: Ticket #542 (OSM input plugin caches too agressively) updated | http://trac.mapnik.org/ticket/542#comment:1
18:27:13 <nikq> Mapnik Trac: MapnikReleases edited | http://trac.mapnik.org/wiki/MapnikReleases?version=8
19:19:50 *** rulus_ is now known as rulus
19:37:01 *** blan (~blan@HSI-KBW-082-212-049-146.hsi.kabelbw.de) has joined #mapnik
19:37:50 <blan> hi
19:38:02 <blan> is it possible to install mapnik on freebsd?
19:38:54 <blan> because i got some strange errors while building mapnik
19:39:51 <jburgess_> blan: have you seen the link here: http://trac.mapnik.org/wiki/PackageBuilding
19:40:53 <jburgess_> if you post your errors to a pastebin somewhere then we may be able to help
19:41:28 <blan> jburgess_, yes i found it but its a very old version
19:42:21 <blan> jburgess_, yes i will post it
19:43:04 <jburgess_> 0.6.1 is not _that_ old, debian was (is?) still shipping 0.5 in some releases
19:43:46 <jburgess_> blan: are you trying to build a 0.7 version or trunk?
19:43:54 <blan> 0.7.1
19:44:14 <blan> but its the same with 0.7
19:44:22 <jburgess_> 0.7.1 should be a good choice
20:07:36 <blan> jburgess_, http://pastebin.com/fRHa5EQS
20:15:23 <jburgess_> that looks a bit like the mapped_file.hpp got included twice
20:15:45 <jburgess_> what version of boost do you have?
20:16:23 <blan> boost-libs-1.41.0_1
20:17:11 <jburgess_> see: http://www.mail-archive.com/mapnik-users@lists.berlios.de/msg02190.html & http://trac.macports.org/ticket/22631
20:18:01 <jburgess_> also https://svn.boost.org/trac/boost/ticket/3010
20:18:48 <jburgess_> it looks like this is a bug in boost which mapnik has hit before, there are patches in some of those links
20:25:00 <blan> wow thanks jburgess_
20:25:17 <blan> i wondering why freebsd has no patch for this problem
20:26:41 <jburgess_> sometimes people just need a bug report & then the packager will pull in one of the existing patches from another distro
20:38:34 *** ultrus (~chris@c-75-70-249-158.hsd1.co.comcast.net) has joined #mapnik
20:47:42 *** tomhughes has quit (Ping timeout: 276 seconds)
20:49:45 <ultrus> Howdy all. I'm having troubles with point text symbolizers sometimes not showing up (as confirmed at http://trac.mapnik.org/wiki/ShieldSymbolizer). Can I stylize shield symbolizers the same way as text symbolizers?
20:54:46 *** tomhughes (~tom@gosford.compton.nu) has joined #mapnik
20:57:48 *** cgs_bob_ has quit (Remote host closed the connection)
20:58:14 *** cgs_bob_ (~bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
21:11:46 <CIA-70> mapnik-utils: dane.springmeyer * r917 /trunk/nik2img/ (9 files in 3 dirs): repair support for latest Mapnik trunk (which now uses mapnik2 py module name), but defaulting to use mapnik2 if available - will need to think through adding a switch in the future to control version used perhaps
21:32:36 <nikq> Mapnik Trac: StyleShare edited | http://trac.mapnik.org/wiki/StyleShare?version=8
21:56:56 *** Genscher has quit (Quit: Leaving)
22:30:24 *** andibm has quit (Remote host closed the connection)
22:59:04 *** bitterman has quit (Quit: Leaving)
23:13:05 *** Ldp__ has quit ()
23:40:27 *** mperry (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
23:40:39 *** hesco (~hesco@c-24-99-160-121.hsd1.ga.comcast.net) has joined #mapnik