00:00:11 <artem> jburgess: I was thinking about providing stream based interface 00:01:00 <artem> would be one way to address this ( I meant) 00:02:55 <artem> something like : template <typename Stream> load_map( Stream & in, ...) 00:05:00 <jburgess> That would be a better solution but it looked more difficult to setup than xmlCtxtReadMemory() 00:06:04 <artem> jburgess: yes, I realised this. 00:06:10 <jburgess> I think that is enough for tonight. 00:06:26 <artem> yep, got to catch some sleep :) 00:08:14 *** artem has quit ("bed time") 00:16:57 *** D3f0 (n=defo@190.176.198.97) has joined #mapnik 00:32:50 *** weizhuo has quit (Read error: 104 (Connection reset by peer)) 01:32:00 <CIA-59> mapnik: artem * r801 /trunk/SConstruct: + applied mapnik-improve-scons-search-paths.patch (jonb) 01:32:01 <CIA-59> mapnik: artem * r802 /trunk/ (include/mapnik/graphics.hpp src/graphics.cpp): + applied mapnik-image32-from-cairo.patch (jonb) 01:32:01 <CIA-59> mapnik: artem * r803 /trunk/demo/ (viewer/viewer.pro c++/rundemo.cpp c++/Makefile): + mapnik-rundemo-with-cairo.patch (jonb) 01:32:01 <CIA-59> mapnik: artem * r804 /trunk/ (4 files in 2 dirs): + use fully qualified names from stl 01:32:03 <CIA-59> mapnik: artem * r805 /trunk/include/mapnik/global.hpp: + use fully qualified name in global.hpp 01:32:04 <CIA-59> mapnik: artem * r806 /trunk/ (5 files in 3 dirs): + mapnik-load-map-from-string.patch (jonb) 01:41:17 *** scruggs (n=chris@72-161-125-188.dyn.centurytel.net) has joined #mapnik 01:43:51 <scruggs> I'm reading http://wiki.openstreetmap.org/wiki/Mapnik and from that it seems that mapnik can render from shapefiles without using postgis... is that correct? 01:43:51 <nikq> http://trac.mapnik.org/wiki/postgis 01:45:38 <scruggs> I'm guessing nikq is a bot, but the page it sent is not found :) 01:47:33 *** migurski (n=migurski@h-68-165-1-62.snvacaid.covad.net) has joined #mapnik 01:57:34 <Mrfos> scruggs, yes mapnik can render quite easily with postgis 01:57:34 <nikq> http://trac.mapnik.org/wiki/postgis 01:58:36 <scruggs> no, I'm looking to use mapnik *without* postgis 01:58:37 <nikq> http://trac.mapnik.org/wiki/postgis 01:59:01 <Mrfos> ah. yes that works as well. you simply provide the path to the shapefile 01:59:20 <scruggs> great! 01:59:37 <scruggs> is there any documentation to that effect? 01:59:58 <scruggs> everything I'm finding deals with postgis 01:59:58 <nikq> http://trac.mapnik.org/wiki/postgis 02:00:38 <Mrfos> http://trac.mapnik.org/wiki/XMLGettingStarted 02:01:01 * scruggs is taking a look 02:21:11 <scruggs> Mrfos: that helps a lot 02:21:34 <scruggs> is it possible to do the same thing in C rather than python? 02:25:15 <Mrfos> yes, mapnik comes with a fairly nice example showing a candian road render i think 02:25:24 <Mrfos> i dont have much experience dealing with the C++ side 02:26:29 <scruggs> so that's part of the svn sources? 02:26:54 <Mrfos> yep 02:28:41 <scruggs> cool. sounds like its time to checkout some source code :) 02:28:49 <scruggs> thx for the help! 02:28:56 <Mrfos> np 02:29:45 <Mrfos> a pure XML solution might be enough 02:30:34 <scruggs> can you do that without any python? 02:30:56 * scruggs should really investigate the sources... 02:30:56 <Mrfos> mapnik + tilecache + openlayers works well if you're using a common projection and and doing web mapping 02:31:30 <scruggs> I'm trying to target an embedded system so resources are at a premium 02:31:33 <Mrfos> yeah. basically theres a number of existing applications that will take a mapnik xml file and export into various image formats 02:32:31 <Mrfos> are you shooting for a slippy style map like google maps? 02:33:15 <scruggs> I have some self-written code currently that will read/render shapefiles with libgd but the labeling and prettiness of mapnik's rendering has caught my eye :) 02:33:41 <scruggs> yes, but in a GTK app rather than a browser 02:34:45 <Mrfos> and how about how the maps will be served? client/server on the same machine, or through the internet? 02:35:12 <scruggs> same machine ideally... 02:35:46 <scruggs> currently the device can serve the maps via a socket or send the data via stdout 02:36:11 <scruggs> so my app uses pipes to just call the map generation prog and get the data 02:36:26 <Mrfos> well rendering with mapnik can be pretty intensive 02:36:36 <scruggs> the idea is to have it be self-sufficient 02:36:59 <scruggs> how intensive? :) 02:37:15 <scruggs> if you can put measure to it that is... 02:38:49 <Mrfos> largely depends on how complicated of a map it is. real time rendering could easily bring a quadcore box to a grind 02:39:12 <Mrfos> at least for something complicated like a reading openstreetmap 02:39:25 <Mrfos> *rendering openstreetmap 02:39:49 <scruggs> I see... 02:40:23 <Mrfos> someone here may have better experience using mapnik as a client 02:40:43 <Mrfos> but in most cases mapnik images are pre-rendered then servered to a client 02:40:50 <Mrfos> *served 02:41:19 <scruggs> that makes sense 02:41:46 <scruggs> for some background on my project... 02:42:13 <scruggs> my app is targeted to a 800x600 display and gets fix data from gpsd 02:42:58 <scruggs> it requests a map that is essentially 3x the display size, and just re-centers that larger map pixbuf into the display 02:44:01 <scruggs> once the fix gets within a certain threshold of the edge of the display it triggers a thread to render a new map, and when that map is needed it gets loaded, the pixbuf is re-centered, and the process moves forward 02:45:09 <Mrfos> hmmm 02:45:14 <scruggs> I'm working with contour line shapefiles, so there are lots of lines to go through, but in most cases there is enough time to get a new map rendered before it is needed 02:45:42 <scruggs> rendered maps are saved, so a map isn't rendered if its already there 02:45:44 <Mrfos> well i know GpsDrive is similar and can use mapnik 02:46:10 *** weizhuo (n=chatzill@nat/yahoo/x-dd2d70d2fff89c67) has joined #mapnik 02:46:14 <scruggs> the concept is similar to GpsDrive, just a bit more lightweight 02:46:20 <Mrfos> i see 02:46:55 <Mrfos> well i dont know how well mapnik would work on an embedded system. i pretty much deal with the exact opposite kind of system 02:47:18 <scruggs> in the past my biggest obstacle was rendering labels... lots of floating-point math to figure positions 02:47:29 <scruggs> :) 02:49:00 <scruggs> yeah, if I could have it my way the device would have GPRS or the like to fetch maps, but right now thats not an option 02:49:30 <scruggs> I might just give it a shot and see how the performance is 02:49:54 <scruggs> do you know if anyone has run mapnik on an ARM? 02:50:45 <Mrfos> hmm, dont recall seeing anyone who has 02:51:09 <Mrfos> mapserver might be better suited for an embedded machine 02:52:26 <Mrfos> you could always just install mapnik, and create a simple xml file, and render that to an image 02:52:37 <Mrfos> and see how it runs on embedded machien 02:53:05 <scruggs> thats my thought too... no hurt in trying 03:18:27 <Mrfos> anyone have experience dealing with overlapping line geometry? at a small scale everything is perfect, but as I zoom out everythin gets mashed together? 03:19:21 <Mrfos> short of creating a unique set of geometry for each scale i use 04:16:56 *** migurski has quit () 04:18:14 *** D3f0 has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** weizhuo has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** racicot has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** jlivni has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** twain47 has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** dodobas has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** jburgess has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** jbronn has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** jbglaw has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** dukeku has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** ser has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** Mrfos has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** forrestv has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** dreamil has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** dthomas has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** ChanServ has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** CIA-59 has quit (kubrick.freenode.net irc.freenode.net) 04:18:14 *** scruggs has quit (kubrick.freenode.net irc.freenode.net) 04:19:14 *** weizhuo (n=chatzill@nat/yahoo/x-dd2d70d2fff89c67) has joined #mapnik 04:19:14 *** scruggs (n=chris@72-161-125-188.dyn.centurytel.net) has joined #mapnik 04:19:14 *** D3f0 (n=defo@190.176.198.97) has joined #mapnik 04:19:14 *** Mrfos (i=Mrfo@pool-96-231-34-87.washdc.fios.verizon.net) has joined #mapnik 04:19:14 *** racicot (n=chatzill@dsl-209-166-85-189.whidbey.net) has joined #mapnik 04:19:14 *** twain47 (n=twain47@77-100-156-176.cable.ubr07.shef.blueyonder.co.uk) has joined #mapnik 04:19:14 *** jburgess (n=jburgess@bb-87-80-234-70.ukonline.co.uk) has joined #mapnik 04:19:14 *** CIA-59 (n=CIA@208.69.182.149) has joined #mapnik 04:19:14 *** forrestv (n=forrestv@unaffiliated/forrestv) has joined #mapnik 04:19:14 *** jlivni (n=josh@c-24-4-60-236.hsd1.ca.comcast.net) has joined #mapnik 04:19:14 *** jbglaw (n=jbglaw@lug-owl.de) has joined #mapnik 04:19:14 *** dodobas (n=dodobas@unaffiliated/dodobas) has joined #mapnik 04:19:14 *** dukeku (i=dukeku@adhd.irule.net) has joined #mapnik 04:19:14 *** jbronn (n=jbronn@70-138-113-15.lightspeed.hstntx.sbcglobal.net) has joined #mapnik 04:19:14 *** ser (n=ser@sergiusz.pawlowicz.name) has joined #mapnik 04:19:48 *** ChanServ (ChanServ@services.) has joined #mapnik 04:19:48 *** dreamil (n=swapnil@freemap.in) has joined #mapnik 04:19:48 *** dthomas (n=darkness@linode.caliginous.net) has joined #mapnik 04:23:12 *** dthomas has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** dreamil has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** ChanServ has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** D3f0 has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** weizhuo has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** jlivni has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** racicot has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** dodobas has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** twain47 has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** jbronn has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** jburgess has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** jbglaw has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** dukeku has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** ser has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** Mrfos has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** forrestv has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** scruggs has quit (kubrick.freenode.net irc.freenode.net) 04:23:12 *** CIA-59 has quit (kubrick.freenode.net irc.freenode.net) 04:25:55 *** weizhuo (n=chatzill@nat/yahoo/x-dd2d70d2fff89c67) has joined #mapnik 04:25:55 *** scruggs (n=chris@72-161-125-188.dyn.centurytel.net) has joined #mapnik 04:25:55 *** D3f0 (n=defo@190.176.198.97) has joined #mapnik 04:25:55 *** Mrfos (i=Mrfo@pool-96-231-34-87.washdc.fios.verizon.net) has joined #mapnik 04:25:55 *** racicot (n=chatzill@dsl-209-166-85-189.whidbey.net) has joined #mapnik 04:25:55 *** twain47 (n=twain47@77-100-156-176.cable.ubr07.shef.blueyonder.co.uk) has joined #mapnik 04:25:55 *** jburgess (n=jburgess@bb-87-80-234-70.ukonline.co.uk) has joined #mapnik 04:25:55 *** CIA-59 (n=CIA@208.69.182.149) has joined #mapnik 04:25:55 *** forrestv (n=forrestv@unaffiliated/forrestv) has joined #mapnik 04:25:55 *** jlivni (n=josh@c-24-4-60-236.hsd1.ca.comcast.net) has joined #mapnik 04:25:55 *** jbglaw (n=jbglaw@lug-owl.de) has joined #mapnik 04:25:55 *** dodobas (n=dodobas@unaffiliated/dodobas) has joined #mapnik 04:25:55 *** dukeku (i=dukeku@adhd.irule.net) has joined #mapnik 04:25:55 *** jbronn (n=jbronn@70-138-113-15.lightspeed.hstntx.sbcglobal.net) has joined #mapnik 04:25:55 *** ser (n=ser@sergiusz.pawlowicz.name) has joined #mapnik 04:26:12 *** ChanServ (ChanServ@services.) has joined #mapnik 04:26:12 *** dreamil (n=swapnil@freemap.in) has joined #mapnik 04:26:12 *** dthomas (n=darkness@linode.caliginous.net) has joined #mapnik 05:38:07 *** D3f0 has quit (Remote closed the connection) 05:55:49 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 06:33:03 *** weizhuo has quit ("ChatZilla 0.9.84 [Firefox 2.0.0.20/2008121709]") 07:20:28 *** xcacou (n=aga@7.75.86-79.rev.gaoland.net) has joined #mapnik 07:22:07 *** xcacou has quit (Client Quit) 07:22:25 *** xcacou (n=aga@79.86.75.7) has joined #mapnik 09:22:05 *** migurski has quit () 10:23:43 *** migurski (n=migurski@adsl-76-236-65-80.dsl.pltn13.sbcglobal.net) has joined #mapnik 10:40:01 *** migurski has quit (Read error: 110 (Connection timed out)) 10:40:06 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 10:54:36 *** migurski_ (n=migurski@adsl-76-236-65-80.dsl.pltn13.sbcglobal.net) has joined #mapnik 11:01:41 *** migurski has quit (Read error: 110 (Connection timed out)) 11:07:25 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 11:10:32 *** artem (n=artem@i-83-67-142-225.freedom2surf.net) has joined #mapnik 11:15:09 *** migurski_ has quit (Read error: 110 (Connection timed out)) 11:20:31 *** migurski_ (n=migurski@adsl-76-236-65-80.dsl.pltn13.sbcglobal.net) has joined #mapnik 11:24:23 *** migurski has quit (Read error: 110 (Connection timed out)) 11:32:14 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 11:38:55 *** migurski_ has quit (Read error: 110 (Connection timed out)) 11:50:19 *** migurski has quit (Read error: 110 (Connection timed out)) 11:53:34 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 12:03:12 *** migurski_ (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 12:11:49 *** migurski has quit (Read error: 110 (Connection timed out)) 12:13:15 *** artem has quit () 12:14:04 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 12:21:48 *** migurski_ has quit (Read error: 110 (Connection timed out)) 12:33:09 *** migurski has quit (Read error: 110 (Connection timed out)) 12:52:46 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 13:11:21 *** migurski has quit (Read error: 110 (Connection timed out)) 14:05:49 *** D3f0 (n=defo@190.176.198.97) has joined #mapnik 14:10:39 *** D3f0 has quit (Client Quit) 14:31:22 *** tmcw (n=tmcw@c-98-218-241-202.hsd1.dc.comcast.net) has joined #mapnik 15:25:23 *** scruggs has quit (Remote closed the connection) 15:26:08 <nikq> Mapnik Trac: Ticket #129 (OGCSERVER / XML) updated | http://trac.mapnik.org/ticket/129#comment:17 15:35:10 *** scruggs (n=chris@72-161-125-188.dyn.centurytel.net) has joined #mapnik 15:43:26 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 15:49:07 *** migurski has quit (Read error: 60 (Operation timed out)) 15:53:41 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 16:10:05 *** migurski has quit (Read error: 110 (Connection timed out)) 16:23:13 *** migurski (n=migurski@dsl081-049-227.sfo1.dsl.speakeasy.net) has joined #mapnik 16:42:12 *** migurski has quit (Read error: 110 (Connection timed out)) 16:58:50 *** migurski (n=migurski@h-68-165-1-62.snvacaid.covad.net) has joined #mapnik 17:51:52 *** tmcw has parted #mapnik () 18:05:35 *** D3f0 (n=defo@190.176.198.97) has joined #mapnik 18:39:18 *** cmarqu (i=colin@oemcomputer.oerks.de) has joined #mapnik 20:36:20 *** migurski has quit () 21:14:40 *** xcacou has quit (Remote closed the connection) 22:02:16 <cmarqu> How do I easiest create tiles from a cascadenik style? All this customize-mapnik-map stuff is pretty confusing. 22:45:50 *** migurski (n=migurski@h-68-165-1-62.snvacaid.covad.net) has joined #mapnik 23:01:57 <cmarqu> migurski: Hi! I just managed to render an OSM map using cascadenik. I'll add some instructions to http://wiki.openstreetmap.org/wiki/Cascadenik 23:02:15 <migurski> oh cool! 23:02:35 <migurski> thanks, that's great 23:03:41 <cmarqu> migurski: Eventually, I'm trying to produce something like http://opentiles.com/nop/?zoom=15&lat=50.96013&lon=14.10922&layers=B, just nicer. 23:05:12 <migurski> with the hills and everything? 23:05:45 <cmarqu> migurski: I hope so, yes. Possibly without the isolines 23:05:46 <migurski> Nop's map is pretty sweet 23:06:54 <cmarqu> It has lots of useful details, but the appearance could be improved. 23:07:17 <migurski> maybe add some hue to the gray background 23:08:15 <cmarqu> For instance. It's also too dark IMO 23:08:55 <cmarqu> The reference for that area would be something like http://boehmwanderkarten.de/kv/is_mssg.html 23:10:40 <cmarqu> migurski: You don't happen to have uncommitted changes to Cascadenik's openstreetmap style, do you? 23:11:03 <migurski> I think I have one ... why do you ask? 23:11:10 <migurski> I believe it has to do with cemetery and park pattern fills 23:12:09 <cmarqu> migurski: I'm going to use it as a basis for my style, and I wouldn't want to use an outdated one. 23:12:16 <migurski> oh I see, yeah 23:12:22 <migurski> well why don't I commit my final change 23:13:48 <migurski> all done: http://code.google.com/p/mapnik-utils/source/detail?r=487 23:14:15 <cmarqu> Based on your experience, should I first try to set up the hillshading and then go on with the style development, or does it work to do it on a "flat" map? 23:15:03 <migurski> I did them sort of separately 23:15:12 <migurski> I did style development first 23:15:25 <migurski> had a complete style all finished, "style.mml" in the repository 23:15:45 <migurski> then I did the hill shading, rendering it all out to its own tile set as just grayscale hills with no other data 23:16:13 <migurski> then I figured out how to split style.mml into figure.mml and ground.mml, and wrote some python post-processing code to sandwich them together 23:16:34 <migurski> I didn't have the best of luck with the RasterSymbolizer, possibly because I didn't understand how it works 23:16:34 <nikq> http://trac.mapnik.org/wiki/RasterSymbolizer 23:17:12 <migurski> also I was being a stickler about transfer modes: I wanted the hills to be overlaid on the ground with something like photoshop's Hard Light filter 23:17:12 <nikq> http://trac.mapnik.org/wiki/filter 23:17:54 <migurski> supposedly on the way for mapnik 0.6 though! http://trac.mapnik.org/ticket/157 23:18:17 <cmarqu> Aha! 23:18:42 <migurski> I know artem has taken some preliminary stabs at transfer modes 23:19:11 <migurski> just first steps from what I can tell, but they look good and he's chosen a wider range of modes than the five I thought would be worth doing 23:19:20 <cmarqu> So... say I'm starting with a flat map. Which mml file would I best take now? 23:19:58 <migurski> do you want to use RasterSymbolizer? 23:19:58 <nikq> http://trac.mapnik.org/wiki/RasterSymbolizer 23:20:01 <migurski> you do okay 23:20:06 <migurski> yeah start with style.mm 23:20:08 <migurski> *mml 23:20:22 <migurski> and slip the raster layer in there 23:20:30 <cmarqu> I don't know yet. I have just started with Mapnik today :) 23:20:39 <migurski> the figure and ground ones are intended to be rendered separately and later sandwiched 23:20:42 <migurski> ha, welcome 23:20:45 <cmarqu> Ah, I see. 23:21:58 <migurski> back soon, phone call 23:56:03 <cmarqu> migurski: Oh, you already introduced a "prominence" tag, or am I all mixed up?