#mapnik log: Wednesday 25, February 2009

2009 | 02

previous | next
00:32:43 *** aub has quit ()
00:50:34 *** racicot (n=chatzill@dsl-209-166-85-189.whidbey.net) has joined #mapnik
01:02:48 <nikq> Mapnik Trac: Changeset [967]: scons: add boolean option to avoid linking to Framework Python on darwin  ... | http://trac.mapnik.org/changeset/967
01:04:09 <nikq> Mapnik Trac: Ticket #248 (Scons/Darwin: Allow for linking against non-Framework Python) closed | http://trac.mapnik.org/ticket/248#comment:1
01:17:58 *** weizhuo (n=chatzill@nat/yahoo/x-365faf0b41a60329) has joined #mapnik
01:39:55 *** D3f0 (n=defo@190.176.211.223) has joined #mapnik
02:01:18 *** D3f0 has quit (Remote closed the connection)
02:01:34 *** D3f0 (n=defo@190.176.211.223) has joined #mapnik
03:01:43 *** aub (n=aubrey@70.107.236.83) has joined #mapnik
03:12:16 <nikq> Mapnik Trac: Ticket #250 (Scons - must improve handling of "CPPPATH" "LIBPATH" environment variables) created | http://trac.mapnik.org/ticket/250
04:09:19 *** D3f0 has quit (Remote closed the connection)
06:30:05 *** cremaster (i=blotanic@vpn-wireless-client-pool-245-39.cpmc.columbia.edu) has joined #mapnik
06:32:11 <cremaster> how do i install gdal mapnik plugin on windows
06:33:19 <cremaster> do i build the plugin from source or must i include it as an option when building mapnik?
06:46:23 <cremaster> i havent been able to find any documentation anywhere about enabling gdal input on windows
06:50:26 <springmeyer> cremaster: gdal plugin must be built when mapnik is compiled, it is not a separate install
06:51:18 <springmeyer> my understanding is that it is very tricky to compile the gdal plugin on win32
06:52:10 <springmeyer> I think this is the reason, or part of the reason, that the gdal plugin was not packaged with the last 0.5.1 win32 binaries
06:56:38 * springmeyer heads off
06:56:43 <cremaster> is there any documentation on how to go about trying to overcome this 'trickiness'
07:03:04 <cremaster> guess not. thanks all the same.
07:03:06 *** cremaster has quit ()
07:07:57 *** weizhuo has quit ("ChatZilla 0.9.84 [Firefox 2.0.0.20/2008121709]")
07:52:13 *** Mrfos (i=Mrfo@pool-96-231-166-17.washdc.fios.verizon.net) has joined #mapnik
07:52:45 *** xcacou (n=aga@AToulouse-157-1-94-155.w86-213.abo.wanadoo.fr) has joined #mapnik
08:10:23 *** Mrfo has quit (Read error: 110 (Connection timed out))
08:10:37 *** Mrfo (i=Mrfo@pool-96-231-166-17.washdc.fios.verizon.net) has joined #mapnik
08:16:56 *** kunitoki (n=kraken@host217-241-dynamic.44-79-r.retail.telecomitalia.it) has joined #mapnik
08:23:46 *** Mrfos has quit (Read error: 110 (Connection timed out))
08:32:52 *** xcacou has quit (Read error: 113 (No route to host))
08:34:34 *** xcacou (n=aga@AToulouse-157-1-94-155.w86-213.abo.wanadoo.fr) has joined #mapnik
09:03:45 *** D3f0 (n=defo@190.176.211.223) has joined #mapnik
09:32:00 <kunitoki> a question about mapnik and integration frameworks
09:32:54 <kunitoki> i have to evaluate some framwork for web development, but better if it integrate with mapnik directly
09:33:15 <kunitoki> i have heard about django and geodjango... anyone expert on the matter ?
09:33:43 <kunitoki> what about django<>pymapnik usage ?
10:04:42 <kunitoki> what about geodjango ?
10:06:54 *** D3f0 has quit (Remote closed the connection)
10:11:16 <kunitoki> springmeyer: reading your good OPEN SOURCE #14 - GEODJANGO article
10:11:17 <nikq> Ticket #14: Install problem on Suse Server with mapnik 0.4, http://trac.mapnik.org/ticket/14
10:11:55 <kunitoki> tell nikq 'shut up'
12:08:28 <crschmidt> kunitoki: GeoDjango and Django are the same thing.
12:08:54 <crschmidt> kunitoki: If you use a postgresql backend tot Django, Mapnik will be able tot render your data from the GeoDjango database
12:09:18 <crschmidt> but no Python framework is going to 'integrate' mapnik particularly; loose coupling of external components is built into the design of all of them
12:25:01 <kunitoki> crschmidt: ok thanx
12:25:17 <crschmidt> (All of them that I can think of anyway)
12:25:18 <kunitoki> i don't need to integrate it directly
12:25:46 <kunitoki> i just need to be able to render some maps or access styles from the python code
12:26:02 <kunitoki> without have a separate server going on only for maps
12:26:44 <kunitoki> ok need to go, will speak again on this later
12:26:46 <kunitoki> byez
12:26:49 *** kunitoki has quit ("Lost terminal")
13:22:45 *** kunitoki (n=kraken@host217-241-dynamic.44-79-r.retail.telecomitalia.it) has joined #mapnik
13:44:18 *** ninja_ (n=pankur@nat/yahoo/x-a8cd7320fa1472ba) has joined #mapnik
13:52:53 *** D3f0 (n=defo@190.176.223.53) has joined #mapnik
14:47:01 *** D3f0 has quit ("Konversation terminated!")
15:13:01 *** ajturner_ (n=ajturner@209.155.228.129) has joined #mapnik
15:44:15 *** aub has quit (Read error: 110 (Connection timed out))
16:05:31 *** aub (n=aubrey@cpe-72-227-134-148.nyc.res.rr.com) has joined #mapnik
16:09:36 *** ajturner_ has quit ("Get Colloquy for iPhone! http://mobile.colloquy.info")
16:53:39 *** ninja_ has quit (Read error: 110 (Connection timed out))
16:59:14 *** joeh_ (n=joeh@12.164.190.13) has joined #mapnik
16:59:48 <joeh_> Hello all. I have a question.
17:04:31 <joeh_> Anyone around?
17:04:49 <springmeyer> joeh_: don't ask to ask, just ask :)
17:05:17 <joeh_> Sorry, I am new...
17:05:38 <springmeyer> welcome!
17:06:06 <joeh_> I have located shapefile for the river located in the Mississippi river valley. Is there some direction on how to include these with Mapnic?
17:06:18 <joeh_> I will give you a URL if it is helpful.
17:06:47 <joeh_> http://www.tec.army.mil/echarts/inlandnav/main.html
17:07:00 <springmeyer> well, are you meaning you'd like to make a graphic/map yourself using that shapefile?
17:07:13 <joeh_> You have the choice of downloading the data in a shape file or IENC if I remember correctly.
17:07:15 <springmeyer> or do you mean you'd like that data to show up on the OpenStreetMap mapnik layer?
17:07:23 <joeh_> Yes I would.
17:07:34 <springmeyer> which? :)
17:07:39 <joeh_> To make my own tiles. Sorry
17:07:49 <springmeyer> oh, okay. cool
17:08:04 <springmeyer> then you are in the right place to learn how to use mapnik 'the renderer'
17:08:18 <springmeyer> lots of folks also call the rendered tiles of OSM 'mapnik' :)
17:08:18 <joeh_> I have only just started using Mapnik and truthfully, I think I am a little over my head.
17:08:34 <springmeyer> possibly, but thats good, eh?
17:08:47 <springmeyer> mapnik is rewarding with effort
17:08:51 <joeh_> Glad to know that I have the right place.  :-)
17:09:37 <springmeyer> so joeh_: you want to make your own tiles to serve on a web site? or just make your own maps for desktop use?
17:09:58 <joeh_> I have been recording specific information with my GPS for Humphries county, TN and would not want some info on openstreetmap.
17:10:18 <joeh_> Both actually, I want this information to use with GPS Drive for my boat.
17:10:45 <joeh_> The other info for a county website.
17:10:48 *** xcacou has quit (Remote closed the connection)
17:10:57 <springmeyer> ah, GPS Drive, I've not used that but am aware there is mapnik<-> gps drive integration of some sort
17:11:30 <springmeyer> okay, so, sounds good, the steps you'll need to do are roughly....
17:11:47 <springmeyer> 1) figure out your shapefiles projection
17:11:59 <joeh_> The version of GPS drive uses cached tiles, so Mapnik should serve me well.
17:12:25 <springmeyer> 2) create and xml style or python script to try rendering it with Mapnik (assuming you've already installed/compiled mapnik)
17:12:48 <springmeyer> 3) use generate_tiles.py (script from OSM) to test creating some cached tiles
17:13:09 <joeh_> I have installed mapnik and run the create tiles script for a bounding box of my county. (That took a little while. :)
17:13:16 <springmeyer> QuantumGIS is a great GIS viewer for getting a first visual look at your shapefile
17:13:21 <springmeyer> ya, I bet :)
17:13:40 <joeh_> Will it run on Linux Ubuntu?
17:14:17 <springmeyer> yes
17:14:25 <springmeyer> you can apt-get qgis
17:15:18 <joeh_> Excellent. When you say the projection, you mean mecator or whatever. I am still trying to learn this stuff.
17:15:44 <springmeyer> ya.
17:16:31 <joeh_> Does a shapefile give you information about its contents? When you down load the shapefiles they are compressed and seems like there are dozens fo shapefiles and other data.
17:16:35 <springmeyer> shapefiles are rarely distributed in the mercator projection that is used for web mapping
17:16:46 <springmeyer> ya, shapefiles are composed of several parts
17:16:47 <joeh_> How do I find out?
17:16:58 <springmeyer> the .prj file holds the projection information
17:17:05 <joeh_> OK.
17:17:14 <springmeyer> .g spatialreference.org
17:17:14 <nikq> springmeyer: http://spatialreference.org/
17:17:34 <springmeyer> thats a good site for searching for the 'proj4' string that mapnik needs
17:17:39 <springmeyer> for the 'srs' parameter
17:17:58 <springmeyer> given the text in the '.prj' file that *should* come with most shapefiles
17:18:43 <joeh_> Making notes ...
17:19:47 <springmeyer> http://trac.mapnik.org/wiki/IntroductionToGIS
17:20:27 * springmeyer has to step out for a meeting
17:20:31 <springmeyer> see you all later
17:20:48 <joeh_> Thank you for the links. This has been a real workout for me. Trying to do something and learning the mapping too.  :-D
17:24:45 <joeh_> Seems that my files come with .dbf, .shp and .shx extensions. Does this mean that they will be unusable?
17:25:53 <crschmidt> No, that is the neccesary bits for a basic shapefile
17:25:59 <crschmidt> But you'l need to figure out the projection of your data
17:26:57 <joeh_> Will QGIS help with that?
17:27:28 <crschmidt> No, you'll need to get that information from the data provider.
17:29:01 <joeh_> OK, well at least I have some information to go on. They also have available IENC data following the S-57 version 3 data exchange standard. Does that mean anything?
17:30:04 *** adakkak (n=adakkak@gres110.lis.illinois.edu) has joined #mapnik
17:32:14 *** adakkak has quit (Client Quit)
17:42:42 <joeh_> fwiw - you have to add a repositiory to install qgis on intepid ibex.
17:47:31 <joeh_> and it gives me a segmentation fault. Oh well, I will work with the information you have provided and come back as I learn more and have more questions. Thanks for your time and energy. I appreciate it.  :-)
17:47:54 *** joeh_ has quit ("Ex-Chat")
18:33:59 *** D3f0 (n=defo@190.176.203.57) has joined #mapnik
19:44:10 *** adakkak (n=adakkak@gres110.lis.illinois.edu) has joined #mapnik
20:59:27 *** adakkak has quit ("Ex-Chat")
21:18:17 <nikq> Mapnik Trac: Changeset [968]: scons: improve handling of optional plugin paths by only adding paths if a  ... | http://trac.mapnik.org/changeset/968
21:19:58 <nikq> Mapnik Trac: Ticket #250 (Scons - must improve handling of "CPPPATH" "LIBPATH" environment variables) updated | http://trac.mapnik.org/ticket/250#comment:1
21:22:20 <nikq> Mapnik Trac: Ticket #220 (scons fails if gdal not present) updated | http://trac.mapnik.org/ticket/220#comment:4
22:02:11 *** rcoup (n=rcoup@ip-118-90-127-209.xdsl.xnet.co.nz) has joined #mapnik
22:24:27 *** D3f0 has quit (Read error: 104 (Connection reset by peer))
22:27:52 *** D3f0 (n=defo@190.176.203.57) has joined #mapnik
22:54:32 *** adee (n=adee@78-86-162-74.zone2.bethere.co.uk) has joined #mapnik
22:54:48 <adee> Hello guys
22:55:03 <adee> anyone awake ?
22:55:13 <adee> Need some help !
22:56:57 <nikq> Mapnik Trac: Changeset [969]: scons: trivial formatting fixes to SConstruct to maintain 4 space indents | http://trac.mapnik.org/changeset/969
23:00:59 <crschmidt> adee: I haven't seen your question yet; it's hard to answer questions you haven't asked
23:01:52 <nikq> Mapnik Trac: Changeset [970]: scons: cleanup unneeded thread_flag check in Boost lib/header checking | http://trac.mapnik.org/changeset/970
23:02:14 <adee> i have to use Mapnik to render some maps, but the roads data is broken into sev. small links
23:02:53 <adee> and most of the roads dont get any labels
23:03:19 <adee> has someone found a workaround ?
23:04:09 <adee> I can do that using a script but just wondering if someone has already hone it as I dont want to reinvent the wheel
23:38:20 *** kunitoki has quit ("Lost terminal")
23:57:14 *** weizhuo (n=chatzill@nat/yahoo/x-712de5ba6889bb1b) has joined #mapnik