Re: [mapserver-users] Add Content to the Legend

2008-07-24 Thread Stefan Schwarzer
Class definition looks like this: LAYER NAME total_co2_90.tif TYPE RASTER STATUS DEFAULT DATA total_co2_90.tif PROJECTION 'init=epsg:4326' END END Normally, when dealing with shapefiles, I have something like this: CLASS N

Re: [mapserver-users] Displaying identify results properly precisionand scale

2008-07-24 Thread Steve Lime
I'm not sure how geomose generates those results but I would imagine it's through templates. If so, then you can use the item tag to control precision. If the column is area then the tag would look like: [item name="area" precision=2] or something along those lines. Steve >>> On 7/24/2008 a

Re: [mapserver-users] php_mapscript compatibility trouble

2008-07-24 Thread Daniel Morissette
alim karim wrote: i'd leave it to the development guys to make the call on whether --enable-debug should automatically change the ZEND_DEBUG flag - it would be nice if it did. I don't think --enable-debug should also set the ZEND_DEBUG flag in php_mapscript.c because we sometimes (often i

Re: [mapserver-users] Poll: Do you think a standalone Mapfile editing tool is necessary?

2008-07-24 Thread Luigi Castro Cardeles
hi, maybe we don't need a new tool. A plugin for a text editor maybe do that job. Something like a "extend" auto-complete (when you put the LAYER definition, the plugin also put all the optins you have - CONNECTION, CLASS etc). Sometimes i am lost with so many options (Layer -> Class -> Style ->

[mapserver-users] Displaying identify results properly precision and scale

2008-07-24 Thread Mark Volz
Hello, I am using Geomoose, which runs over mapserver. I am having issues with how the identify results display. The results are showing up in scientific notation eg acres = 1.540 e +002. I would the data to show up as 154.00 Acres. I looked at another shapefile that is working and r

Re: [mapserver-users] SCALE=AUTO applied to current view or entire layer?

2008-07-24 Thread Frank Warmerdam
John Maurer wrote: I'm quite surprised at the behavior you report. MapServer *should* be computing a minimum and maximum for scaling purposes based on the data loaded for the particular map draw request, not the layer as a whole. Hi Frank, Thanks for your prompt reply! And sorry for the fals

Re: [mapserver-users] php_mapscript compatibility trouble

2008-07-24 Thread alim karim
the credit for this goes to daniel morissette - i had found a post by him suggesting this a while ago when i ran into the same problem. i'd leave it to the development guys to make the call on whether --enable-debug should automatically change the ZEND_DEBUG flag - it would be nice if it did. ak

Re: [mapserver-users] Poll: Do you think a standalone Mapfile editing tool is necessary?

2008-07-24 Thread Robert W. Burgholzer
If the standalone tool was web-based, then most definitely. :) r.b. Quoting Yves Jacolin <[EMAIL PROTECTED]>: > Enri, > > Le jeudi 24 juillet 2008 02:43, enri a écrit : > > Anyway, this tool will puts focus on windows users > I am sad to read this, can't you think to all other linux geek? :) >

Re: [mapserver-users] php_mapscript compatibility trouble

2008-07-24 Thread Robert W. Burgholzer
ak, You rule! That did the trick! Is this worthy of a bug-report, or feature request, i.e., a configure switch to have the debug set on php_mapscript -- or should it automagically do it with the enable-debug switch on?? Many thanks! r.b. Quoting alim karim <[EMAIL PROTECTED]>: > you can try

Re: [mapserver-users] shp2img problem

2008-07-24 Thread Steve Lime
Can you share the mapfile? Steve >>> On 7/24/2008 at 5:06 AM, in message <[EMAIL PROTECTED]>, Derek Bain <[EMAIL PROTECTED]> wrote: > Hi > > I > am using shp2img to test my mapfile.. The functions runs and returns no > error to the console window but the output image file generated is only > 1K

Re: [mapserver-users] Poll: Do you think a standalone Mapfile editing tool is necessary?

2008-07-24 Thread Yves Jacolin
Enri, Le jeudi 24 juillet 2008 02:43, enri a écrit : > Anyway, this tool will puts focus on windows users I am sad to read this, can't you think to all other linux geek? :) Depends on the langage you use, might it be portable to another plateform? Regards, Y. -- Yves Jacolin - "Don

Re: [mapserver-users] php_mapscript compatibility trouble

2008-07-24 Thread alim karim
you can try changing the following to enable a debug build of the mapscript module. in mapscript/php3/php_mapscript.c : change #define ZEND_DEBUG 0 to #define ZEND_DEBUG 1 ak On Thu, Jul 24, 2008 at 8:57 AM, Robert W. Burgholzer <[EMAIL PROTECTED]> wrote: > I am getting the following error

[mapserver-users] php_mapscript compatibility trouble

2008-07-24 Thread Robert W. Burgholzer
I am getting the following error after recompiling php and mapserv: in Unknown on line 0 Unknown(0) : Warning - PHP Startup: MapScript: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=1 PHPcompiled with module API=20060613, debug=1, thread-safety=1

AW: [mapserver-users] Again: Some Problems with WMS-GetLegendGraphic using aggand pixmaps

2008-07-24 Thread Schönhammer, Herbert
Hi, Thomas, yes I think it is a scaling problem. I have generatd a ticket and assigned it to you (#2715). thanks Herbert Schoenhammer >-Ursprüngliche Nachricht- >Von: thomas bonfort [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 23. Juli 2008 14:34 >An: Schönhammer, Herbert >Cc: Mapserv

[mapserver-users] WFS GetFeature with PostGIS database : the PostGIS request is not well formated (with string fields that contains only numbers)

2008-07-24 Thread SAEZ Laurent - CETE Méditerr./DI/ETER
Hi List, I have a PostGIS database. I have a point table representing plots. I have to select a plot using several fields : * num_dep (string) : departement code, * nom_com (string) : city name, * section (string) : section number, * numero (string) : plot number. I use MapServer 4.

[mapserver-users] MapServer with Oracle Spatial

2008-07-24 Thread Iratxe Lejarreta
Hi, I installed FGS on Red Hat Enterprise Linux 5.2, but I don't know what I need to configure in MapServer to connect with Oracle 10g. Because, when I run the WFS service, the result is: msOracleSpatialLayerOpen(): OracleSpatial error. OracleSpatial is not supported In the Mapserver documentat

[mapserver-users] shp2img problem

2008-07-24 Thread Derek Bain
Hi I am using shp2img to test my mapfile.. The functions runs and returns no error to the console window but the output image file generated is only 1K in size and shows a vertical line 2x1 pixels, not the expected output. Can anyone give me some help in getting this to work Derek This is my co