[mapserver-users] Fw: Distance w.r.t scalebar and postgre distance query

2008-05-30 Thread User Map
hi, i have send this mail before too, but did not recieved any reply :( i have no clue to this problem, can anybody please help.   i have a table in postgre, with geom type geometry, with srid= 27700 set in the geometry_columns table. i have to calculate total extent of all the records that

Re: [mapserver-users] Using SLD and WMS with data comming from postgres

2008-05-30 Thread Barend Kobben
Did you check the SLD TMP file problem (from the thread Re: SLD ignored / External Graphic ignored) see excerpt below)? ***snip*** Using SLDs is dependent on the correct setting of the two settings IMAGEPATH -- where the mapserver software puts the SLD and other temporary files IMAGEURL --

Re: [mapserver-users] Using SLD and WMS with data comming from postgres

2008-05-30 Thread Adrien Ducos
Ok I found the error, it was on the sld itself: apparently mapserver can't handle in the same rule a point symbolizer and a polygon symbolizer. So I have to make 2 sld layers: one for my points and one for my polygons. It is a pity since openlayers could handle this without any problem. (there

Re: [mapserver-users] Using SLD and WMS with data comming from postgres

2008-05-30 Thread Yewondwossen Assefa
Adrien You should be able to use the sld with filter. Looking at your sld, you should end up with several classes where the expressions in each class should be set to something like EXPRESSION ([color] = 1), EXPRESSION ([color] = 2). Would these expressions be valid in your case (with your

Re: [mapserver-users] Using SLD and WMS with data comming from postgres

2008-05-30 Thread Yewondwossen Assefa
Adrien Ducos wrote: Ok I found the error, it was on the sld itself: apparently mapserver can't handle in the same rule a point symbolizer and a polygon symbolizer. So I have to make 2 sld layers: one for my points and one for my polygons. It is a pity since openlayers could handle this without

Re: [mapserver-users] Using SLD and WMS with data comming from postgres

2008-05-30 Thread Adrien Ducos
Thanks to all it now works very nicely. Adrien On Fri, May 30, 2008 at 3:36 PM, Yewondwossen Assefa [EMAIL PROTECTED] wrote: Adrien Ducos wrote: Ok I found the error, it was on the sld itself: apparently mapserver can't handle in the same rule a point symbolizer and a polygon symbolizer. So

[mapserver-users] php/mapscript installation on fedora 7

2008-05-30 Thread Ningchuan Xiao
Dear all, I am having trouble to get php/mapscript work on fedora 7 and I would appreciate any input on this. I compiled Mapserver 5 successfully and the php_mapscript.so file seems to be built fine (without any compiler error messages). I copied the php_mapscript.so file to the

Re: [MAPSERVER-USERS] Displaying points labels

2008-05-30 Thread fastturtle
Hi! I am also trying to displaying points. My points are also on a MySql database table and I use OGR to display them on a map. I am able to map the points and see the points in my web browser. But I really need to color code the points by an attibute from one of the Mysql fields. How can I

[MAPSERVER-USERS] Using OGR to plot x,y data from MySQL with Attribute Data

2008-05-30 Thread fastturtle
Hi! I am new user to MapServer and I think I have a simple task. I have a MySQL table called data1 with x,y (Lat, Long) data stored in two fields and attribute data stored in another field called SPECIFIC. The SPECIFIC field has three values that can be an option for a point (bad, good,