00:38:14 *** cmarqu_ has quit ("ChatZilla 0.9.84 [Firefox 3.0.7/2009030423]") 04:20:08 <nikq> Mapnik Trac: Ticket #258 (Document the minimum cairo, cairomm, and pycairo versions needed for the ...) created | http://trac.mapnik.org/ticket/258 04:25:44 <nikq> Mapnik Trac: Ticket #258 (Document the minimum cairo, cairomm, and pycairo versions needed for the ...) updated | http://trac.mapnik.org/ticket/258#comment:1 04:40:43 *** aub (n=aubrey@cpe-72-227-134-148.nyc.res.rr.com) has joined #mapnik 04:43:53 *** aub has quit (Client Quit) 10:52:52 <nikq> Mapnik Trac: Ticket #258 (Document the minimum cairo, cairomm, and pycairo versions needed for the ...) updated | http://trac.mapnik.org/ticket/258#comment:2 12:16:05 *** aub (n=aubrey@cpe-72-227-134-148.nyc.res.rr.com) has joined #mapnik 12:48:11 *** aura (n=wolf@cpe-67-49-133-78.hawaii.res.rr.com) has joined #mapnik 12:52:15 *** w0lfie_ has quit (Read error: 60 (Operation timed out)) 16:16:44 *** audifahrer (n=andreas@p57AF608E.dip.t-dialin.net) has joined #mapnik 16:31:32 *** audifahrer has quit ("Verlassend") 18:03:37 <nikq> Mapnik Trac: Ticket #81 (Move mapnik viewer into main distribution) updated | http://trac.mapnik.org/ticket/81#comment:5 18:43:50 *** rweait1 (n=nerd@bas2-toronto47-1279282489.dsl.bell.ca) has joined #mapnik 18:46:03 <rweait1> Hello. I'm trying to add fonts to mapnik for use in OpenStreetMap but I need a hand. I've installed mapnik from source and added the ~/mapnik/fonts/myfonts.ttf. the configure / install appears to have worked as myfonts.ttf now appear in /usr/local/lib/mapnik/fonts. I've added a rule to osm.xml to use the new fonts, but generate_tiles.py does not use the new font. 18:46:17 <rweait1> How can I confirm that I;ve properly added the fonts to mapnik? 19:21:44 *** audifahrer__ (n=andreas@p57AF4BA4.dip.t-dialin.net) has joined #mapnik 20:46:06 <springmeyer> rweait1: sounds right 20:46:19 <springmeyer> you can confirm that they are able to registered with... 20:46:23 <springmeyer> >>> from mapnik import * 20:46:23 <springmeyer> >>> for face in FontEngine.face_names(): print face 20:46:53 <springmeyer> I bet that you just need to get the right face_name specified in the XML 21:02:49 <rweait1> springmeyer: thank you I'll try that now1 21:04:30 <rweait1> got a ... 21:04:41 <rweait1> do I need a ;, or done, or something? 21:07:13 <rweait1> ... or just press enter again to see the output... 21:07:55 <rweait1> springmeyer: thank you, the face name is not what I expected. But it is there! 21:10:55 <rweait1> Jackpot1 Thanks again springmeyer! 21:35:28 <audifahrer__> hi 21:36:22 <audifahrer__> how should I set the srs in of a datasource in the XML file if like to points with features that I get directly from my GPS unit with WGS84 coordinates? 21:42:03 <aura> 4326 21:50:47 <springmeyer> audifahrer__: either... 21:50:52 <springmeyer> srs = '+proj=latlong +datum=WGS84' 21:51:02 <springmeyer> or srs = '+init=epsg:4326' 21:51:26 <springmeyer> hey rweait1: cool glad that worked 21:54:00 <aura> hey springmeyer 21:54:03 *** aura is now known as w0lfie_ 21:54:15 <springmeyer> ah w0lfie_ :) 21:54:31 <springmeyer> hello 21:54:32 <audifahrer__> springmeyer: ok thanks. As I see now in the source it's the default 21:54:41 <springmeyer> exactly 21:55:09 <springmeyer> hey, any nik2img.py users here? 21:55:17 <audifahrer__> springmeyer: but it doesn't work correct. I'll give you an example... 21:56:00 <audifahrer__> srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" ==> pt->move_to(1210904.366462, 6391550.752559); 21:56:05 <audifahrer__> moves correct 21:56:25 <audifahrer__> srs="+proj=latlong +datum=WGS84" ==> pt->move_to(10.877739, 49.682964) 21:56:34 <w0lfie_> O.o 21:56:41 <audifahrer__> doesn't work 21:56:48 <w0lfie_> what are you trying to do 21:58:09 <springmeyer> ya, what are you trying to do? 21:58:32 <springmeyer> are you assigning the new srs to the layer or map? 21:58:46 <audifahrer__> to the layer 21:59:04 <audifahrer__> I like to draw GPS points from kismet on the map. These coordinates are in WGS84. For sure I could calculate it into mercator, but why not using a WGS84 layer. 21:59:18 <audifahrer__> or doesn't it work that way with a layer 21:59:34 <springmeyer> okay, well I think that 'move_to()' will be only in the map coordinates 21:59:52 <audifahrer__> ah, that explains much 22:00:16 <springmeyer> so if you want to programmatically plot your layer, using WGS84 coordinates, then you should either... 22:00:23 <springmeyer> 1) reproject you map to WGS84 22:00:25 <springmeyer> or 22:00:28 *** scruggs__ has quit ("leaving") 22:00:38 <springmeyer> 2) transform your points to mercator before plotting 22:01:03 <w0lfie_> WGS84 is not a projection <_< 22:01:17 * w0lfie_ is a stickler about datums & coords 22:01:24 <springmeyer> :) 22:02:06 <audifahrer__> I'll try with 2 22:02:09 * springmeyer gets looser and looser on that a the years pass 22:02:40 <springmeyer> w0lfie_: remind me, if a geographic coordinate system is not truly 'projected' then what is it? 22:03:09 <springmeyer> 'unprojected' ? :) 22:03:25 <w0lfie_> well generally when people show something as 'geographic' on a map they're showing it in a plate caree 22:03:39 <w0lfie_> carree* 22:03:51 <w0lfie_> which is an equidistant cylindrical 22:04:09 <springmeyer> ah, interesting 22:04:11 <springmeyer> .g site:spatialreference.org platte carree 22:04:12 <nikq> springmeyer: No results found for 'site:spatialreference.org platte carree'. 22:04:20 <springmeyer> .g spatialreference.org platte carree 22:04:21 <nikq> springmeyer: http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ 22:04:27 <springmeyer> heh 22:04:51 <springmeyer> klokan surely is a projections guru 22:04:51 <w0lfie_> google maps doesn't use plate caree WGS84 22:04:54 <w0lfie_> they use web mercator 22:05:22 <w0lfie_> epsg:3785! 22:06:14 <w0lfie_> i guess i understand why most people are lax about CRS but 22:06:19 <w0lfie_> when you start working in situations where people can die 22:06:19 *** scruggs has quit (Remote closed the connection) 22:06:22 <w0lfie_> it really starts to piss me off 22:06:54 <springmeyer> well put 22:07:06 <springmeyer> http://spatialreference.org/ref/epsg/3785/ 22:07:40 <w0lfie_> 3785 is basically a cylindrical over a sphere 22:07:46 <w0lfie_> instead of an oblate spheroid approximating the geoid 22:08:00 <springmeyer> so w0lfie_: my statement....'1) reproject you map to WGS84' 22:08:10 <springmeyer> should be... what? 22:09:27 <w0lfie_> well if you have wgs84 points you want to plot on a web map, and you dont care about projection, you are probably plotting them as plate carree 22:09:58 *** springmeyer changed the topic to: "Mapnik - C++/Python Mapping Toolkit | http://mapnik.org | An oblate spheroid approximating the geoid" 22:10:04 <w0lfie_> haha 22:10:04 <w0lfie_> what 22:10:41 <springmeyer> new definition of web mapping :) 22:11:05 <w0lfie_> it'd be nice to do proper projections in web mapping 22:11:10 <w0lfie_> but it's just so expensive 22:11:25 <springmeyer> yes 22:11:59 <w0lfie_> anyway that's why we have 3d products like google earth, arc explorer, world wind 22:13:35 <w0lfie_> cylindricals are only terrible near the poles anyway 22:14:38 <springmeyer> cool, good info 22:15:55 <w0lfie_> i was working on some hydrological modelling stuff last week 22:16:00 <w0lfie_> and the hydrology guy was like 22:16:15 <w0lfie_> "nad27.. nad83.. what does it matter? as long as they look close' 22:16:17 <springmeyer> really, cool I've got a background in watershed mapping 22:16:19 <w0lfie_> i just cringed 22:16:31 <w0lfie_> because here the delta is several hundred meters 22:16:41 <springmeyer> well, right depends on the purpose 22:16:44 *** rcoup (n=rcoup@ip-118-90-101-32.xdsl.xnet.co.nz) has joined #mapnik 22:16:44 <w0lfie_> sometimes you just want to throw things 22:16:52 <springmeyer> :) 22:17:01 <springmeyer> several hundred huh? geez 22:17:10 <w0lfie_> i think so, lemme see 22:17:14 <springmeyer> that's where? 22:17:17 <w0lfie_> hawaii 22:17:22 <springmeyer> ah ha 22:17:30 <w0lfie_> we're not in kansas anymore 22:17:33 <w0lfie_> hur hur 22:17:33 <springmeyer> nope 22:18:08 *** scruggs (n=chris@75-121-84-235.dyn.centurytel.net) has joined #mapnik 22:18:48 <w0lfie_> 350~ m 22:19:08 *** scruggs_ (n=chris@75-121-84-235.dyn.centurytel.net) has joined #mapnik 22:19:51 <w0lfie_> anything below 250k that's noticeable 22:20:46 <w0lfie_> way i see it is.. i see a lot of 'gis' people that just know how to load up data 22:20:52 <w0lfie_> and assign symbology.. 22:21:01 <w0lfie_> but they don't really have a clue what is actually going on 22:23:32 * springmeyer feels nostalgic for those days when it all seemed so easy ;) 22:23:41 <w0lfie_> hehe 22:24:11 <w0lfie_> we were talking about that last week 22:24:27 <w0lfie_> we're building image skins and we were being all emo because we 'only' have 15m global coverage 22:24:42 <w0lfie_> i was like man.. we're spoiled 22:24:49 * springmeyer chuckles 22:24:54 <w0lfie_> 'waa srtm90m is so crappy' 22:24:57 <w0lfie_> remember when we only had globe? hehe 22:27:14 <w0lfie_> pretty amazing how they did that in 10 days 22:27:45 <springmeyer> ya, thank goodness for those 10 days for the field of hydrology 22:31:19 <w0lfie_> have you seen the new geoeye imagery 22:31:28 <springmeyer> nope 22:31:55 <w0lfie_> pretty nice, give it more time and commercial will be at NTM level 22:32:38 <springmeyer> cool 22:33:43 <w0lfie_> can mapnik serve rasters 22:33:54 <springmeyer> yes 22:34:13 <w0lfie_> can you do tileindexes or something 22:34:22 <springmeyer> two main options, gdal plugin or the 'raster' plugin with reads stripped or tiled geotiffs 22:34:28 <w0lfie_> oh okay 22:34:42 <springmeyer> nope, no tileindexes 22:34:48 <w0lfie_> so no LOD? hm 22:35:08 <springmeyer> likely something that could be added 22:35:29 <springmeyer> LOD? level of detail? 22:35:42 <w0lfie_> yeah, or pyramids if you prefer 22:35:48 <w0lfie_> quadtrees 22:36:18 <springmeyer> ya, okay, well the gdal driver has had some work to support gdal overviews 22:36:24 <springmeyer> but that's not yet landed in trunk 22:36:50 <w0lfie_> oh, gdal can read sids 22:36:58 <w0lfie_> they just do quadtree 22:37:15 <w0lfie_> tiffs w/rrds would be more portable tho 22:38:02 <w0lfie_> its not that important for what i want tho 22:38:08 <w0lfie_> tiled tiffs is fine 22:38:17 <w0lfie_> time to get my code on 22:38:29 <audifahrer__> bye 22:38:33 *** audifahrer__ has quit ("Verlassend") 22:52:13 *** weizhuo (n=chatzill@nat/yahoo/x-cf62c3be5c1e6809) has joined #mapnik 22:57:53 <CIA-6> mapnik-utils: dane.springmeyer * r592 /trunk/nik2img/ (CHANGELOG.txt nik2img.py): restored compatibility with mapnik version 0.5.x with boost metaclasses 22:57:53 <CIA-6> mapnik-utils: dane.springmeyer * r593 /trunk/nik2img/nik2img.py: move all proj forward and inversing to use methods off of actual geometry 23:28:41 *** vladimir_e (n=vladimir@AMontsouris-551-1-120-252.w90-2.abo.wanadoo.fr) has joined #mapnik 23:32:45 <nikq> Mapnik Trac: Changeset [1010]: disable libtiff warning handler | http://trac.mapnik.org/changeset/1010 23:33:56 <nikq> Mapnik Trac: Changeset [1011]: formatting | http://trac.mapnik.org/changeset/1011