02:14:24 *** Ldp_ has quit () 05:21:45 *** springmeyer (n=dane@c-24-19-50-92.hsd1.wa.comcast.net) has joined #mapnik 05:46:06 <nikq> Mapnik Trac: Ticket #306 (Shapes not renered in Viewer on Mac) created | http://trac.mapnik.org/ticket/306 07:42:46 *** Ldp__ (n=thid@osm.xs4all.nl) has joined #mapnik 07:52:14 <nikq> Mapnik Trac: Ticket #125 (Basic Translations of Mapnik tutorials) updated | http://trac.mapnik.org/ticket/125#comment:10 08:33:52 *** logion (n=florisvd@ahmed.ugent.be) has joined #mapnik 08:37:08 <logion> any ideas for a minimalistic xml stylesheet? 08:38:40 <logion> the included generate_image.py produces a nice output based on the osm.xml but when I want to render a file through OGCserver the layers & styles have to be specified via url?(i'm getting blank maps atm) 08:39:34 *** dennis__ (n=dennislu@dslb-084-059-047-118.pools.arcor-ip.net) has joined #mapnik 09:04:32 <logion> i'm using shape files with this projection : http://spatialreference.org/ref/epsg/31370/ 09:04:59 <logion> what should i use as srs parameter for Map in my xml stylesheet? 09:07:08 <Ldp__> http://spatialreference.org/ref/epsg/31370/proj4js/ 09:08:12 <logion> ah ty 09:08:42 <Ldp__> would seem to fit what you asked 09:10:16 <logion> allthough I could use a srs for my map that differs from the projection's of my shapefiles, right? 09:11:37 <Ldp__> I think so 09:11:49 <Ldp__> i'm just a beginner as well 09:12:23 <logion> yeah tell me about it, it's hard to find good doc 09:12:43 <Ldp__> I'm editing docs as I find new things 09:13:20 <logion> i'm trying to use shape files provided by navteq atm 09:13:27 <logion> for my own WMS server 09:13:49 <ser> no, i cannot agree: everything about ogcserver is well documented on mapnik's wiki 09:14:03 <Ldp__> you can/should provide a srs="" on a Layer, and that can be different from the one in Map 09:15:14 <logion> well i got the ogcserver running that's true 09:16:05 <ser> but map making is not simple, indeed 09:17:49 <logion> I got a collection of shape files of belgium from a national institute, now I'm trying to get them to render on my WMS server 09:18:13 <logion> do I just define layers(+styles) per shape file in the xml stylesheet i'm using in the factory class? 09:19:02 <ser> i hope so 09:19:19 <ser> i will try to "run" shp files later today 09:19:29 <ser> i will need them as well 09:20:07 <Ldp__> I'd say so, but my main source of reference is openstreetmap's osm.xml and my own xml files 09:20:09 <logion> yesterday I was working with OSM data, but we've gotten these shape files from an official institute so I'd guess they're more accurate etc. 09:20:25 *** springmeyer has quit (Read error: 113 (No route to host)) 09:20:34 <logion> yeah, i'm also basing my stylesheet on the osm.xml 09:20:48 <Ldp__> which shapefile from OSM did you use? 09:21:12 <logion> belgium.osm 09:21:20 <Ldp__> that's not a shapefile 09:21:38 <logion> yeah, i didn't use shapefiles from osm sry 09:21:38 <Ldp__> but a country extract... did you get it from geofabrik.de ? 09:21:47 <logion> i imported osm data to postgis 09:22:02 <logion> got it from http://downloads.cloudmade.com/europe/belgium#breadcrumbs 09:22:23 <logion> there are also shapefiles on the mirror of belgium though 09:22:27 <Ldp__> ah, the other source for country extracts 09:23:13 <Ldp__> osm is WGS84 09:23:59 <logion> yeah, the shape files I got from that institute are in Lambert 72 09:24:07 <Ldp__> did you use osm2pgsql --proj 31370, or the default 900913 ? 09:25:15 <logion> i used this guide : http://wiki.openstreetmap.org/index.php/Mapnik 09:25:21 <logion> -m 09:25:38 <logion> => $ osm2pgsql -m -d gis planet-latest.osm.bz2 09:26:25 <logion> I don't rly know what data to use tbh, the country extract of OSM or the shapefiles I got from that institute 09:26:43 <logion> the osm files are easily importable to a postgis database + I can render maps of it 09:26:44 <Ldp__> yeah, so your postgis db is now in 900913, and that's the srs you set on the <Layer> definition 09:27:00 <Ldp__> and Lambert72 on the <Map> 09:27:50 <logion> hmm, what I'm trying to say is that I have 2 sepperate choices for my data now 09:28:05 <logion> 1) use the OSM data or 2) use the shapefiles from navteq 09:28:46 <Ldp__> ah, right 09:28:49 <logion> and it's hard to make a rational descision between the two 09:29:11 <Ldp__> same principle applies, but you set the Lambert 72 srs on the <Layer> with the shapefile 09:30:07 <Ldp__> depends a bit on what you want to use the data for? 09:30:46 <logion> well, i'd like to serve maps using a WMS server(ogcserver) to clients 09:30:48 <Ldp__> they most likely have different licensing requirements as well 09:30:53 <logion> yeah 09:31:14 <Ldp__> we have a nice guy in NL who's very good with this stuff, and could help you 09:31:19 <logion> we can't calculate any routes with the shapefiles, but that's not we're going to do 09:31:24 <Ldp__> but he just left for a 3 week holiday :/ 09:31:30 <logion> ow 09:31:55 <Ldp__> do you want routeability? 09:31:58 <logion> no 09:32:12 <logion> just serve maps and display info on them 09:32:56 <logion> like hostipals and bars, but we're going to display the info client side through JS on the map 09:33:01 <Ldp__> Belgium is missing large parts in OSM, and if Navteq has those, you'd probably want those? 09:33:21 <logion> ah, I didn't know Belgium wasn't complete in OSM 09:33:41 <Ldp__> depends on the region 09:34:00 <logion> u from belgium? or are u just viewing openstreetmaps.org ? 09:34:05 <Ldp__> Walloniƫ is underrepresented, and so are large parts outside the major cites 09:34:14 <logion> ah 09:34:19 <Ldp__> I live 1 km from the border, and do most of my OSM mapping in Belgium 09:34:26 <logion> Well we just want Ghent 09:34:35 <Ldp__> Gent is pretty okay in OSM 09:34:41 <logion> everything else of Belgium isn't important for our project 09:35:27 <Ldp__> I'm 30km away, but don't map that far, but I know it looks pretty good on the map 09:35:39 <Ldp__> 20km 09:35:46 <logion> and are u also hosting ur own WMS server to serve the maps? 09:36:08 <Ldp__> no, TMS, tileserver, tile.openstreetmap.nl 09:36:15 <Ldp__> openfietskaart.nl 09:36:17 <Ldp__> those 09:37:23 <logion> interesting are there open WMS servers for belgium too?(like tile.openstreetmap.nl) 09:37:42 <logion> because we could use that WMS server for the moment and switch to our own WMS server later on in the project 09:38:06 <Ldp__> we're building a new server, should be deployed soon 09:38:11 <Ldp__> expanding to Benelux coverage 09:38:26 <logion> well Ghent is looking pretty good on tile.openstreetmap.nl 09:38:41 <Ldp__> if you're interested in using the tiles, you're welcome to 09:39:58 <Ldp__> are you doing dynamic POIs with JS, or will you display all of them that are in view? 09:40:15 <logion> preferable with JS 09:40:30 <Ldp__> interesting :) 09:40:48 <logion> but for the moment I could use an open WMS server in the openlayers javascript? 09:41:00 <Ldp__> yes 09:41:14 <logion> if so we could start working on the client side JS for displaying the POI's and set up the server in a later phase of the project 09:41:19 <Ldp__> especially if you are prototyping, but probably also in production 09:41:40 <logion> any idea's on public WMS servers for Belgium/Gent ? 09:41:46 <Ldp__> no 09:42:05 <logion> any ide awhat does http://tile.openstreetmap.nl/ use? it's own WMS server? 09:42:12 <logion> any idea what http://tile.openstreetmap.nl/ uses* 09:42:40 <Ldp__> what do you mean? 09:42:46 <Ldp__> specific software? 09:43:29 <Ldp__> well, mapnik... OpenLayers... all the basic stuff 09:43:39 <logion> no, in the openlayers JS where does it get its tiles from?(for the map) 09:43:55 <Ldp__> from the same server 09:43:59 <logion> When looking at the source I see : "http://93.186.180.157/", 09:44:34 <Ldp__> oh, that's tile.openstreet.nl 09:44:38 <logion> could I use their server in my webapp for the moment? 09:44:50 <Ldp__> a speedy tileserver built around Cherokee calling mapnik 09:45:15 <Ldp__> yes, but if you want to be sure, check in on #osm-nl on irc.oftc.org 09:45:24 <Ldp__> ask for Skinkie 09:45:28 <Ldp__> have to go now for a bit, be back soon 09:45:35 <logion> k, thx for all the help dude 10:03:04 <logion> the provided irc server doesn't work btw 10:29:14 *** cmarqu_ has quit ("leaving") 10:29:56 *** cmarqu (i=colin@oemcomputer.oerks.de) has joined #mapnik 10:32:30 <Ldp__> logion: irc.oftc.net, my bad 11:02:01 *** xcacou (n=aga@86.221.62.221) has joined #mapnik 11:20:25 *** darragh (n=darragh@83.70.173.25) has joined #mapnik 11:47:50 <nikq> Mapnik Trac: Changeset [1087]: + pass parameter by const ref | http://trac.mapnik.org/changeset/1087 12:00:52 <nikq> Mapnik Trac: Changeset [1088]: + use separate x/y scales - important for raster | http://trac.mapnik.org/changeset/1088 12:05:37 <nikq> Mapnik Trac: Changeset [1089]: + add 'tiled' policy to avoid loading very large rasters into memory if ... | http://trac.mapnik.org/changeset/1089 12:09:13 <nikq> Mapnik Trac: Changeset [1090]: + this change was needed to avoid raster tiles alignment problems TODO: ... | http://trac.mapnik.org/changeset/1090 12:09:13 *** nikq has quit (brown.freenode.net irc.freenode.net) 12:09:13 *** tomhughes has quit (brown.freenode.net irc.freenode.net) 12:09:54 *** aba has quit (brown.freenode.net irc.freenode.net) 12:09:54 *** jlivni has quit (brown.freenode.net irc.freenode.net) 12:09:57 *** tomhughes (n=tom@gate.compton.nu) has joined #mapnik 12:09:57 *** nikq (n=nikq@li21-121.members.linode.com) has joined #mapnik 12:10:18 *** aba (i=sam@libya.turmzimmer.net) has joined #mapnik 12:10:18 *** jlivni (n=josh@76.14.74.234) has joined #mapnik 13:18:09 *** CIA-6 has quit (Client Quit) 13:20:41 *** CIA-14 (n=CIA@208.69.182.149.simpli.biz) has joined #mapnik 13:58:33 <logion> anyone experienced with mapnik+tilecache? 14:04:21 <darragh> logion: Currently working on it 14:04:41 <logion> same here :po 14:04:58 <logion> hwo does your tilecache.cfg looks like? 14:08:13 <darragh> logion: http://pastebin.com/db3d5dab 14:08:47 <logion> ow 14:08:57 <logion> why not direct use type=Mapnik ? 14:11:45 <darragh> logion: Too slow for the amount of data 14:12:07 <logion> my cfg is very basic atm : 14:12:09 <logion> type=Mapnik 14:12:09 <logion> mapfile=/root/mapnik/osm.xml 14:15:42 <logion> not getting any output though 14:18:52 <Ldp__> you need maxResolution and srs 14:28:25 *** springmeyer (n=dane@c-24-19-50-92.hsd1.wa.comcast.net) has joined #mapnik 14:33:52 <nikq> Mapnik Trac: PluginArchitecture edited | http://trac.mapnik.org/wiki/PluginArchitecture?version=15 14:34:08 <nikq> Mapnik Trac: Kismet created | http://trac.mapnik.org/wiki/Kismet?version=1 14:36:21 <nikq> Mapnik Trac: Kismet edited | http://trac.mapnik.org/wiki/Kismet?version=2 14:41:30 <nikq> Mapnik Trac: Ticket #125 (Basic Translations of Mapnik tutorials) updated | http://trac.mapnik.org/ticket/125#comment:11 15:17:15 *** logion has quit () 15:28:42 *** darragh has quit (Remote closed the connection) 15:52:52 <nikq> Mapnik Trac: Ticket #307 (ogcserver: png256 and jpeg quality support) created | http://trac.mapnik.org/ticket/307 16:12:27 <nikq> Mapnik Trac: Ticket #306 (Shapes not renered in Viewer on Mac) updated | http://trac.mapnik.org/ticket/306#comment:1 16:16:00 <nikq> Mapnik Trac: GettingStarted edited | http://trac.mapnik.org/wiki/GettingStarted?version=24 16:23:34 *** xcacou has quit (Remote closed the connection) 16:25:42 *** sanjiv (n=sanjiv@59.180.136.128) has joined #mapnik 16:30:00 <CIA-14> mapnik-utils: dane.springmeyer * r639 /example_code/ (4 files in 4 dirs): add srs value to layer for clarity - our layer is wgs84 which is also the default mapnik projection, but explicit is better than implicit for learning 16:37:43 <nikq> Mapnik Trac: Changeset [1091]: update the viewer to use the new DejaVu fonts in trunk and make the paths ... | http://trac.mapnik.org/changeset/1091 16:38:55 <nikq> Mapnik Trac: Ticket #306 (Shapes not renered in Viewer on Mac) updated | http://trac.mapnik.org/ticket/306#comment:2 17:12:20 <nikq> Mapnik Trac: Ticket_155.diff attached to Ticket #155 | http://trac.mapnik.org/attachment/ticket/155/Ticket_155.diff 17:13:32 <nikq> Mapnik Trac: Ticket #155 (Extend PointSymbolizer to support image scaling) updated | http://trac.mapnik.org/ticket/155#comment:11 17:23:49 <nikq> Mapnik Trac: Ticket #155 (Extend PointSymbolizer to support image scaling) updated | http://trac.mapnik.org/ticket/155#comment:12 17:26:52 <nikq> Mapnik Trac: Ticket #121 (Add letter spacing to TextSymbolizer parameters) updated | http://trac.mapnik.org/ticket/121#comment:9 17:33:55 <springmeyer> Ldp__: kerning? http://en.wikipedia.org/wiki/Kerning 17:37:43 <springmeyer> that might capture things perhaps 17:37:54 <springmeyer> would be done with freetype2 internally 17:37:55 <springmeyer> http://www.freetype.org/freetype2/docs/glyphs/glyphs-4.html 18:08:22 <Ldp__> springmeyer: kerning depends on the characters in question, and inner-spacing would expand on that with a set amount of pixels or ems extra between chars, I guess 18:08:49 <Ldp__> but the letter spacing was not my request 18:09:03 <Ldp__> but I thought that ticket was the most relevant for other textdecoration 18:14:07 *** Ldp__ is now known as Ldp_ 18:38:45 <nikq> Mapnik Trac: Ticket #308 (Doesn't display feature if another (possibly invalid) feature is present) created | http://trac.mapnik.org/ticket/308 18:39:46 <nikq> Mapnik Trac: test_mapnik.zip attached to Ticket #308 | http://trac.mapnik.org/attachment/ticket/308/test_mapnik.zip 18:58:15 <springmeyer> Ldp_: ya, sounds good, or create another one and migurski will take a look 18:58:58 <Ldp_> I don't know if it touches the same code as character spacing 18:59:07 <Ldp_> if it doesn't, perhaps another ticket is indeed in order 19:00:39 <springmeyer> well I think it will all fall under the text symbolizer, but code may be involved in both the freetype engine and placment finder 19:01:12 <Ldp_> the challenging part would be to underline only part of the text 19:01:22 <springmeyer> I think one tricky thing will be accounting for collisions of text given the expanded spacing - we'll have to check with artem about how complicated that may be 19:01:57 <Ldp_> in case someone then asks for that feature :) 19:02:15 <springmeyer> :) 19:02:31 <Ldp_> ps: http://trac.mapnik.org/ticket/104#comment:5 I thought dx/dy on ShieldSymbolizer *did* the text... that's what I observed anyway 19:04:18 <Ldp_> rechecked: *am* observing 19:04:25 <springmeyer> not sure. perhaps he should be useing the PointSymbolizer 19:04:31 <springmeyer> ya, close it then :) 19:05:31 <Ldp_> <ShieldSymbolizer ..... dy="-1"> moves the text up 1 pixel 19:06:26 <springmeyer> do you notice if it is possible for text to dissapear do to collision but not the sheild? 19:06:30 <Ldp_> I can give you a link that shows that, right now :) 19:07:02 <Ldp_> I haven't observed that yet, but my shields are bigger than the text therein 19:07:06 <springmeyer> I trust you 19:07:25 * springmeyer is a bit distracted programming in javascript at the moment 19:07:28 <springmeyer> :) 19:08:48 <Ldp_> I'll be quiet, then :) 19:08:53 <springmeyer> Ldp_: btw - no... 19:09:04 <springmeyer> not what I meant 19:09:24 <Ldp_> I know... 19:09:30 <springmeyer> just saying I'm only fairly alert :) (I guess that is normal tho : ) 19:10:05 <Ldp_> I think I'll go update the ShieldSymbolizer wiki 19:10:14 <springmeyer> Ldp_: btw, rocks that you are taking a look at tickets :) 19:10:15 <springmeyer> thx 19:10:57 <Ldp_> of course, when I want to submit new requests, I usually check for previous requests for the same topic 19:11:33 <Ldp_> and I have heard people complain about the documentation, so I just thought: I can do my part and update what I find 19:12:51 * springmeyer gives standing ovation :) 19:15:16 <Ldp_> after all, it's a wiki 19:15:28 <Ldp_> that's also why OSM is so popular 19:21:20 <Ldp_> how is dx/dy propagated to the text? I don't see it mentioned in http://trac.mapnik.org/browser/trunk/src/shield_symbolizer.cpp 19:45:34 <w0lfie_> dane i couldn't resist picking on you on osgeo-discuss 19:45:56 <w0lfie_> afk work 19:49:20 <nikq> Mapnik Trac: ShieldSymbolizer edited | http://trac.mapnik.org/wiki/ShieldSymbolizer?version=13 20:38:17 <nikq> Mapnik Trac: XMLConfigReference edited | http://trac.mapnik.org/wiki/XMLConfigReference?version=21 21:06:37 *** jburgess_ (n=jburgess@92.8.252.116) has joined #mapnik 21:37:17 *** sanjiv has quit (Read error: 110 (Connection timed out)) 21:38:04 *** sanjiv (n=sanjiv@59.180.134.121) has joined #mapnik 22:03:45 <nikq> Mapnik Trac: Ticket #306 (Shapes not renered in Viewer on Mac) closed | http://trac.mapnik.org/ticket/306#comment:3 22:18:50 <nikq> Mapnik Trac: Ticket #308 (Doesn't display feature if another (possibly invalid) feature is present) updated | http://trac.mapnik.org/ticket/308#comment:1 23:31:30 *** Ldp_ has quit (Read error: 110 (Connection timed out))