#MAPSERVER IRC Log - 2010-01-13

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
04:59:20 kjartanb: msGetLabelSize( ): TrueType Font error. Requested font ( arial ) not found. what do I need to install to get the font?
05:01:59 aboudreault: You need to specify a fontset in the map.
05:02:40 aboudreault: kjartanb: http://mapserver.org/mapfile/fontset.html
05:02:41 sigabrt: Title: FONTSET MapServer 5.4.2 documentation ( at mapserver.org )
05:06:38 kjartanb: ok so I would need to install the arial font on my linux to be able to use it
05:06:55 aboudreault: yes
05:08:11 kjartanb: and then I would need to make this fontlist file and add it to my map file
05:14:33 aboudreault: right
05:25:50 kjartanb: should I copy the arial.ttf to my fontlist locataion our should I have just full path to the arial.ttf?
05:27:58 aboudreault: you can put a directory inside your project it self, and put the the fontlist in it
05:28:12 aboudreault: this way you wont have to write anypath, just the filename.
05:31:34 kjartanb: I added fontset to my mapfile and in my map file I have arial /usr/share/fonts/msttcorefonts/arial.ttf
05:31:34 kjartanb: and now when I try to load my mapfile it says the webiste cannot display the page
05:34:16 CIA-9: hobu * r9686 /trunk/docs/conf.py: fix up stuff that shouldn't have been in r9642
05:46:32 hobu: http://maps.dnr.state.mn.us/testing/ms_preview/index.html jmckenna
05:46:33 sigabrt: Title: Welcome to MapServer MapServer 5.4.2 documentation ( at maps.dnr.state.mn.us )
05:50:50 : * hobu still hates "Issue Tracker" in the title bar and would still rather see the standard "Bugs"
05:51:32 gislars: hobu: thanks for fixing docs generation
05:51:44 hobu: np, sorry I screwed it up
05:51:50 gislars: does the rst2pdf builder has advantages?
05:52:19 aboudreault: hobu: preview looks good
05:52:33 : * aboudreault likes the logo ; )
05:52:34 gislars: rst2pdf isn't running on the server but its running everywhere else : )
05:52:37 hobu: prettier output, no dependence on latex, smaller output, faster generation
05:52:56 hobu: but our docs are huge, and we have so many levels of stuff. the builder isn't quite ready for us yet
05:53:05 hobu: preview looks great
05:53:12 hobu: That's all Steve's work
05:53:35 aboudreault: gislars: fedoracore 4 on the server. *shrug*
05:53:46 hobu: He's wanting to change a little bit of organization, but will attack that after making things pretty
05:54:33 hobu: sudo easy_install rst2pdf
05:54:37 gislars: aboudreault: yes is slightly outdated... but still running
05:54:40 : * jmckenna likes issue tracker : )
05:54:41 hobu: that'll install it on xblade14 no problem.
05:55:08 aboudreault: hobu: yeah, installation went fine.. but not the execution.
05:55:32 aboudreault: anyway, the doc gen runs fine now without that extention.
05:55:39 hobu: oh, I think I needed a svn version or something of rst2pdf. At any rate, not ready for prime time
05:56:08 nhv: ooooh new website preview has nice look and feel
05:56:23 gislars: aboudreault: is the new 404 handler already active?
05:56:31 jmckenna: good question
05:56:52 aboudreault: gislars: waiting the doc gen is finish..
05:57:44 jmckenna: i wonder if our osgeo banner should be more prominent...a better location.
05:57:51 gislars: hehe... ok I don't wanted to push...
05:57:53 hobu: if we're confident with the handler, let's branch the docs
05:58:46 hobu: jmckenna: yeah, though designing a website by mailing list is going to be much harder than a logo : )
06:00:10 jmckenna: other than that it rocks
06:00:20 jmckenna: and i can live with it as is
06:01:22 hobu: I think Steve wants blue for the title bar instead of green, which I agree with. He was going to keep tweaking
06:01:40 jmckenna: agreed, i find the green bar startling
06:01:43 aboudreault: arf...... sphinx do not include link if a page doesn't exist ;/
06:01:47 hobu: and then spring it on folks once it's nearly done. people don't step up to do the work, but they'll step up to toss rocks at it : )
06:02:04 jmckenna: ha : )
06:02:16 hobu: aboudreault: ouch. I bet we can fix that with a sphinx extension though
06:03:15 hobu: I would craft an email to http://groups.google.com/group/sphinx-dev?hl=en and describe the multilingual approach we're taking and describe the need for having links to pages that don't exist.
06:03:16 sigabrt: Title: sphinx-dev | Google Groups ( at groups.google.com )
06:03:38 hobu: Georg has been fantastic at answering questions, and he could describe how to do this with an extensions ( or he'll just patch Sphinx )
06:08:36 aboudreault: ok
06:24:29 aboudreault: xblade16 is so slow right now :/
07:49:13 aboudreault: gislars: You can remove the _static directory too, I've added a rewriterule
07:49:59 aboudreault: http://mapserver.org/dev/de/
07:50:00 sigabrt: Title: Willkommen zum MapServer MapServer 5.4.2 documentation ( at mapserver.org )
08:36:23 jmckenna: slime made some color changes: http://maps.dnr.state.mn.us/testing/ms_preview/index.html
08:36:24 sigabrt: Title: Welcome to MapServer MapServer 5.4.2 documentation ( at maps.dnr.state.mn.us )
09:31:55 aboudreault: gislars: nvm, the _static is not in the de dir, perhap hobu know how we could move "images" folder to be like the _static one
09:32:30 gislars: aboudreault: the _static directory is only once in svn, the build script is copying it to each <lang> directory
09:32:45 gislars: oh... timing
09:32:48 aboudreault: ; )
10:15:34 CIA-9: aboudreault * r9687 /trunk/mapserver/ ( HISTORY.TXT mapogr.cpp ): Fixed OGR datasource double free ( #3261 )
10:37:10 aboudreault: gislars, jmckenna, hobu: I guess if we decide to move the "images" directory later to be shared between languages, the branching could be done
10:41:36 : * jmckenna catching up
10:42:06 jmckenna: i have spinx 0.6.3 locally, and am rebuilding doc tree...will i be able to test this locally?
10:42:29 aboudreault: probably
10:42:37 aboudreault: you can see it online too
10:42:41 jmckenna: i have rebuilt.
10:42:45 aboudreault: http://mapserver.org/dev/
10:42:46 sigabrt: Title: Welcome to MapServer MapServer 5.4.2 documentation ( at mapserver.org )
10:43:26 jmckenna: ok looking
10:44:00 aboudreault: Looks like the news and downloads haven't been applied in trunk.
10:44:10 jmckenna: i just noticed that too!
10:44:12 jmckenna: ha
10:44:37 aboudreault: I guess, we could simple copy the file from 5.4 branch, since it's up-to-date.
10:44:45 jmckenna: ok am doing that now
10:51:04 aboudreault: Are we going to let the 5.4 doc available ?
10:51:28 aboudreault: or we replace it totally
10:51:36 CIA-9: jmckenna * r9688 /trunk/docs/en/include/announcements.inc: add updated announcements file for dev branch
10:53:12 aboudreault: gtg, bbl.
10:53:13 jmckenna: good question. can we have the 5.4 docs as a single pdf link on documentation.txt page?
10:53:33 aboudreault: yeah, that should be enough I think.
10:53:52 jmckenna: i think so too ( i think howard suggested this, and i like it )
10:58:25 : * jmckenna tries make all-pdf
11:07:51 : * jmckenna cds to /osgeo/mapserver/ on xblade14. cue the music "it's been awhile..."
11:28:14 jmckenna: i'm amazed at how nice the TOC is for the magically generated mapserver.pdf
11:54:09 karstenv: I have a dynamic layer in my mapfile: DATA "intersect_geom from ( intersect_geom from ( select ST_Intersection( g1.the_geom, g2 ) As intersect_geom from ( select the_geom from pugetsound ) as g1, st_buffer( setsrid( MakePoint( 1186696,414883 ),2285 ),9000 ) as g2 ) ) as temp using unique gid using SRID=2285"
11:54:11 karstenv: Trying to display the layer I am getting an error that "gid" column doesn't exist ( sure that;s true it doesn't for that intersection ). How can I make this work?
11:57:11 jmckenna: when i see the "gud column doesn't exist error" i go look at the postgresql.conf and make sure that the db is set to contain oids
11:57:37 jmckenna: but i'm not sure about your intersection question, sorry
12:01:12 karstenv: that worth a try. Because when I take out "using unique gid" I got an "oid" doesn't exist error, so tweaking postgresql.conf might work ...thanks
12:10:52 jmckenna: on xblade14 ( mapserver.org ) there is a "docs" directory ( containing branch-5-6 ), a
12:12:06 jmckenna: sorry contains branch-5-4
12:13:00 jmckenna: and then there is a "docs.trunk" dir. so, should i/we be creating a branch-5-6 and have it live in the "docs" dir? i am trying to grasp this
12:14:23 jmckenna: and also add a docs.5-4 dir containing the old branch-5-4 ( so we can point to the mapserver-5-4.pdf ) ?
12:14:52 karstenv: hmm now I made sure the postgis table has "oid"s but still get the "oid" doesn't exist error...
12:15:50 jmckenna: not sure, i usually have to restart postgres service, then createdb again and re-load my data, to make sure oids are generated
12:16:12 karstenv: sure the intersection results has no "oid"s I guess so i have no idea how to solve this
12:17:04 jmckenna: this is a common issue...there is the postgresql.conf way to fix, and there is another way...but you will have to search the mailing list for this
12:17:47 karstenv: yes I did restart the db and checked the table ( in PgAdmin ) it does now have an oids
12:17:48 jmckenna: http://old.nabble.com/PostGIS-f1221.html and http://n2.nabble.com/MapServer-f1969210.html
12:17:49 sigabrt: Title: Nabble - PostGIS forum ( at old.nabble.com )
12:18:16 jmckenna: then i am not sure, sorry
12:18:18 springmeyer: karstenv: wild guess:
12:18:20 springmeyer: DATA "intersect_geom from ( intersect_geom, gid from ( select ST_Intersection( g1.the_geom, g2 ) As intersect_geom, gid from ( select the_geom, gid from pugetsound ) as g1, st_buffer( setsrid( MakePoint( 1186696,414883 ),2285 ),9000 ) as g2 ) ) as temp using unique gid using SRID=2285"
12:18:47 karstenv: I'll try
12:26:51 springmeyer: karstenv: any luck?
12:29:34 karstenv: just finished to change it - yup that really does work - thanks a gazillion
12:30:38 springmeyer: k
15:45:41 karstenv: I'm trying to create single part polygons using ST_Dump and then select the part that includes a point
15:45:42 karstenv: select ( ST_Dump( ST_Intersection( g1.the_geom, g2 ) ) ).geom as intersect_geom
15:45:44 karstenv: from ( select the_geom,gid from pugetsound ) as g1, st_buffer( setsrid( MakePoint( 1186696,414883 ),2285 ),60000 ) as g2
15:45:45 karstenv: where intersects( intersect_geom,setsrid( MakePoint( 1186696,414883 ),2285 ) );
15:45:47 karstenv: but this give me "ERROR: column "intersect_geom" does not exist" . Do I need to use the alias differently ?
15:46:58 springmeyer: karstenv: #postgis ?
15:47:13 springmeyer: also pasting the SQL to http://dpaste.com is more readible
15:47:14 sigabrt: Title: dpaste: New ( at dpaste.com )
15:47:26 karstenv: sorry wrong window
15:51:46 karstenv: I'm trying to create single part polygons using ST_Dump and then select only the one part that includes a point but this give me "ERROR: column "intersect_geom" does not exist" . Do I need to use the alias differently ? http://dpaste.com/144909/
15:51:47 sigabrt: Title: dpaste: #144909: using alias, by karsten@terragis.net ( at dpaste.com )