#mapnik log: Thursday 02, April 2009

2009 | 04

previous | next
00:01:55 <ser> how many GB of ram do i need to osm2pgsql planet without -C ?
00:02:51 <ser> i've just noticed 8GB is not enough :-(
00:03:28 <springmeyer> --slim ?
00:05:43 <ser> yes
00:05:51 <ser> i mean without slim
00:06:05 <springmeyer> i think >=12
00:06:43 <ser> thanks :)
00:07:52 <ser> heh and SSD drives as well ;)
00:09:41 <springmeyer> :)
00:27:53 <ser> springmeyer: thanks again, so i am starting --slim 6000 now, another 24 hours...
00:33:15 <springmeyer> good luck! :)
00:37:24 <nikq> Mapnik Trac: WindowsInstallation edited | http://trac.mapnik.org/wiki/WindowsInstallation?version=17
00:37:38 <nikq> Mapnik Trac: WindowsInstallation edited | http://trac.mapnik.org/wiki/WindowsInstallation?version=18
01:06:04 *** dibblego has quit ("Leaving")
01:19:19 <ser> what is the difference between tilecache and mapnik ogcserver?
01:51:59 <springmeyer> ser: OGCServer does WMS - so can accept any arbirary bounding box query and is suited to rendering on demand
01:53:06 <springmeyer> TileCache either stands in front of a WMS server to act as a caching service or accepts specific tile URI requests
01:53:20 <springmeyer> like 34/56/23.png
01:54:00 <springmeyer> vs WMS services which accept requests via a QUERY string like ?bbox=-122,48,-120,45
01:55:32 <ser> ok, so i can use mapnik directly in tilecache or call it through ogcserver?
01:55:47 <springmeyer> yes
01:55:58 <springmeyer> or call the ogcserver through tilecache :)
01:56:16 <springmeyer> tilecache does a lot of things :)
01:56:20 <ser> ok, i am slowly trying to understand it - thanks!
01:56:31 <springmeyer> ser - what is your overall goal?
01:56:42 <ser> phd @ gis ;-P
01:57:11 <springmeyer> ah cool
01:57:51 * springmeyer was thinking, are you serving complex data like OSM or more simple data...
01:57:55 <ser> but seriously, currently i am just investigating what interesting i can do with osm what is not available in ordnance survey maps
01:59:14 <springmeyer> okay. gocha
02:00:15 <springmeyer> serving osm with decent speed usually requires pre-generating or caching tiles if you site has much traffic
02:00:20 <ser> and i need a fast wms with osm to compare them
02:00:57 <ser> no, i think i can use tileache through fastcgi and it would be sufficient for my uni research
02:00:58 <springmeyer> so by fast you mean fast dynamic (on demand) rendering?
02:02:17 <ser> definitely dynamic but maybe with memcache, i've just ordered a machine with 64GB ram
02:03:18 * springmeyer faints
02:03:58 <ser> ;-)
02:04:48 <ser> so in such a scenario when i need to render osm through mapnik what imay be an adventage of using ogcserver?
02:05:44 <ser> GetFeatureInfo? GetCapabilities?
02:06:50 <springmeyer> hmm, sure those are features of WMS that are useful, if you need to query the server for info other than the actual tiles
02:07:29 <springmeyer> the main advantage of the ogcserver is the ability to dynamically contruct combinations of layers and styles via the query string
02:07:51 <ser> so after conversion planet-postgres are there any interesting stuff which i can query apart of tiles?
02:08:15 <ser> sorry for stupid and basic questions
02:08:17 * springmeyer needs to head off to dinner
02:08:27 <springmeyer> no worries, talk to you later
02:08:30 <ser> as i am definitely on first stage of understanding
02:08:33 <ser> thanks
02:08:47 <ser> i am going to bed, as here is 3am
02:08:53 <ser> have a good day :)
02:09:01 <springmeyer> thanks
02:09:05 <springmeyer> see ya
02:09:08 <ser> see ya
02:11:35 <ser> btw, i've asked my city to provide me a list of all parking tickets from 2004, including places and registration numbers, just t have a good material to aggregate and present on top of osm
02:11:59 <ser> but they have 20 days to respond ;-D
02:14:51 <ser> it is my first attempt to chekc if the uk freedom of information act is working
03:56:14 *** d3f0 has quit (brown.freenode.net irc.freenode.net)
03:56:14 *** JeLuF has quit (brown.freenode.net irc.freenode.net)
03:56:47 *** jlivni has quit (brown.freenode.net irc.freenode.net)
03:57:29 *** jlivni (n=josh@76.14.74.234) has joined #mapnik
03:57:54 *** d3f0 (n=defo@190.176.247.163) has joined #mapnik
03:57:54 *** JeLuF (i=jf@mormo.org) has joined #mapnik
04:25:32 <CIA-6> mapnik-utils: dane.springmeyer * r612 /sandbox/ports/graphics/py25-mapnik/Portfile: move py25-mapnik to fetch from tar release
04:30:29 <CIA-6> mapnik-utils: dane.springmeyer * r613 /sandbox/ports/graphics/py25-mapnik/Portfile: fix up checksums
04:34:32 <CIA-6> mapnik-utils: dane.springmeyer * r614 /sandbox/ports/graphics/py25-mapnik/Portfile: fix up checksums
04:34:33 <CIA-6> mapnik-utils: dane.springmeyer * r615 /sandbox/ports/graphics/py25-mapnik-devel/Portfile: switch name
04:50:37 <CIA-6> mapnik-utils: dane.springmeyer * r616 /sandbox/ports/graphics/py25-mapnik/mapnik-0.6.0.tar.bz2: checksums are borked from berlios - trying from here
04:50:38 <CIA-6> mapnik-utils: dane.springmeyer * r617 /sandbox/ports/graphics/py25-mapnik/Portfile: update url
04:52:33 <racicot> springmeyer: you are an animal...
04:54:40 <CIA-6> mapnik-utils: dane.springmeyer * r618 /sandbox/ports/graphics/py25-mapnik/Portfile: another try with the checksums macports thinks it sees
04:54:40 <springmeyer> :)
05:40:08 *** ajturner (n=ajturner@209.155.228.129) has joined #mapnik
05:40:38 *** __d3f0__ (n=defo@190.176.200.52) has joined #mapnik
05:44:27 <ajturner> CJK fonts?
05:44:34 <ajturner> is that only in 0.6 (congrats btw)
05:46:15 <springmeyer> thx ajturner
05:46:52 <springmeyer> unicode support was in 0.5.x just works better now
05:47:03 <springmeyer> I've heard jburgess mention 'unifont' for osm
05:47:12 <ajturner> so I'm trying to render OSM tiles with 0.5.1 (methinks) and it's not rendering mandarin/japanese...
05:47:30 <springmeyer> boxes?
05:47:42 <ajturner> rectangles - instead of characters
05:48:02 <springmeyer> ya, gocha
05:48:53 <ajturner> easy fix? by dropping in fonts?
05:50:11 <springmeyer> worth a try :)
05:51:24 <springmeyer> if that does not work with unifont next thing to try would be to
05:51:44 <springmeyer> upgrade to 0.6.0 and try the 'fallback' font support:
05:51:46 <springmeyer> http://trac.mapnik.org/wiki/FontSet
05:53:26 <ajturner> upgrading to 0.6 isn't an option in this particular instance
05:54:01 <ajturner> where are the add'l fonts? like TSC FMing S TT Regular?
05:54:03 *** d3f0 has quit (Connection timed out)
05:55:00 <springmeyer> up to you to find them, then you'll need to register them with Mapnik, or drop them in the directory where the
05:55:10 <springmeyer> DejaVu fonts are put during install
05:55:39 <springmeyer> >>> from mapnik import paths
05:55:39 <springmeyer> >>> paths.fontscollectionpath
05:55:39 <springmeyer> '/usr/local/lib/mapnik/fonts'
05:56:02 <ajturner> yeah, I have the DejaVu fonts
05:56:24 <ajturner> and there are arabic fonts, but no readily available CJK fonts
05:56:28 <ajturner> ?
05:56:30 <springmeyer> right, just saying that the python bindings automatically register those by their location
05:56:37 <springmeyer> ah
05:56:47 <springmeyer> where to find them, I'm not sure
05:58:00 <springmeyer> http://unifoundry.com/unifont.html
05:58:17 <springmeyer> "he versions with "-jp" in the name preserve Roman Czyborra's original CJK glyphs, which he obtained from a public domain Japanese font."
05:58:41 <ajturner> superb
05:58:42 <ajturner> !
06:02:48 <ajturner> how do you get the name of the font? for example, I assume DejaVuSans.ttf is DejaVu Sans Book
06:02:53 <ajturner> vs. Bold, or Oblique
06:03:00 <ajturner> os the unifont-5.1....ttf
06:03:08 <springmeyer> oh and ajturner: did you see I added ruby binding to the 0.6.0 release?
06:03:13 <ajturner> OH REALLY
06:03:14 <ajturner> I did not
06:03:19 <ajturner> super hot! :)
06:03:24 <ajturner> we were just talkinga bout that today
06:03:47 <springmeyer> and KML printing support too
06:04:44 <ajturner> what does that mean? load via KML and export to image?
06:04:54 <springmeyer> (sorry) only an hour left before april 2
06:05:01 <ajturner> awwww...
06:05:02 * springmeyer ducks
06:05:02 <ajturner> :p
06:05:23 <ajturner> and here I thought you were really rocking it out, instead of just plain rocking it out ;)
06:05:43 <springmeyer> but, would love to see those things happen :)
06:06:05 <ajturner> well, we'll definitely be adding Ruby binding
06:06:07 <ajturner> bindings
06:06:20 <ajturner> maybe KML - running into pain points with Shapefile loading
06:06:43 <ajturner> actually, would like to see loading from Spatiallite :)
06:06:54 <springmeyer> cool, I'd love to see a note on how you'd imagine that working
06:07:04 <springmeyer> ah sqlite - ya it rocks
06:07:17 <springmeyer> I've been playing with a portable osm db in sqlite
06:07:35 <ajturner> oh? yeah, think it can knock off shapefiles and pre-empty File Geodatabases
06:07:40 <ajturner> just need to get it out there and tools using it
06:08:21 <springmeyer> yes. I sure hope so
06:08:36 <springmeyer> geodjango added support this week
06:09:11 <ajturner> nice
06:09:22 <springmeyer> oh, so font names....
06:09:32 <springmeyer> >>> from mapnik import FontEngine>>> for font in FontEngine.face_names():
06:09:32 <springmeyer> ...   print font
06:09:38 <springmeyer> upps
06:10:08 <springmeyer> from mapnik import FontEngine
06:10:08 <springmeyer> for font in FontEngine.face_names():
06:10:08 <springmeyer>    print font
06:11:08 <ajturner> well, my terminal decided to go bonk after I did a cat unifont...
06:11:16 <springmeyer> ajturner: I'm crashing - been at it too long today
06:11:28 <ajturner> yeah, I hear taht - it's well into April 2 for me
06:11:33 <ajturner> thx
06:11:36 <springmeyer> I'd love to hear what you are thinking re ruby and kml sometime soon
06:11:49 <ajturner> def, have something to deliver by end of April
06:11:53 <ajturner> so will be out before then
06:11:53 * springmeyer may be at mapsfromscratch/where2.0
06:11:59 <springmeyer> oh cool
06:12:05 <ajturner> that too
06:12:10 <springmeyer> well, see you here soon them
06:12:59 <springmeyer> good luck with unifont!
06:25:21 <ajturner> awesome! works springmeyer
06:25:22 <ajturner> thx
06:52:09 *** xcacou (n=aga@AToulouse-157-1-47-254.w86-201.abo.wanadoo.fr) has joined #mapnik
06:52:42 *** ajturner has quit ()
08:08:46 *** d3f0 (n=defo@190.176.200.52) has joined #mapnik
08:22:47 *** __d3f0__ has quit (Connection timed out)
08:23:57 *** __d3f0__ (n=defo@190.176.200.52) has joined #mapnik
08:24:15 *** d3f0 has quit (Remote closed the connection)
09:59:53 *** d3f0 (n=defo@190.176.205.114) has joined #mapnik
10:04:16 *** __d3f0__ has quit (Read error: 104 (Connection reset by peer))
10:46:48 *** d3f0 has quit (Remote closed the connection)
11:23:15 *** w0lfie_ has quit ("Leaving")
11:40:43 *** xcacou_ (n=aga@AToulouse-157-1-87-235.w86-213.abo.wanadoo.fr) has joined #mapnik
11:55:15 *** aub has quit ()
11:57:41 *** xcacou has quit (Read error: 110 (Connection timed out))
12:22:27 *** w0lfie_ (n=wolf@cpe-67-49-133-78.hawaii.res.rr.com) has joined #mapnik
12:54:07 *** synax (n=synax@24.222.57.182) has joined #mapnik
13:29:19 *** sanjiv (n=chatzill@59.180.176.152) has joined #mapnik
13:56:11 *** aub (n=aubrey@216.156.96.6.ptr.us.xo.net) has joined #mapnik
14:09:31 <nikq> Mapnik Trac: XMLConfigReference edited | http://trac.mapnik.org/wiki/XMLConfigReference?version=18
14:11:21 *** sanjiv has quit (Connection timed out)
14:16:37 <nikq> Mapnik Trac: XMLConfigReference edited | http://trac.mapnik.org/wiki/XMLConfigReference?version=19
14:17:50 *** sanjiv (n=chatzill@59.180.142.114) has joined #mapnik
14:18:17 *** scruggs (n=chris@72-161-108-35.dyn.centurytel.net) has joined #mapnik
14:31:52 <synax> does Map not have an Envelope? m = Map(...), print m.envelope
14:33:08 <synax> nvm... m.envelope()
14:43:00 *** cmarqu has quit (Read error: 104 (Connection reset by peer))
15:04:51 <springmeyer> synax: http://svn.mapnik.org/trunk/docs/api_docs/python/mapnik._mapnik.Map-class.html
15:05:47 <synax> bookmarked
15:22:15 <nikq> Mapnik Trac: MapnikRenderers edited | http://trac.mapnik.org/wiki/MapnikRenderers?version=14
15:24:27 <nikq> Mapnik Trac: MacInstallationSource edited | http://trac.mapnik.org/wiki/MacInstallationSource?version=6
15:24:48 <nikq> Mapnik Trac: PluginArchitecture edited | http://trac.mapnik.org/wiki/PluginArchitecture?version=13
15:39:25 *** scruggs has quit ("leaving")
15:43:05 <nikq> Mapnik Trac: Ticket #287 (Missing const identifier at include/mapnik/map.hpp) created | http://trac.mapnik.org/ticket/287
15:43:25 <nikq> Mapnik Trac: map_hpp_const.diff attached to Ticket #287 | http://trac.mapnik.org/attachment/ticket/287/map_hpp_const.diff
15:43:28 *** xcacou_ has quit (Remote closed the connection)
15:47:21 <nikq> Mapnik Trac: Ticket #287 (Missing const identifier at include/mapnik/map.hpp) updated | http://trac.mapnik.org/ticket/287#comment:1
16:00:37 <CIA-6> mapnik-utils: dane.springmeyer * r619 /trunk/nik2img/ (5 files in 2 dirs): version bump to 0.2.3, ditch setuptools, setup for final release in 2.x series
16:13:02 <CIA-6> mapnik-utils: dane.springmeyer * r620 /tags/nik2img/ (7 files in 3 dirs): tag nik2img 0.2.3 release
16:17:10 <CIA-6> mapnik-utils: dane.springmeyer * r621 /trunk/nik2img/nik2img.py: bump svn version to 0.3.0SVN
16:22:33 <CIA-6> mapnik-utils: dane.springmeyer * r622 /tags/nik2img/nik2img-0.2.3.tar.gz: add tar ball of 0.2.3
16:31:21 *** synax has quit ()
16:34:02 <nikq> Mapnik Trac: Ticket #273 (compiler warnings on os x after r1043) closed | http://trac.mapnik.org/ticket/273#comment:3
16:35:13 <nikq> Mapnik Trac: Changeset [1070]: fix missing const - thanks Denis - closes #273 and #287 | http://trac.mapnik.org/changeset/1070
16:35:54 <nikq> Mapnik Trac: Ticket #273 (compiler warnings on os x after r1043) updated | http://trac.mapnik.org/ticket/273#comment:4
16:36:35 <nikq> Mapnik Trac: Ticket #287 (Missing const identifier at include/mapnik/map.hpp) closed | http://trac.mapnik.org/ticket/287#comment:2
16:46:41 *** springmeyer has quit ()
17:12:31 <CIA-6> mapnik-utils: dane.springmeyer * r623 /wiki/Nik2Img.wiki: Edited wiki page through web user interface.
18:55:57 *** D3f0 (n=defo@190.176.221.143) has joined #mapnik
19:26:18 *** D3f0 has quit (Remote closed the connection)
20:12:34 *** sanjiv has quit (Read error: 110 (Connection timed out))
20:44:33 <nikq> Mapnik Trac: ChangeLog created | http://trac.mapnik.org/wiki/ChangeLog?version=1
20:46:26 <nikq> Mapnik Trac: Release0.6.0 created | http://trac.mapnik.org/wiki/Release0.6.0?version=1
20:47:26 <nikq> Mapnik Trac: Release0.6.0 edited | http://trac.mapnik.org/wiki/Release0.6.0?version=2
20:48:17 <nikq> Mapnik Trac: Release0.6.0 edited | http://trac.mapnik.org/wiki/Release0.6.0?version=3
20:49:18 <nikq> Mapnik Trac: Release0.6.0 edited | http://trac.mapnik.org/wiki/Release0.6.0?version=4
21:28:29 *** scruggs (n=chris@72-161-108-35.dyn.centurytel.net) has joined #mapnik
21:56:09 *** cmarqu (i=colin@oemcomputer.oerks.de) has joined #mapnik
23:12:23 *** jburgess_ (n=jburgess@bb-87-80-234-70.ukonline.co.uk) has joined #mapnik
23:13:07 *** jburgess has quit (Read error: 104 (Connection reset by peer))
23:29:11 *** aub has quit ()
23:32:26 <nikq> Mapnik Trac: Ticket #288 (Setup of Sphinx for Docs) created | http://trac.mapnik.org/ticket/288
23:34:38 <nikq> Mapnik Trac: Ticket #289 (Documentation for the OSM plugin) created | http://trac.mapnik.org/ticket/289
23:37:42 <nikq> Mapnik Trac: Ticket #125 (Basic Translations of Mapnik tutorials) updated | http://trac.mapnik.org/ticket/125#comment:9
23:37:52 <nikq> Mapnik Trac: Ticket #260 (Problem using PostGIS functions containing "from" in SQL queries) updated | http://trac.mapnik.org/ticket/260#comment:2
23:38:12 <nikq> Mapnik Trac: Ticket #54 (Support for overviews in gdal input plug-in) updated | http://trac.mapnik.org/ticket/54#comment:6
23:38:33 <nikq> Mapnik Trac: Ticket #234 (mapnik::Parameters don't correctly handle boost::variant pickling) updated | http://trac.mapnik.org/ticket/234#comment:3
23:39:03 <nikq> Mapnik Trac: Ticket #280 (Return featureset of list containing dictionary of field->value pairs) updated | http://trac.mapnik.org/ticket/280#comment:1
23:46:58 *** weizhuo (n=chatzill@nat/yahoo/x-47a48235f8cf3a93) has joined #mapnik
23:57:39 <nikq> Mapnik Trac: Ticket #93 (Allow for 'halo_radius' to be set as float value) updated | http://trac.mapnik.org/ticket/93#comment:3
23:57:51 <nikq> Mapnik Trac: Ticket #29 (Add python docstrings to boost:python bindings) updated | http://trac.mapnik.org/ticket/29#comment:11
23:58:12 <nikq> Mapnik Trac: Ticket #124 (Document the Make build approach) updated | http://trac.mapnik.org/ticket/124#comment:2
23:58:32 <nikq> Mapnik Trac: Ticket #194 (Mapnik Wikipedia page) updated | http://trac.mapnik.org/ticket/194#comment:1
23:59:43 <nikq> Mapnik Trac: Ticket #147 (Allow ability to read datasource paths relative to the xml during  ...) updated | http://trac.mapnik.org/ticket/147#comment:1