#MAPSERVER IRC Log - 2009-11-25

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
03:43:55 ue: I really wonder why there is a $shape->toWKT( ); but no $shape->toWKB( ); in phpmapscript =/
03:52:09 ue: I have 2 geometries one inside a the DB, and one as WKT
03:52:17 ue: I want to check if they are "the same"
03:52:41 ue: I tried using st_equals but it did not result in true on all geometries
03:53:01 ue: because of the floating point precision transformation I guess
03:53:21 ue: so I tried to "round" the geometries with snap_to_grid
03:53:41 ue: that worked "fine" for flat projections
03:54:01 ue: but I always get null for WGS84
03:54:01 ue: sample data:
03:54:13 ue: http://pastie.org/714391
03:54:19 sigabrt: Title: #714391 - Pastie ( at pastie.org )
03:54:56 ue: oh wait, need data from DB too : )
03:55:42 ue: and I am asking in the wrong list too, sorry rough day :(
04:30:16 aboudreault: jmckenna: ping
04:30:36 jmckenna: aboudreault: pong. hello!
04:31:01 aboudreault: hello!
04:31:09 aboudreault: <-- osgeo4w n00b :(
04:31:28 aboudreault: How to start the web server
04:32:11 aboudreault: I'm looking in the wiki to find the shell start command
04:33:09 jmckenna: aboudreault: testing with latest, one second
04:33:21 aboudreault: sure
04:35:39 jmckenna: aboudreault: if you click on the osgeo4w shell and type 'apache-install' the server should install and start
04:36:00 jmckenna: ( at one point i thought this was executed automatically )
04:36:52 aboudreault: hmm, unknown command.
04:37:21 jmckenna: try 'apache-install.bat'
04:38:34 aboudreault: looks like my osgeo4w is not fully installed.
04:38:46 aboudreault: I probably need to do something with the setup.ini
04:39:10 jmckenna: or, open a new command window, cd to osgeo4w, then execute 'osgeo4w.bat', and then execute 'apache-install.bat'
04:42:03 aboudreault: I selected install from the internet...... and it seems to have only generated the setup.ini
05:04:11 jmckenna: aboudreault: any luck?
05:06:36 aboudreault: I'm reinstalling right now
05:08:07 aboudreault: thx for the command name, gtg for now, will try that when the install finish.
05:08:17 jmckenna: ok np
05:44:21 CIA-80: sdlime * r9561 /trunk/mapserver/ ( HISTORY.TXT mapquery.c ): Fixed a problem with shape-based queries against projected layers when using a tolerance ( #3211 )
09:21:17 leifer: so my mapserv is built with fastcgi suport, apache is configured with fastcgi....how do i know mapserv is actually using fastcgi?
09:24:24 FrankW: leifer: one clue would be a long running mapserv process.
09:24:44 FrankW: Are you using a distinct extension to tell apache to treat the cgi as a fastcgi service?
09:26:04 leifer: FrankW: we used the details on http://mapserver.org/optimization/fastcgi.html
09:26:06 sigabrt: Title: FastCGI MapServer 5.4.2 documentation ( at mapserver.org )
09:27:32 FrankW: So, are you using the extension .fcgi for your mapserv executable?
09:27:47 leifer: FrankW: no
09:27:51 leifer: should we?
09:28:12 FrankW: well, that howto is adding a handler for the extension .fcgi, so yes.
09:28:22 FrankW: I must confess I don't see any mention of this detail in the howto.
09:28:27 FrankW: It may need improvement.
09:28:38 leifer: : )
09:30:22 FrankW: If you find that to be the case, please file a ticket indicating that the howto does not mention the need to rename the cgi to mapserv.fcgi.
09:30:39 FrankW: And if you find other issues in the description of the process you can note those in the ticket as well.
09:30:49 FrankW: you may directly assign the ticket to me, "warmerdam" in Trac.
09:30:54 jmckenna: as a windows guy, i make sure fastcgi is working by opening up Task Manager, then starting my mapping application in my browser - when a map is generated i see 'mapserv.exe' process listed in Task Manager -if FastCGI is enabled properly this same mapserv.exe should stay listed in Task manager ( if this mapserv.exe disappears then FastCGI is not enabled ).
09:31:16 FrankW: right, that's what I mean about a long running process.
09:31:22 FrankW: On linux you can check with ps or top.
09:31:37 jmckenna: : ) sorry i was just spelling out what you meant, just in case.
09:31:48 FrankW: I was rather oblique.
09:35:03 leifer: FrankW: no worries i understood : )
09:35:15 jmckenna: ah sorry all
09:35:31 leifer: jmckenna: hey the more help the better : )
09:35:38 jmckenna: : )
10:05:41 leifer: FrankW: adding the .fcgi extension to mapserv did the trick
10:05:45 leifer: FrankW: i'll submit a ticket
10:05:54 FrankW: thanks
10:40:27 leifer: arrgh, i'm logged into mapserver Trac and when I click on New Ticket it logs me out and i clicking "login" does nothing
10:42:01 FrankW: leifer: perhaps hit your refresh button?
10:42:16 FrankW: Sometimes folks have problems when they are operating through odd web caches or other odd router configurations.
10:42:26 leifer: ya i tried refresh :(
10:42:35 leifer: going to "View Tickets" logs me back in
10:42:36 FrankW: Hmm, odd.
10:42:53 FrankW: sounds like some sort of caching issue.
10:43:13 leifer: oh clicking New Ticket now and i'm logged in
10:43:15 leifer: blah
10:48:42 mdev: I have a PNG icon of a bus with transparency... how come when I apply the resulting symbol to a line, it is not transparant but white background but if I apply it as a POINT then it does come up transparent?
23:44:40 strk: uhm, in mode=Legend overriding legend size has no effect ?
23:44:49 strk: mode=Legend&map.legend+label+size+1
23:46:50 strk: ah, map.legend=