#mapnik log: Thursday 25, February 2010

2010 | 02

previous | next
00:00:00 *** racicot (~chatzilla@dsl-209-166-85-189.whidbey.net) has joined #mapnik
00:00:44 <Ldp__> I do plan on taking advantage of !scale_denominator! and dropping of type/width/heigth, soon after
00:01:36 <Ldp__> and I've started wondering if it's time to have a planet_osm_buildings
00:01:45 *** racicot has quit (Changing host)
00:01:45 *** racicot (~chatzilla@osgeo/member/racicot) has joined #mapnik
00:02:05 <jburgess> it could be
00:02:26 <Ldp__> planet_osm_line is getting large
00:02:33 <jburgess> I was wondering if I shoul take the next step of allowing the user to define the tables and which data should go into each in the style file
00:02:34 <Ldp__> _polygon
00:03:01 <Ldp__> one issue I have is with highway/railway=platform, where they wind up in _line, even when they're actually areas
00:03:04 <jburgess> and perhaps an option to simplify the data too
00:03:22 <Ldp__> a more fine grained control over key=value and which table they go would be nice
00:03:40 <jburgess> I have been reluctant to extend the rules to cover key+value pairs but this could be done too
00:05:00 <jburgess> I was feared it would be tricky explain the precedence of the different rules
00:05:12 <Ldp__> most specific wins?
00:05:17 <jburgess> yes
00:05:47 <jburgess> but people would not realise that the generic key-only one would probably be fine for 90% of cases and we would end up with all these unnecessary key/value pairs in the file
00:06:46 <jburgess> thinking "oh.. there is no mention of shop=burger... I better add that one too"
00:06:54 <Ldp__> not a lot of people actually commit to default.style, why would that change?
00:07:19 <jburgess> true, but I'm thinking of the quetions on the ML from people attempting to make changes to their own styles
00:07:42 *** mperry (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
00:07:45 <Ldp__> I'd rather not let that stand in the way of innovation
00:07:51 <jburgess> true
00:27:14 *** StormTide has quit (Quit: Leaving)
00:30:03 *** ajashton has quit (Remote host closed the connection)
01:31:33 *** cgs_bob has quit (Ping timeout: 276 seconds)
01:45:38 *** bitterman (~yury@20.54.117.87.donpac.ru) has joined #mapnik
01:48:56 *** luneff has quit (Ping timeout: 256 seconds)
01:51:12 *** peter_ has quit (Ping timeout: 256 seconds)
01:59:15 *** darth_bitterman (~yury@20.54.117.87.donpac.ru) has joined #mapnik
02:01:46 *** cgs_bob (~bob@122.135-78-65.ftth.swbr.surewest.net) has joined #mapnik
02:03:14 *** bitterman has quit (Ping timeout: 265 seconds)
02:09:51 *** darth_bitterman has quit (Quit: Leaving)
02:18:39 *** dkb has quit (Quit: Leaving.)
02:19:17 *** tcarobruce has quit (Quit: tcarobruce)
02:29:13 *** Ldp__ has quit (Ping timeout: 264 seconds)
04:29:16 *** springmeyer (~springmey@c-76-28-156-154.hsd1.wa.comcast.net) has joined #mapnik
05:47:23 *** springmeyer has quit (Quit: springmeyer)
08:22:59 *** malthe_ (~user@196.0.26.42) has joined #mapnik
08:23:06 <malthe_> guys
08:23:46 <malthe_> beginner's question: the wms client asks for a single layer, but i'd like to have that layer be comprised of multiple shapefiles.
08:24:03 <malthe_> i can't seem to find out how to accomplish that
08:24:20 <malthe_> some sort of meta-layer, or overlay mechanism
08:24:59 <malthe_> btw i'd like to configure this in pure python
10:03:31 *** kredik (~chatzilla@LLagny-156-35-42-212.w80-13.abo.wanadoo.fr) has joined #mapnik
10:03:41 *** kredik has quit (Client Quit)
10:04:15 *** kredik (~chatzilla@LLagny-156-35-42-212.w80-13.abo.wanadoo.fr) has joined #mapnik
11:23:10 *** Ldp__ (~thid@osm.xs4all.nl) has joined #mapnik
12:10:57 *** dodobas has quit (*.net *.split)
12:15:19 *** dodobas (~dodobas@open.geof.hr) has joined #mapnik
12:56:11 *** mperry_ (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
12:59:10 *** mperry has quit (Ping timeout: 264 seconds)
12:59:10 *** mperry_ is now known as mperry
13:48:44 *** shoe has quit (Read error: Connection reset by peer)
13:50:27 *** shoe (~user@ip24-250-63-6.ri.ri.cox.net) has joined #mapnik
14:05:08 *** malthe__ (~user@196.0.26.46) has joined #mapnik
14:06:51 *** malthe_ has quit (Ping timeout: 245 seconds)
14:07:19 *** dkb (~dkb@66-219-8-179.ip.gvtel.com) has joined #mapnik
14:14:37 *** dkb has quit (Quit: Leaving.)
14:14:42 *** dkb (~dkb@66-219-8-179.ip.gvtel.com) has joined #mapnik
14:21:46 *** malthe___ (~user@196.0.26.35) has joined #mapnik
14:23:31 *** malthe__ has quit (Ping timeout: 245 seconds)
14:56:15 *** dkb has quit (Quit: Leaving.)
14:59:46 *** malthe___ has quit (Ping timeout: 245 seconds)
15:17:08 <shoe> what are the relative advantages/disadvantages to including world_boundaries from shapefiles as opposed to importing them with shp2pgsql?
15:29:43 *** rweait (~nerd@weait.tor.istop.com) has joined #mapnik
15:37:39 <rweait> hmmm missing lwpostgis.sql.  should it be in postgresql-8.4-postgis ?
16:08:56 <rweait> oh, it's called postgis.sql in 1.4.  np
16:10:25 *** harobed_ (~stephane@pda57-1-82-231-115-1.fbx.proxad.net) has joined #mapnik
16:10:46 <harobed_> hi, how can I convert postscript or svg to shape file ?
16:12:04 <harobed_> have you an idea ?
16:12:09 <rweait> HI, harobed_.  I don't know.  Does your postscript file include geographic coordinates?
16:12:09 *** mperry has quit (Ping timeout: 245 seconds)
16:13:03 <rweait> Perhaps use a photo-warper, then draw manually over the image?
16:13:19 <harobed_> rweait, no, but maybe there are some gis editor with vectorial import function
16:13:37 <harobed_> next, I can adjust (move and scale) my map on real map
16:14:25 <rweait> How much data do you have, and over how much territory?
16:15:33 <harobed_> full story : I have a postscript map, I would like use mapnik to generate tiles image file of this map
16:15:51 <harobed_> to use in google map
16:16:11 <harobed_> I need to position this map over Lorraine (it is french country)
16:18:24 <rweait> harobed_: I think that the "hard part" here is that the map data (geographic coordinates) was turned into a picture of the data (postscript vectors).  When that happened, you lost the geographic coordinates.
16:18:41 <rweait> To use it as map data again, you'll need to get the geographic coordinates back/
16:19:13 <rweait> Otherwise, you only have a picture of a map, and you'll not be able to extract coordinates.
16:19:25 <harobed_> rweait, ok
16:19:53 <harobed_> there are a editor tools which can import background image ?
16:20:06 <harobed_> to draw trace over it ?
16:20:12 *** mperry (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
16:20:13 <rweait> Sure.
16:20:33 <harobed_> merkaartor ?
16:20:51 <harobed_> I don't found the feature in this tools
16:20:53 <rweait> And map warping tools that let you choose a couple of reference points, and warp the ps to the coordinate system.
16:22:09 <harobed_> rweait, do you knows the name of a tools to do that ?
16:22:21 <rweait> on what OS?
16:22:29 <harobed_> I'm on ubuntu
16:22:48 <rweait> The warping, I'm unsure of.
16:22:56 <rweait> josm will import background images
16:23:10 <rweait> I think most/all of the desktop GIS will also.
16:23:27 <rweait> OpenJUMP, Grass, Qgis, etc.
16:23:42 <rweait> gdalwarp, perhaps?
16:23:57 <rweait> There is a web service for this I think?
16:24:12 *** gavinf (~gavinf@196.211.2.133) has joined #mapnik
16:24:24 <harobed_> I try Qgis
16:27:38 *** ser has quit (Remote host closed the connection)
16:29:20 *** dkb (~dkb@66-219-8-179.ip.gvtel.com) has joined #mapnik
16:39:00 *** StormTide (~Kevin@2002:186c:64c0:0:21d:60ff:fe5e:cf66) has joined #mapnik
16:47:30 *** gavinf has quit (Read error: Connection reset by peer)
16:55:37 *** mperry has quit (Ping timeout: 264 seconds)
16:56:52 *** mperry (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
16:58:25 *** luneff (~yury@20.54.117.87.donpac.ru) has joined #mapnik
17:13:41 *** cgs_bob has quit (Ping timeout: 265 seconds)
17:44:01 *** funqshun (~yayu@217.149.80.145) has joined #mapnik
17:44:24 <funqshun> hello, i'm interested in doing alternative projections in mapnik, is there a link somewhere to this?
18:03:04 *** chad_burt (~chad_burt@mm-01.msi.ucsb.edu) has joined #mapnik
18:03:10 *** tcarobruce (~tcarobruc@adsl-75-10-247-30.dsl.pltn13.sbcglobal.net) has joined #mapnik
18:11:05 *** cgs_bob (~bob@31.sub-75-208-49.myvzw.com) has joined #mapnik
18:13:49 *** mperry has quit (Read error: Connection reset by peer)
18:15:10 *** mperry (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
18:43:43 <shoe> I'm importing contours using gdal_contour to create shapefiles and shp2pgsql -a to append the data to a 'contours' table...
18:44:18 <shoe> If I accidentally ran the shp2pgsql twice on the same shapefile, would anything bad happen?
18:45:38 *** gavinf (~gavinf@196.211.2.133) has joined #mapnik
19:04:58 <funqshun> no one?
19:13:32 <dkb> People are here but I myself don't know the answer
19:14:36 <dkb> if you hang around long enough or come back later one of the more experienced users I'm sure would be able to help
19:41:17 *** mperry_ (~mperry@c-67-164-175-65.hsd1.co.comcast.net) has joined #mapnik
19:41:17 *** mperry has quit (Read error: Connection reset by peer)
19:41:18 *** mperry_ is now known as mperry
19:54:04 *** luneff has quit (Quit: Leaving)
20:09:01 *** dkb has quit (Remote host closed the connection)
20:09:12 *** dkb (~dkb@66-219-8-179.ip.gvtel.com) has joined #mapnik
20:12:18 *** dkb1 (~dkb@66-219-8-179.ip.gvtel.com) has joined #mapnik
20:12:47 *** dkb1 has parted #mapnik (None)
20:15:24 *** dkb has quit (Ping timeout: 265 seconds)
20:23:50 *** funqshun has quit (Ping timeout: 246 seconds)
21:46:41 *** dkb (~dkb@66-219-8-179.ip.gvtel.com) has joined #mapnik
21:46:42 *** springmeyer (~springmey@c-76-28-156-154.hsd1.wa.comcast.net) has joined #mapnik
21:47:19 *** springmeyer has quit (Client Quit)
21:55:39 *** springmeyer (~springmey@c-76-28-156-154.hsd1.wa.comcast.net) has joined #mapnik
21:59:33 <StormTide> wb springmeyer ;)
22:00:06 <springmeyer> hey
22:07:17 <StormTide> can i pick your brain for a couple mins? ive been going through a bunch of ecdis systems, the source for some gis apps etc, trying to grok the key math to go from wgs84 to pixels ... seems like theres usually a stop over in UTM ... any idea why that is?
22:41:14 *** ajturner (~ajturner@209.155.228.129) has joined #mapnik
22:59:54 *** mperry has quit (Quit: mperry)
23:12:11 *** Phurlv4 has quit (Quit: Ex-Chat)
23:13:05 *** dkb has quit (Quit: Leaving.)
23:30:57 *** rweait has quit (Ping timeout: 256 seconds)
23:33:34 *** gavinf has quit (Ping timeout: 265 seconds)
23:37:05 *** gavinf (~gavinf@196.211.119.210) has joined #mapnik
23:50:48 *** Phurl_ (~mdupont@2001:0:53aa:64c:2069:172f:ae2d:1b81) has joined #mapnik
23:58:01 *** ajturner has quit (Ping timeout: 268 seconds)