#MAPSERVER IRC Log - 2010-01-20

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
00:53:47 ue: anyone here uses MS4W Base Installer v3.0 Beta 7 ? I have a question regarding module adding
00:55:46 ue: my question is: In new version ms4w everything is statically compiled in php.exe ? because I see all the "modules" commented but they appear in phpinfo( ); and I don't see their .dlls in the /ext folder
00:56:17 ue: and if I want to add my own module in my case it's php_pdo_pgsql
00:56:57 ue: should I just fetch it from php.net ? but there many version on windows builds there thread safe and not ? how was ms4w compiled ?
00:57:08 ue: sorry if asking in the wrong channel btw
05:32:43 crschmidt: hi
05:32:45 crschmidt: I have a mapfile
05:32:53 crschmidt: with a WMS cascading thing
05:33:02 crschmidt: when I run the image via shp2img, it works
05:34:01 crschmidt: it puts stuff in the imagepath
05:34:07 crschmidt: when i request via wms
05:34:08 crschmidt: it doesn't
05:34:20 crschmidt: request looks like
05:34:20 crschmidt: http://hypercube.telascience.org/cgi-bin/mapserv?map=/geo/haiti/mapfiles/4326.map&LAYERS=spot-01-14-4326&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=-72.421875,18.45703125,-72.24609375,18.6328125&WIDTH=256&HEIGHT=256
05:34:53 crschmidt: mapfile is http://hypercube.telascience.org/haiti/mapfiles/4326.map
05:35:58 crschmidt: i guess i need to figureo ut how to turn on debugging
05:37:16 ue: http://blog.cleverelephant.ca/2008/04/mapserver-debug-logging.html
05:37:17 sigabrt: Title: Paul Ramsey: Mapserver Debug Logging ( at blog.cleverelephant.ca )
05:40:30 crschmidt: great, mapserver 5 works
05:40:32 crschmidt: but 4.10 doesn't
05:40:33 crschmidt: *sigh*
05:40:42 crschmidt: ue: yeah, doesn't help with 4.10
05:40:53 zjames: another approach is to run the cgi in a shell, passing the query string as QUERY_STRING=...
05:41:51 crschmidt: ah
05:41:54 crschmidt: puts it to stdout
05:41:55 crschmidt: got it
05:41:57 crschmidt: stderr*
05:42:17 ue: crschmidt, yep, it should be in your apache error log
05:42:54 crschmidt: hm
05:43:17 crschmidt: okay
05:43:22 crschmidt: mapserv 4.10 doesn't include styles
05:43:26 crschmidt: and wms_styles "" didn't work
05:43:29 crschmidt: so i just put a styles=&
05:43:31 crschmidt: at the end of my URL
05:43:33 crschmidt: and it fixed it
05:43:35 crschmidt: thanks for the help!
05:46:27 aboudreault: gislars: May you confirm me that I can do the changes on the mapserver website ?
05:52:21 gislars: aboudreault: go for it
05:52:41 gislars: I thought you already started it yesterday
05:53:42 aboudreault: no. you said that you was about to test the change locally before.
05:55:58 hobu: gislars and aboudreault: what's the plan?
05:58:02 aboudreault: I'm going to apply the copy trick
05:59:07 aboudreault: and disable the 404 handler
06:05:50 gislars: the plan is to have only the translated docs in the repository and before each build we copy /en/ to every other language directory
06:06:26 gislars: if the repository changes we need to cleenup the /de/ do an new checkout and rebuild again the docs
06:07:41 gislars: disadvantage is, if the docs are build very often the checkouts could sum up
06:50:00 aboudreault: gislars: I think I'm going to delete/checkout the "de" directory only 2 times per day rather than every hour as the build generation.
07:21:02 aboudreault: gislars: cp -n option !?
07:22:19 aboudreault: what -n is suppose to do... ? it doesn't exist
07:23:18 gislars: thats the option for not overwriting files
07:23:43 aboudreault: don't know what cp you are using .. :P
07:24:01 gislars: hmm... sorry its an ubuntu... didn't checked befor
07:24:05 aboudreault: will find the proper option on the unix system
07:24:14 aboudreault: I'm on ubuntu too
07:24:18 gislars: thought its everywhere the same :/
07:24:54 aboudreault: cp 6.10 here.
07:25:09 gislars: cp ( GNU coreutils ) 7.4
07:25:54 aboudreault: hmm.. I have jaunty, you probably running karmic, though the version are so different.
07:26:07 gislars: my debian box also dont know this option
07:26:14 gislars: yes karmic
07:27:03 gislars: ah.. maybe -u ?
07:27:10 gislars: copy only when the SOURCE file is newer
07:27:10 gislars: than the destination file or when the
07:27:10 gislars: destination file is missing
07:28:01 gislars: hmm but I'm not sure about the timestamp after checkout
07:30:20 aboudreault: wtf, can't imagine the overwrite option has been added in 2009-2010 .. hehe
07:33:21 aboudreault: I suppose -u will do the job... but not exactly the right option.
07:34:00 aboudreault: no.. absolutely not. the updated en files will overwrite the de files.
07:35:36 gislars: I'm not sure how to do this in a script but in command line you can do "no | cp -a <src> <dest>"
07:35:44 gislars: that will answer all questions with no
07:36:11 : * gislars is trying this now
07:36:21 aboudreault: I would say that the no will be read only one time..
07:38:03 gislars: are we the first one with this problem? ...crazy day hehe
07:38:47 : * aboudreault looks the "yes n" command
07:39:09 aboudreault: something like that could work: yes n | cp -R -h -i /dirone/* /dirtwo
07:40:42 aboudreault: works well ! : )
07:40:54 gislars: great
07:45:04 aboudreault: I will not be able to say to my children that when I begin to work with PCs, I had to program with punch card ... but I will tell them that I had to use the command "yes" with a pipe to simulate the no-overwrite option, :P
07:45:26 gislars: LOL
07:51:23 CIA-48: aboudreault * r9711 /branches/branch-5-6/docs/Makefile: added the init make rule
07:52:05 CIA-48: aboudreault * r9712 /trunk/docs/Makefile: fixed the init make rule
08:38:49 spatialguru: @seen pnaciona
08:38:49 sigabrt: spatialguru: pnaciona was last seen in #mapserver 6 weeks, 4 days, 22 hours, 15 minutes, and 46 seconds ago: <pnaciona> second
09:13:06 aboudreault: hobu, gislars: everything is in place.
09:13:17 outer_space: is php mapserver stable enough or should i use cgi mapserver?
09:14:34 aboudreault: the "de" directory is only updated totally at 00H and 12H.
09:15:03 aboudreault: outer_space: It's basically the same thing. Just different way to use mapserver
09:15:15 aboudreault: depends on what you want to do
09:23:02 outer_space: does the php version have the long urls with vars and stuff in it?
09:23:58 aboudreault: emm
09:24:39 aboudreault: you are talking about something like [...]/cgi-bin/mapserv?var1=...&var2=... ?
09:25:33 aboudreault: this is a cgi-bin request... it's only with the cgi-mapserver.
09:25:48 aboudreault: But you can "simulate" something similar with the cgi request object in php mapscript.
09:44:20 outer_space: are php links to a map going to be a short url?
09:46:43 aboudreault: still not sure what you are trying to do
09:47:22 aboudreault: you cannot compare php mapscript and the cgi mapserver
09:47:45 aboudreault: both have their utilities
10:09:25 CIA-48: assefa * r9713 /trunk/mapserver/mapogcfilter.c: Using function NONE for oracle layers when filter has only attribute query ( #2725 )
10:11:18 gislars: aboudreault: so everybody can now contribute to the docs in his favourite langague? : )
10:11:31 gislars: thank you for setting things up
10:11:42 aboudreault: absolutely!
10:11:46 aboudreault: np
10:12:16 gislars: what version is currently in mapserver.org/trunk ?
10:12:24 gislars: is it the trunk version?
10:12:42 jmckenna: 5.6.1 is visible, 5.6.1 branch
10:13:12 gislars: ok because it says still 5.4.2
10:13:28 jmckenna: i thought we made that switch...checking...
10:14:00 jmckenna: gislars: can u point me to where u see that reference?
10:14:04 aboudreault: gislars: not sure if I modified the trunk version in the makefile
10:14:13 gislars: http://www.mapserver.org/trunk/en/documentation.html
10:14:14 sigabrt: Title: MapServer 5.4.2 Documentation MapServer 5.4.2 documentation ( at www.mapserver.org )
10:14:46 aboudreault: will change it in the Makefile... but the trunk is not regenerated periodically
10:15:04 gislars: i think thats ok
10:15:06 jmckenna: sorry i wasn't aware of a visible /trunk url ( wasn't this /dev before???? )
10:15:28 jmckenna: i should have stayed quiet : )
10:15:42 CIA-48: assefa * r9714 /trunk/mapserver/mapquery.c: Do not adjust the extents in the query code since It could be used from WMS GetFeatureInfo ( #3241 )
10:15:46 gislars: I think 7dev was just for testing the 404 handler
10:16:30 aboudreault: yes. doesn't exist anymore
10:18:49 : * gislars thanks everyone involved in getting the multilingual docs working
10:18:58 gislars: I'll spread the word
10:19:05 CIA-48: aboudreault * r9715 /trunk/docs/conf.py: updated trunk docs version
10:19:33 jmckenna: yes thanks gislars and aboudreault for this hard work!
10:20:33 : * aboudreault pays the beer!
10:20:56 jmckenna: question for you guys: did we handle the 'where are the 5.4 docs' question?
10:21:14 jmckenna: this might be the last task
10:21:48 gislars: isn't it in the 5.4 branch?
10:21:57 jmckenna: i can experiment with adding a link to mapserver-5.4.pdf in documentation.txt
10:21:58 CIA-48: assefa * r9716 /trunk/mapserver/mapwms.c: Adjust geotransform parameters for GetFeatureInfo #3241
10:22:19 aboudreault: jmckenna: we could add a Old release doc section in the download page with the link to the pdf ?
10:22:52 jmckenna: aboudreault: yes. i was thinking of a link in a note on documentation.txt
10:23:27 aboudreault: ok
10:23:38 jmckenna: i will experiment now.
10:23:39 aboudreault: Do you take care of that?
10:23:46 jmckenna: yes i will.
10:23:47 aboudreault: ok, thx
10:25:04 gislars: another thing: I'm missing the pdf version
10:25:11 gislars: didn't the get generated?
10:25:30 gislars: or is it just not linked?
10:25:31 jmckenna: i will check that also.
10:25:45 jmckenna: good catch.
10:31:33 aboudreault: I've updated the trunk docs.
10:33:41 jmckenna: gislars: our twitter names are very similar : )
10:38:35 gislars: yes, I also noted this but it wasn't intentional
10:39:01 gislars: I was looking for a unique word and so I just swap some letters : )
10:39:38 gislars: good thing is: search for the name will lead to me
10:39:59 jmckenna: : )
10:40:05 gislars: who knows... somedays it will be a big brand LOL
11:18:55 CIA-48: jmckenna * r9717 /branches/branch-5-6/docs/conf.py: change version to 5.6.1
11:19:07 gislars: I played around with gource and there is now a video of mapserver development from 2000 to 2010: http://www.lingner.eu/mydownloads/osgeo/mapserver-2000-2010.mp4 ( 142 MB )
11:19:47 gislars: not sure if I should upload it to some video platform
11:20:07 gislars: ...its has no practical use its just eyecandy
11:23:37 jmckenna: poor docs, no eye candy glory. lol
11:32:09 jmckenna: cool though, i like eye candy : )
11:48:44 hobu: gislars: mirrored http://download.osgeo.org/mapserver/mapserver-2000-2010.mp4
12:04:47 gislars: thanks... nice to see someone like it
12:15:27 : * jmckenna seems like i have a lot to learn about generating a pdf from Sphinx
12:17:18 : * jmckenna digs into this rooms logs to see pdf mentioned recently
12:18:03 : * jmckenna ah, 'add pdf builder target to makefile' -> that's a hint
12:29:44 gislars: doesnt "make latex" and "make all-pdf" work?
12:35:41 jmckenna: i was 'make pdf' until i saw IRC logs from howard a few days ago saying that we don't use pdf builder. sorry guys, i am behind.
12:36:42 gislars: hobu tried a new pdfbuilder, but that wasnt working on the server... so he changed back to the working one
12:37:05 jmckenna: yeah it took me a while to see that IRC discussion..lol.
12:38:22 gislars: ok.. I need to get some sleep now...
12:38:24 gislars: bye
12:45:32 jmckenna: :q
12:45:42 jmckenna: ha
12:48:01 : * jmckenna duh - that would be why a script already exists on server ( build_pdf_docs.sh )
13:15:36 : * jmckenna generating /en and /de MapServer.pdfs, and will add script to nightly.sh
13:22:35 CIA-48: jmckenna * r9718 /branches/branch-5-6/docs/en/documentation.txt: add note to downloadMapServer-54.pdf
13:22:36 CIA-48: aboudreault * r9719 /trunk/mapserver/ ( HISTORY.TXT maporaclespatial.c ): Added support of 44xx gtypes in oracle spatial driver ( #2830 )
21:32:30 outer_space: can EXTEND be in degrees?
21:32:36 outer_space: EXTENT
21:32:58 outer_space: EXTENT [minx] [miny] [maxx] [maxy]The spatial extent of the map to be created. In most cases you will need to specify this, although MapServer can sometimes ( expensively ) calculate one if it is not specified.
21:33:07 outer_space: is this in degrees?
21:34:58 crschmidt: outer_space: it is likely in the projection of your map.
21:35:08 crschmidt: outer_space: if your map is in EPSG:4326, degrees might make sense.
21:35:51 outer_space: its in JAL83
21:37:41 nhv: the extent is in the same unoits as your map's projection
21:37:50 nhv: same units as
21:38:17 nhv: as defined in your mapfile