#MAPSERVER IRC Log - 2010-02-01

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
04:57:37 ue: Hello, is there a way to "capture" the errors that are produced by mapscript while serving data as an OWS service ?
04:58:47 ue: msWMSLoadGetMapParams( ): WMS server error. Invalid layer( s ) given in the LAYERS parameter.
04:59:13 ue: would be nice if I could capture this error somehow
05:01:20 ue: all the ms_io* function return void, so I don't know if the request was successful or not
05:10:28 ue: I have tried using the mapserver error object
05:10:32 ue: $error = ms_GetErrorObj( );
05:10:32 ue: Zend_Debug::dump( $error->message );
05:10:52 ue: But it's always null, maybe it does not capture WMS errors or something =/
06:20:02 lucianjp: Is there any reason why when I'm generating my maps in tile mode my symbols aren't recognized and when I enrate the whole map in map mode everything works fine? Map mode uses cgi in my test app and tile mode uses mapscript in c#. IMve try to update to version 5.6.1 from 5.4.2, but I still have the same problem.
06:31:02 lucianjp: No masters of mapserver currently online?
06:43:19 ue: lucianjp, test both in mapscript
06:44:02 ue: and see if single mode in mapscript produces correct result, then try tiled
06:45:19 ue: are both tiled and single modes are ran against the same mapserver entity ?
06:48:58 lucianjp: yesy they are genrated from the same entity
06:51:14 ue: same map file ?
06:51:54 lucianjp: yes same map file
06:52:55 lucianjp: I only change the extent for obvious reason
06:54:54 ue: in symbols you mean points with a symbol ? or polygons and lines too ?
07:51:53 lucianjp: Scuse me metting and end of day arg...
07:52:06 lucianjp: Line object
07:52:13 lucianjp: with a truetype symbol with a gap
07:52:19 lucianjp: the symbol is >
07:52:26 lucianjp: to do arrowed lines
07:52:44 lucianjp: works wonderfully with the map renderer of cgi
07:53:25 lucianjp: but in tile mode mapscript is show a line over my line object like the symbole wasn't found so it generates a line of the color of the style defined
07:53:58 lucianjp: will work on a way to test the map generator with mapscript tomorrow and come back here then thx
13:04:16 CIA-8: pramsey * r9768 /trunk/mapserver/ ( HISTORY.TXT mapwms.c ): Add support for the WMS capabilities items AuthorityURL, Identifier ( #3251 )
13:30:17 CIA-8: assefa * r9769 /trunk/mapserver/mapwfs.c: Set version to 1.1 if not provided #3218
13:39:48 CIA-8: pramsey * r9770 /trunk/docs/en/ogc/wms_server.txt: Document the wms_authorityurl_name, wms_authorityurl_href, wms_identifier_authority, and wms_identifier_value tags. ( #3251 )
15:39:52 zanberdo: just to be clear, a shape file that is not projected ( wgs-84 ) uses the degree as the unit of measure, is that correct?
15:59:49 FrankW: zanberdo: that is generally correct.
16:04:28 zanberdo: that's what I thought, thank you
16:05:23 zanberdo: I'm just running in to an issue where I'm converting degrees to miles ( longitude ) and drawing a point with a buffer of that size then comparing the results against a hand-drawn line on google earth and my buffer seems to be a bit short.
16:06:21 zanberdo: now correct me if I'm wrong, but converting degrees to miles ( not nautical miles ) longitude is 1/69.047
16:07:18 zanberdo: so, 1 mile should equate to 0.014482888 degrees.
16:08:43 zanberdo: now, considering that I'm only concerned with longitutde, I needn't worry myself about multiplying by the cosine of the degrees latitude...
16:09:38 zanberdo: though if I wanted a truly accurate circle projected on a flat map which is itself unprojected at wgs-84 data, the resulting circle ought to look more like an ellipse the further away from the equator
16:10:03 zanberdo: if I'm understanding things correctly
16:13:04 FrankW: There is no simple linear translation between degrees of longitude and linear miles without regard to latitude.
16:19:15 zanberdo: sorry, I might be confusing long with lat in my description. If I remember correctly, 1 degree latitude ( N or S relative to the equator ) equals 60 nautical miles or 69.047 standard miles. It's the distance between degrees longitude ( E and W ) which decreases as one moves N or S of the equator
16:20:45 zanberdo: but since I'm just worried about roughly one mile radius, give or take .2 miles, I'm not worried about the modifier for being at 44 degrees north latitude
16:21:27 zanberdo: although maybe I should, as it appears that the coefficient is ~ .72 at that latitude...