[mapserver-users] How to use moveLayerUp

2010-07-09 Thread Stefan Schwarzer
Hi, I am working with PHP Mapscript. I would like to move in some secific cases a layer up so that it gets drawn after all the other layers have been drawn. I searched quite some time, but couldn't find any example that would show me how to implement this. Can anyone give me a hint? Thanks a

Re: [mapserver-users] How to use moveLayerUp

2010-07-09 Thread Daniel Morissette
Stefan Schwarzer wrote: Hi, I am working with PHP Mapscript. I would like to move in some secific cases a layer up so that it gets drawn after all the other layers have been drawn. I searched quite some time, but couldn't find any example that would show me how to implement this. Can

[mapserver-users] MapServer 5.6.4 and 4.10.6 released with important security fixes

2010-07-09 Thread Daniel Morissette
The MapServer team announces the release of MapServer version 5.6.4 and 4.10.6. No new functionality has been added. 5.6.4 is a maintenance release that fixes a few issues (including a potential security vulnerability) that were found since the release of 5.6.3. The list of fixes since 5.6.3 is

[mapserver-users] PHP mapscript querybyrect()

2010-07-09 Thread Charlie Allgrove
Hi Could anyone shed some light on a problem I have with querybyrect() using PHP Mapscript please? I'm trying to get the number of points within a known boundary (from a google map). The map file is apparently working, as I have it generating tiles for overlaying on a google map. The Shapefile

[mapserver-users] WFS Error column = 1 on msPostGISLayerGetShape

2010-07-09 Thread Benoit PESTY
Hello, I have a problem configuring a WFS Service. My layer is defined like this: LAYERNAME forest_plot_layerTYPE POLYGONSTATUS ONMETADATA WFS_TITLEForest Plots gml_include_items all gml_featureid

Re: [mapserver-users] WFS Error column = 1 on msPostGISLayerGetShape

2010-07-09 Thread Andy Colson
On 7/9/2010 10:16 AM, Benoit PESTY wrote: Hello, I have a problem configuring a WFS Service. My layer is defined like this: LAYER NAME forest_plot_layer TYPE POLYGON STATUS ON METADATA WFS_TITLE Forest Plots gml_include_items all gml_featureid cell_id END DUMP TRUE CONNECTIONTYPE postgis

[mapserver-users] Thoughts on MapServer security audits, vulnerability reports and security releases

2010-07-09 Thread Daniel Morissette
In case anyone is interested... thoughts from a developer on MapServer security audits, vulnerability reports and security releases and why that is a good thing for the project: http://dmorissette.blogspot.com/2010/07/mapserver-security-audits-and-security.html Daniel -- Daniel Morissette

Re: [mapserver-users] WFS Error column = 1 on msPostGISLayerGetShape

2010-07-09 Thread Carlos Ruiz
The cell_id column is of the integer type ? or character varying type ? It must be integer to be able to compare. IC Carlos Ruiz From: Andy Colson a...@squeakycode.net To: Benoit PESTY tch...@hotmail.com Cc: mapserver-users@lists.osgeo.org Sent: Fri, July

Re: [mapserver-users] WFS Error column = 1 on msPostGISLayerGetShape

2010-07-09 Thread Andy Colson
Oh... Yeah... I should pay more attention to the actual message: HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. This was not a field not found message, I fixed the wrong thing.. oops. Good catch Carlos. -Andy On 7/9/2010 11:15

Re: [mapserver-users] Using Open street map tiles via GDAL_WMS

2010-07-09 Thread Brent Fraser
James, Did you find a solution to this problem? I'd like to use OSM tiles in Mapscript to create an image for server-side creation of large format PDFs for printing, and found that mapserver+GDAL does not calculate the best TileLevel based on the output extents and image size. For

Re: [mapserver-users] PHP mapscript querybyrect()

2010-07-09 Thread Daniel Morissette
You didn't share your layer definition (mapfile). Make sure you have a template set, either at the layer level or in each of the classes you want to be able to query. Charlie Allgrove wrote: Hi Could anyone shed some light on a problem I have with querybyrect() using PHP Mapscript please?

Re: [mapserver-users] Using Open street map tiles via GDAL_WMS

2010-07-09 Thread Brent Fraser
It took a little debugging (the ultimate documentation), but the answer is to add: PROCESSING OVERSAMPLE_RATIO=1 # the default is 2! PROCESSING LOAD_FULL_RES_IMAGE=NO to the layer in map file. Best Regards, Brent Fraser Brent Fraser wrote: James, Did you find a solution

Re: [mapserver-users] WFS Server does not support VERSION 1.1.0

2010-07-09 Thread Daniel Morissette
Chris Green wrote: Daniel You hit the nail on the head...I had blindly followed the example and downloaded Mapserver 5.0.2. I suppose that does not support WFS version 1.1.0, which caused my problem. It should have been simple to re-download Mapserver 5.6.3, but actually I found that all